/* 
 * Dermocean Professional Skincare Website
 * Main Stylesheet
 */

:root {
    /* Color Palette - Dermocean */
    --primary: #8F7080;
    /* Pantone 5215C */
    --primary-light: #B89EA8;
    --primary-dark: #6A5260;
    --cream: #F8F5F2;
    --white: #FFFFFF;
    --dark: #2A2A2A;
    --text: #3A3A3A;
    --text-light: #666666;
    --border: #E5E5E5;

    /* Shadows */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 60px rgba(143, 112, 128, 0.15);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    overflow-x: hidden;
    /* Critical Mobile Fix */
    max-width: 100vw;
    font-family: 'Lato', 'Tajawal', sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Body padding is set dynamically by JS based on header height */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', 'Almarai', serif;
    color: var(--dark);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Typography Utilities */
.text-primary {
    color: var(--primary);
}

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

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

/* Loading Overlay */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

body.loaded #page-loader {
    opacity: 0;
    visibility: hidden;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

*[dir="rtl"] .toast-container {
    right: auto;
    left: 20px;
}

.toast {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
    min-width: 250px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

*[dir="rtl"] .toast {
    border-left: none;
    border-right: 4px solid var(--primary-color);
    animation: slideInRTL 0.3s ease;
}

@keyframes slideInRTL {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown>a {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-dropdown>a i {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.nav-dropdown:hover>a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-menu li a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: var(--dark);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.dropdown-menu li a:hover {
    background: var(--cream);
    color: var(--primary);
    padding-left: 1.5rem;
}

[dir="rtl"] .dropdown-menu li a:hover {
    padding-left: 1.25rem;
    padding-right: 1.5rem;
}

/* Mobile Submenu */
.mobile-submenu {
    width: 100%;
}

.submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.submenu-toggle i {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.mobile-submenu.active .submenu-toggle i {
    transform: rotate(180deg);
}

.submenu-items {
    display: none;
    padding-left: 1rem;
    background: rgba(143, 112, 128, 0.05);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.mobile-submenu.active .submenu-items {
    display: block;
}

.submenu-items a {
    font-size: 0.9rem;
    padding: 0.6rem 1rem !important;
}

[dir="rtl"] .submenu-items {
    padding-left: 0;
    padding-right: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(143, 112, 128, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(143, 112, 128, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* 
 * HEADER & NAVIGATION 
 */

/* Top bar scrolls normally */
.site-header-wrapper {
    position: relative;
    z-index: 1000;
}

/* Header starts in normal flow */
header {
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

/* Header becomes fixed when scrolled past top-bar */
header.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
}

.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lang-selector {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Horizontal scroll on very small screens */
@media (max-width: 400px) {
    .lang-selector {
        gap: 0.5rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
    }

    .lang-selector::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Chrome/Safari */
    }

    .lang-selector a {
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
        flex-shrink: 0;
        /* Prevent shrinking */
    }

    .lang-selector a span {
        font-size: 1rem;
    }
}

nav {
    padding: 1rem 0;
}

.lang-selector a {
    opacity: 0.8;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.lang-selector a span {
    font-size: 1.2rem;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* RTL: Move menu toggle to right side */
[dir="rtl"] .menu-toggle {
    order: -1;
}

[dir="rtl"] .logo {
    order: 1;
}

/* 
 * HERO SECTION 
 */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--cream) 0%, #E8E0E5 100%);
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text h1 span {
    color: var(--primary);
    display: block;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* Before/After Slider */
.comparison-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    aspect-ratio: 4/3;
    /* Better ratio for larger display */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    margin: 0 auto;
}

.comparison-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-comp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    /* Initial state */
    height: 100%;
    overflow: hidden;
    border-right: 3px solid var(--white);
    z-index: 2;
}

.img-comp-overlay img {
    /* Critical: The overlay image must be same size as container to crop correctly */
    height: 100%;
    width: auto;
    /* Will be set by JS via container width */
    max-width: none;
}

.comparison-slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    z-index: 10;
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.comparison-slider-handle::before {
    content: '↔';
    color: var(--primary);
    font-weight: bold;
}

/* 
 * PRODUCTS SECTION 
 */
.products-section {
    padding: 6rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

/* Product Card - Lumiere Style */
.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--border);
    position: relative;
}

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

.product-image {
    height: 300px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.product-image img {
    max-height: 100%;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(143, 112, 128, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.details-btn {
    padding: 0.8rem 2rem;
    background: var(--white);
    color: var(--primary);
    border-radius: 30px;
    font-weight: 700;
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-category {
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

/* 
 * B2B REGISTRATION 
 */
.registration-section {
    padding: 6rem 0;
    background: var(--cream);
}

.registration-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: var(--primary);
    outline: none;
}

.registration-note {
    background: rgba(143, 112, 128, 0.1);
    color: var(--primary-dark);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 
 * FOOTER 
 */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #AAA;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
    /* LTR */
}

/* RTL Support for Arabic */
[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

.payment-methods {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #AAA;
    font-size: 0.9rem;
}

.payment-method .icon {
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

/* 
 * RESPONSIVE 
 */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        /* LTR default */
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 5rem 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }

    /* RTL */
    [dir="rtl"] .nav-links {
        right: auto;
        left: -100%;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    [dir="rtl"] .nav-links.active {
        left: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .comparison-container {
        max-width: 100%;
    }
}

/* 
 * PROTOCOLS SECTION 
 */
.protocols-section {
    padding: 6rem 0;
    background: var(--cream);
}

.protocols-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.protocol-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
}

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

.protocol-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.protocol-icon i {
    font-size: 2rem;
    color: var(--white);
}

.protocol-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.protocol-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.protocol-level {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--primary-light);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pdf-section {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.pdf-section h3 {
    margin-bottom: 1.5rem;
}

.pdf-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pdf-actions .btn i {
    margin-right: 0.5rem;
}

/* 
 * WHATSAPP WIDGET 
 */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.8);
    }
}

[dir="rtl"] .whatsapp-widget {
    right: auto;
    left: 30px;
}

/* 
 * MOBILE SIDEBAR 
 */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
}

.mobile-overlay.active {
    display: block;
}

.mobile-menu-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

[dir="rtl"] .mobile-menu-sidebar {
    right: -100%;
    left: auto;
    transition: right 0.3s ease;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu-sidebar.active {
    right: 0;
}

[dir="rtl"] .mobile-menu-sidebar.active {
    right: 0;
    left: auto;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

.mobile-menu-items {
    flex: 1;
    padding: 1rem 0;
}

.mobile-menu-items a {
    display: block;
    padding: 1rem 1.5rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    color: var(--dark);
}

.mobile-menu-items a:hover {
    background: var(--cream);
    color: var(--primary);
}

.mobile-lang-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border);
}

.mobile-lang-selector a {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-weight: 600;
}

.mobile-lang-selector a:hover,
.mobile-lang-selector a.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Nav as container with flex */
nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-links li {
    display: flex;
    align-items: center;
}

/* Active link style */
.nav-links a.active {
    color: var(--primary);
}

/* Text utilities */
.text-light {
    color: var(--text-light);
}

.mt-2 {
    margin-top: 1rem;
}

/* 
 * PROTOCOL MODAL 
 */
.protocol-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.protocol-modal.active {
    display: flex;
}

.protocol-modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--cream);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--dark);
    z-index: 10;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
}

[dir="rtl"] .modal-close {
    right: auto;
    left: 1rem;
}

.protocol-modal-body {
    padding: 3rem;
}

.protocol-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.protocol-modal-header .protocol-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.protocol-modal-header .protocol-icon i {
    font-size: 2.5rem;
}

.protocol-details {
    margin-top: 2rem;
}

.protocol-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.3rem;
    color: var(--dark);
}

.step-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Card CTA */
.card-cta {
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.protocol-card:hover .card-cta {
    opacity: 1;
    transform: translateY(0);
}

.protocol-card {
    cursor: pointer;
}

/* PDF Embed Section */
.pdf-embed-section {
    margin-top: 3rem;
    text-align: center;
}

.pdf-embed-section h3 {
    margin-bottom: 1.5rem;
}

.pdf-viewer {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-bottom: 1.5rem;
}

.pdf-viewer iframe {
    display: block;
}

@media (max-width: 768px) {
    .pdf-viewer iframe {
        height: 400px;
    }

    .protocol-modal-content {
        margin: 1rem;
    }

    .protocol-step {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ===========================================
   NEW: Case Tabs for 5-Case Slider
   =========================================== */

.case-tabs-container {
    margin-bottom: 2rem;
}

.case-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.case-tab {
    background: var(--cream);
    border: 2px solid transparent;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.85rem;
    font-family: inherit;
}

.case-tab:hover {
    border-color: var(--primary);
    background: var(--white);
}

.case-tab.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Language Toggle for Tab Labels */
.case-tab .tab-en {
    display: inline;
}

.case-tab .tab-ar {
    display: none;
}

[dir="rtl"] .case-tab .tab-en {
    display: none;
}

[dir="rtl"] .case-tab .tab-ar {
    display: inline;
}

@media (max-width: 768px) {
    .case-tabs {
        gap: 0.3rem;
    }

    .case-tab {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }
}

/* ===========================================
   NEW: ElMessiri Font for Arabic
   =========================================== */

@font-face {
    font-family: 'ElMessiri';
    src: url('../fonts/ELMESSIRI-REGULAR.TTF') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'ElMessiri';
    src: url('../fonts/ELMESSIRI-MEDIUM.TTF') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'ElMessiri';
    src: url('../fonts/ELMESSIRI-SEMIBOLD.TTF') format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: 'ElMessiri';
    src: url('../fonts/ELMESSIRI-BOLD.TTF') format('truetype');
    font-weight: 700;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4 {
    font-family: 'ElMessiri', 'Almarai', sans-serif;
}

/* ===========================================
   NEW: Lumiere Product Cards
   =========================================== */

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.product-image-wrap {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: var(--cream);
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrap img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.product-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* ===========================================
   NEW: About Page Styles
   =========================================== */

.about-hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

.about-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-hero-content h1 span {
    color: var(--primary);
}

.about-hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.about-story {
    padding: 5rem 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

.story-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.about-ingredients {
    padding: 5rem 0;
    background: var(--cream);
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.ingredient-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.ingredient-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.ingredient-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.ingredient-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.ingredient-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.ingredients-image img {
    border-radius: 20px;
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

.about-certifications {
    padding: 5rem 0;
}

.certifications-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.certifications-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.certifications-list {
    list-style: none;
    margin-top: 2rem;
}

.certifications-list li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.certifications-list i {
    color: var(--primary);
    font-size: 1.3rem;
}

.about-cta {
    padding: 5rem 0;
    background: var(--primary);
    text-align: center;
    color: var(--white);
}

.about-cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

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

.about-cta .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.about-cta .btn-primary:hover {
    background: var(--cream);
}

/* ===========================================
   NEW: How to Use Page Styles
   =========================================== */

.usage-hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

.usage-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.usage-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.usage-hero-content h1 span {
    color: var(--primary);
}

.usage-hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.protocol-selection {
    padding: 4rem 0;
    background: var(--white);
}

.protocol-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.protocol-tab {
    background: var(--cream);
    border: 2px solid transparent;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 150px;
}

.protocol-tab i {
    font-size: 2rem;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.protocol-tab small {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.protocol-tab:hover,
.protocol-tab.active {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.usage-steps {
    padding: 5rem 0;
    background: var(--cream);
}

.steps-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 25px;
    top: 60px;
    width: 2px;
    height: calc(100% - 30px);
    background: var(--primary-light);
}

[dir="rtl"] .step-item:not(:last-child)::after {
    left: auto;
    right: 25px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    flex: 1;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.step-tip,
.step-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.8rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.step-tip {
    background: rgba(143, 112, 128, 0.1);
    color: var(--primary-dark);
}

.step-warning {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.usage-video-section {
    padding: 4rem 0;
    text-align: center;
}

.video-placeholder {
    padding: 3rem;
    background: var(--cream);
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.usage-precautions {
    padding: 5rem 0;
    background: var(--cream);
}

.precautions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.precaution-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.precaution-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.precaution-card.warning i {
    color: #f39c12;
}

.precaution-card.info i {
    color: var(--primary);
}

.precaution-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.precaution-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===========================================
   NEW: Articles Page Styles
   =========================================== */

.articles-hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    text-align: center;
}

.articles-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.articles-hero h1 span {
    color: var(--primary);
}

.articles-hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.articles-section {
    padding: 5rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

[dir="rtl"] .article-category {
    left: auto;
    right: 1rem;
}

.article-content {
    padding: 1.5rem;
}

.article-date {
    font-size: 0.85rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 0.5rem;
}

.article-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.article-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.article-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.article-link:hover {
    gap: 1rem;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--cream);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

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

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===========================================
   Mobile PDF Hide
   =========================================== */

@media (max-width: 768px) {
    .pdf-viewer {
        display: none;
    }

    .pdf-embed-section .pdf-actions {
        margin-top: 1rem;
    }

    /* Responsive Grids */
    .about-hero .container,
    .story-content,
    .certifications-content,
    .usage-hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ingredients-grid,
    .precautions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===========================================
   NEW: Contact Form Styles
   =========================================== */

.contact-section {
    padding: 5rem 0;
    background: var(--cream);
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

[dir="rtl"] .contact-form .form-group {
    text-align: right;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.contact-form .form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form .form-input:focus {
    outline: none;
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-wrapper {
        padding: 1.5rem;
    }
}

/* ===========================================
   NEW: Toggleable PDF Viewer Styles
   =========================================== */

.pdf-viewer-container {
    display: none;
    /* Hidden by default */
    margin-top: 2rem;
    animation: fadeIn 0.5s ease;
}

.pdf-viewer-container.active {
    display: block;
}

.pdf-frame-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    background: #000;
}

.pdf-frame-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-hero-content h1,
.usage-hero-content h1,
.articles-hero h1 {
    font-size: 2rem;
}

.step-item {
    flex-direction: column;
    gap: 1rem;
}

.step-item:not(:last-child)::after {
    display: none;
}

/* ===========================================
   NEW: Improved Protocol Modal Styles
   =========================================== */

.protocol-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.protocol-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.protocol-modal-content {
    background: var(--white);
    width: 90%;
    max-width: 550px;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    transition: all 0.3s;
}

.modal-close:hover {
    background: #ffeeee;
    color: #e74c3c;
    transform: rotate(90deg);
}

[dir="rtl"] .modal-close {
    right: auto;
    left: 1.5rem;
}

.modal-title-gradient {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.modal-title-gradient.gentle {
    background-image: linear-gradient(135deg, #1abc9c, #16a085);
}

.modal-title-gradient.moderate {
    background-image: linear-gradient(135deg, #3498db, #2980b9);
}

.modal-title-gradient.intensive {
    background-image: linear-gradient(135deg, #e74c3c, #c0392b);
}

.protocol-steps-grid {
    display: grid;
    gap: 1rem;
}

.protocol-step-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: var(--cream);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid transparent;
}

.protocol-step-item:hover {
    transform: translateY(-2px);
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: #eee;
}

[dir="rtl"] .protocol-step-item:hover {
    transform: translateY(-2px);
}

.step-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
}

.step-icon.gentle {
    background: linear-gradient(135deg, #1abc9c, #16a085);
}

.step-icon.moderate {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.step-icon.intensive {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.step-content {
    flex: 1;
}

.step-label {
    display: block;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.step-desc {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

/* PDF Viewer Container */
.pdf-embed-section {
    text-align: center;
    margin-top: 2rem;
}

.pdf-embed-section h3 {
    margin-bottom: 0.5rem;
}

.pdf-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.pdf-viewer-container {
    display: none;
    margin-top: 2rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    background: #1a1a1a;
}

.pdf-viewer-container.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.pdf-frame-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    /* 4:3 aspect ratio */
}

.pdf-frame-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .pdf-frame-wrapper {
        padding-bottom: 100%;
        /* taller on mobile */
    }
}

/* 
 * SKIN CONCERNS PREVIEW (Index Page)
 */
.skin-concerns-preview {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f5f2 0%, #f0ebe7 100%);
}

.concerns-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.concern-preview-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.concern-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(143, 112, 128, 0.15);
    border-color: var(--primary);
}

.concern-preview-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s;
}

.concern-preview-card:hover .concern-preview-icon {
    transform: scale(1.1) rotate(5deg);
}

.concern-preview-icon i {
    font-size: 2rem;
    color: var(--white);
}

.concern-preview-card h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin: 0;
}

.mt-3 {
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .concerns-preview-grid {
        gap: 1.5rem;
    }

    .concern-preview-card {
        padding: 2rem 1.5rem;
    }
}

/* === Hero Visuals Wrapper (Fix for layout gap) === */
.hero-visuals {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

/* === RTL Slider Fix (border flip) === */
[dir="rtl"] .img-comp-overlay {
    border-right: none;
    border-left: 3px solid var(--white);
}