/* ===================================
   NetReXon Website - Custom Styles
   Primary Colors:
   - Orange: #fc9922
   - Navy: #1C5083
   =================================== */

/* ===== ROOT VARIABLES ===== */
:root {
    --primary-orange: #fc9922;
    --primary-navy: #1C5083;
    --dark-navy: #13385f;
    --light-orange: #ffa940;
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--dark-navy) 100%);
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(28, 80, 131, 0.98);
    padding: 0.5rem 0;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.navbar-logo {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(252, 153, 34, 0.5));
}


.logo-text {
    display: inline-flex;
}

.logo-net {
    color: var(--primary-orange);
}

.logo-rexon {
    color: var(--white);
}

/* RTL - Reverse logo for Arabic */
[dir="rtl"] .logo-text {
    flex-direction: row-reverse;
}


.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: var(--transition);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 70%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-orange) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.dropdown-item:hover {
    background: var(--primary-orange);
    color: var(--white);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0;
    animation: videoFadeIn 1.5s ease-in forwards;
}

@keyframes videoFadeIn {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(28, 80, 131, 0.4) 0%, 
        rgba(19, 56, 95, 0.4) 50%,
        rgba(252, 153, 34, 0.3) 100%
    );
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-hero {
    background: var(--primary-orange);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid var(--primary-orange);
    border-radius: 50px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero:hover {
    background: transparent;
    color: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(252, 153, 34, 0.4);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.title-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-navy));
    margin: 1rem auto;
    border-radius: 2px;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-orange);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
}

.product-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-buttons {
    display: flex;
    gap: 0.8rem;
}

/* ===== PRODUCT FILTER ===== */
.product-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-filter {
    padding: 0.6rem 1.5rem;
    background: var(--white);
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-filter:hover {
    background: var(--primary-navy);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-filter.active {
    background: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange);
}

.product-card[data-type] {
    transition: var(--transition);
}

.product-card.hidden {
    display: none;
}

/* ===== PRODUCT DETAILS MODAL ===== */
#productDetailsModal .modal-body img {
    border: 3px solid var(--bg-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#productDetailsModal .modal-title {
    color: var(--primary-navy);
    font-weight: 700;
}

#productDetailsModal h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

#productDetailsModal .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.btn-view {
    flex: 1;
    padding: 0.7rem 1rem;
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-view:hover {
    background: var(--primary-navy);
    color: var(--white);
}

.btn-order {
    flex: 1;
    padding: 0.7rem 1rem;
    background: var(--primary-orange);
    color: var(--white);
    border: 2px solid var(--primary-orange);
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-order:hover {
    background: var(--light-orange);
    border-color: var(--light-orange);
    transform: scale(1.05);
}

/* ===== DOWNLOADS SECTION ===== */
.downloads-section {
    padding: 5rem 0;
    background: var(--white);
}

.downloads-page {
    padding-top: 8rem !important;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(252, 153, 34, 0.3);
}

.back-button:hover {
    background: var(--primary-navy);
    color: var(--white);
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(28, 80, 131, 0.4);
}

.back-button i {
    font-size: 1.2rem;
}

.downloads-container {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.downloads-table {
    width: 100% !important;
    table-layout: fixed;
}

.downloads-table {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    margin: 0;
    width: 100%;
    table-layout: fixed;
}

.downloads-table thead {
    background: linear-gradient(135deg, var(--primary-navy), var(--dark-navy));
    color: var(--white);
}

.downloads-table thead th {
    padding: 1.2rem;
    font-weight: 600;
    border: none;
    text-align: left;
}

.downloads-table thead th:last-child {
    text-align: center;
    width: 180px;
    min-width: 150px;
}

.downloads-table thead th:first-child {
    width: calc(100% - 180px);
}

.downloads-table tbody tr {
    transition: var(--transition);
}

.downloads-table tbody tr:hover {
    background: #f0f0f0;
    transform: scale(1.01);
}

.downloads-table tbody td {
    padding: 1.2rem;
    vertical-align: middle;
}

.downloads-table tbody td:last-child {
    text-align: center;
}

/* Force download button visibility on all screen sizes */
@media (max-width: 991px) {
    .downloads-table thead th:nth-child(2),
    .downloads-table tbody td:nth-child(2) {
        display: table-cell !important;
        width: 120px;
        min-width: 120px;
        text-align: center;
    }
    
    .downloads-table {
        min-width: 100%;
    }
}

.btn-download {
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-download:hover {
    background: var(--primary-navy);
    transform: translateX(5px);
}

/* Download clickable elements */
.downloads-table tbody td:first-child i,
.downloads-table tbody td:first-child span {
    transition: var(--transition);
}

.downloads-table tbody td:first-child i:hover {
    transform: scale(1.2);
    color: var(--primary-orange) !important;
}

.downloads-table tbody td:first-child span:hover {
    color: var(--primary-orange);
    font-weight: 600;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.about-content {
    padding-right: 2rem;
}

.about-text {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.feature-item i {
    color: var(--primary-orange);
    font-size: 1.5rem;
    margin-right: 1rem;
}

.about-stats {
    margin-top: 3rem;
}

.stat-box {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(252, 153, 34, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(28, 80, 131, 0.9), transparent);
    padding: 2rem;
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.about-image:hover .image-overlay {
    transform: translateY(0);
}

.overlay-content {
    text-align: center;
}

.overlay-content i {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.overlay-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    margin: 0;
    opacity: 0.9;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--white);
    padding: 5rem 0;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-navy), var(--dark-navy));
    color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    height: 100%;
}

.contact-info h3 {
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--primary-orange);
    margin-right: 1.5rem;
    margin-top: 0.2rem;
}

.contact-item h5 {
    color: var(--primary-orange);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin: 0;
    opacity: 0.9;
}

.social-links h5 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-orange);
    transform: translateY(-5px);
}

.contact-form-container {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 15px;
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #e0e0e0;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 0.2rem rgba(252, 153, 34, 0.25);
}

.btn-submit {
    background: var(--primary-orange);
    color: var(--white);
    padding: 1rem 2.5rem;
    border: 2px solid var(--primary-orange);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(28, 80, 131, 0.3);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--dark-navy) 100%);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-title {
    color: var(--primary-orange);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-text {
    opacity: 0.9;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.footer-links i {
    margin-right: 0.5rem;
    color: var(--primary-orange);
}

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    margin: 0;
    opacity: 0.8;
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--primary-navy);
    transform: translateY(-5px);
}

/* ===== NOTIFICATION STYLES ===== */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification-toast {
    animation: slideInRight 0.3s ease;
}

/* Download item clickable styles */
.download-item {
    transition: all 0.3s ease;
    border-radius: 10px;
    padding: 10px;
}

.download-item:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.download-item:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
    
    .footer-social {
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

/* Mobile (up to 767px) */
@media (max-width: 767px) {
    .hero-section {
        height: 70vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-hero {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .navbar-logo {
        height: 35px;
    }
    
    .nav-link {
        margin: 0.3rem 0;
    }
    
    .product-buttons {
        flex-direction: column;
    }
    
    .btn-view,
    .btn-order {
        width: 100%;
    }
    
    .downloads-table {
        font-size: 0.9rem;
    }
    
    .downloads-table thead th,
    .downloads-table tbody td {
        padding: 0.8rem 0.5rem;
    }
    
    /* Ensure download button is visible on mobile */
    .downloads-table thead th:nth-child(2),
    .downloads-table tbody td:nth-child(2) {
        display: table-cell !important;
        width: 120px;
        text-align: center;
    }
    
    .stat-box {
        margin-bottom: 1rem;
    }
    
    .contact-info,
    .contact-form-container {
        padding: 2rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Extra Small Devices (up to 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .product-title {
        font-size: 1.2rem;
    }
    
    /* Ensure download button is visible on extra small screens */
    .downloads-table thead th:nth-child(2),
    .downloads-table tbody td:nth-child(2) {
        display: table-cell !important;
        width: 100px;
        text-align: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== UTILITY CLASSES ===== */
.text-orange {
    color: var(--primary-orange);
}

.text-navy {
    color: var(--primary-navy);
}

.bg-orange {
    background-color: var(--primary-orange);
}

.bg-navy {
    background-color: var(--primary-navy);
}

/* ===== SMOOTH SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-navy);
}

/* ===== RTL SUPPORT FOR ARABIC ===== */
[dir="rtl"] body {
    text-align: right;
}

[dir="rtl"] .navbar-nav {
    margin-left: 0 !important;
    margin-right: auto !important;
}

[dir="rtl"] .dropdown-menu-end {
    right: auto !important;
    left: 0 !important;
}

[dir="rtl"] .nav-link {
    margin: 0 0.5rem;
}

[dir="rtl"] .hero-content {
    text-align: center;
}

[dir="rtl"] .product-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .contact-item i {
    margin-right: 0;
    margin-left: 1.5rem;
}

[dir="rtl"] .feature-item i {
    margin-right: 0;
    margin-left: 1rem;
}

[dir="rtl"] .footer-social {
    justify-content: flex-start;
}

[dir="rtl"] .social-icons {
    flex-direction: row-reverse;
}

[dir="rtl"] .title-divider {
    margin: 1rem auto;
}

[dir="rtl"] .back-button {
    transform: scaleX(-1);
}

[dir="rtl"] .back-button i {
    transform: scaleX(-1);
}

[dir="rtl"] .downloads-table thead th {
    text-align: right;
}

[dir="rtl"] .downloads-table thead th:last-child {
    text-align: center;
}

[dir="rtl"] .downloads-table tbody td {
    text-align: right;
}

[dir="rtl"] .downloads-table tbody td:last-child {
    text-align: center;
}

[dir="rtl"] .notification-toast {
    right: auto;
    left: 20px;
}

[dir="rtl"] .animate__fadeInRight {
    animation-name: fadeInLeft;
}

[dir="rtl"] .animate__fadeOutRight {
    animation-name: fadeOutLeft;
}

/* RTL specific animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-30px);
    }
}
