/* ============================================
   外贸商城 - Frontend Styles
   B2B Foreign Trade Inquiry Website
   ============================================ */

:root {
    --primary: #0d47a1;
    --primary-dark: #082e6a;
    --primary-light: #1565c0;
    --secondary: #ff6f00;
    --secondary-light: #ff8f00;
    --dark: #1a1a2e;
    --whatsapp: #25d366;
    --body-bg: #f8f9fa;
    --border-color: #e9ecef;
    --text-muted: #6c757d;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--body-bg);
    color: #333;
}

/* ========================
   Top Bar
   ======================== */
.top-bar {
    background: var(--dark);
    color: #fff;
    padding: 8px 0;
    font-size: 0.85rem;
}

/* RTL (Arabic) global fixes */
[dir="rtl"] .dropdown-menu {
    text-align: right;
}

[dir="rtl"] .dropdown-menu-start {
    --bs-position: start;
    right: auto !important;
    left: 0 !important;
}

[dir="rtl"] .ms-3 {
    margin-left: 0 !important;
    margin-right: 1rem !important;
}

[dir="rtl"] .top-bar .top-contact i,
[dir="rtl"] .top-bar .dropdown-menu .dropdown-item img {
    margin-right: 0;
    margin-left: 6px;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
}

.top-bar a:hover {
    color: var(--secondary);
}

.top-bar .top-contact span {
    opacity: 0.9;
}

.top-bar .top-contact i {
    color: var(--secondary);
    margin-right: 4px;
}

.top-bar .dropdown-menu {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 160px;
    z-index: 2000;
}

.top-bar .dropdown-menu .dropdown-item {
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 16px;
    transition: background 0.2s;
}

.top-bar .dropdown-menu .dropdown-item:hover,
.top-bar .dropdown-menu .dropdown-item.active {
    background: rgba(255, 255, 255, 0.12);
    color: var(--secondary);
}

/* ========================
   Main Navbar
   ======================== */
.main-navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    z-index: 1030;
}

.main-navbar .navbar-brand {
    font-size: 1.4rem;
    color: var(--primary);
    text-decoration: none;
}

.main-navbar .navbar-brand:hover {
    color: var(--primary-dark);
}

.main-navbar .navbar-brand i {
    color: var(--secondary);
}

.main-navbar .nav-link {
    color: #333;
    font-weight: 500;
    padding: 8px 16px !important;
    transition: color 0.3s;
    position: relative;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--primary);
}

.main-navbar .nav-link:not(.btn-inquiry-nav)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.main-navbar .nav-link:not(.btn-inquiry-nav):hover::after {
    transform: scaleX(1);
}

.btn-inquiry-nav {
    background: var(--secondary) !important;
    color: #fff !important;
    border-radius: 25px !important;
    padding: 8px 20px !important;
    margin-left: 10px;
    transition: all 0.3s !important;
}

.btn-inquiry-nav:hover {
    background: var(--secondary-light) !important;
    transform: translateY(-1px);
}

/* ========================
   Hero / Banner Carousel
   ======================== */
.hero-carousel .carousel-item {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-carousel .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.82) 0%, rgba(26, 26, 46, 0.65) 100%);
    z-index: 1;
}

.hero-carousel .banner-content {
    text-align: left;
    max-width: 600px;
    padding: 0;
    color: #fff;
}

.hero-carousel .banner-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-carousel .banner-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
}

.hero-carousel .carousel-caption h2 {
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-carousel .carousel-caption p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 20px;
    opacity: 0.8;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

/* ========================
   Section Styles
   ======================== */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.section-title h2.text-white {
    color: #fff;
}

.section-title p {
    color: #666;
    margin-top: 15px;
    font-size: 1.05rem;
}

/* ========================
   Product Cards
   ======================== */
.product-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    background: #fff;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

.product-card .card-body {
    padding: 20px;
}

.product-card .card-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 1rem;
}

.product-card .card-title a {
    color: var(--dark);
    text-decoration: none;
}

.product-card .card-title a:hover {
    color: var(--primary);
}

.product-card .card-text {
    color: #666;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.product-card .badge {
    font-weight: 500;
    font-size: 0.75rem;
}

.product-card .btn-inquiry {
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 6px 20px;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.product-card .btn-inquiry:hover {
    background: var(--secondary-light);
    transform: translateY(-1px);
}

.product-card .overflow-hidden {
    overflow: hidden;
}

/* ========================
   Advantages Section
   ======================== */
.advantages-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 80px 0;
}

.advantage-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    transition: background 0.3s;
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.advantage-card .advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.advantage-card:hover .advantage-icon {
    background: rgba(255, 255, 255, 0.25);
}

.advantage-card .advantage-icon img {
    width: 36px;
    height: 36px;
    filter: brightness(0) invert(1);
}

.advantage-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.advantage-card p {
    opacity: 0.85;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========================
   About Section
   ======================== */
.about-image-wrapper {
    position: relative;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--primary);
    border-radius: 12px;
    z-index: -1;
    opacity: 0.3;
}

.about-content {
    font-size: 1.05rem;
    color: #555;
}

.about-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ========================
   Partners
   ======================== */
.partner-logo {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
    border-radius: 8px;
    background: #fff;
}

.partner-logo:hover {
    filter: none;
    opacity: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    max-height: 60px;
    max-width: 100%;
}

/* ========================
   CTA Section
   ======================== */
.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #e65100 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto;
}

.cta-section .btn {
    border-radius: 25px;
    padding: 12px 35px;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-section .btn:hover {
    transform: translateY(-2px);
}

/* ========================
   Footer
   ======================== */
.site-footer {
    background: var(--dark);
    color: #fff;
    padding: 60px 0 0;
}

.site-footer h5,
.site-footer h6 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.social-links a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    margin-right: 8px;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 1rem;
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ========================
   WhatsApp Float
   ======================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s;
    text-decoration: none;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

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

/* ========================
   Breadcrumb
   ======================== */
.page-breadcrumb {
    background: #f0f2f5;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-breadcrumb .breadcrumb {
    font-size: 0.9rem;
}

.page-breadcrumb .breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.page-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ========================
   Product Detail
   ======================== */
.product-main-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.product-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.product-thumbs img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s, opacity 0.3s;
    opacity: 0.7;
}

.product-thumbs img:hover,
.product-thumbs img.active {
    border-color: var(--primary);
    opacity: 1;
}

.product-info h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

.product-specs table {
    width: 100%;
    border-collapse: collapse;
}

.product-specs th {
    background: #f8f9fa;
    padding: 10px 15px;
    width: 40%;
    font-weight: 600;
    font-size: 0.9rem;
    color: #555;
    border: 1px solid var(--border-color);
}

.product-specs td {
    padding: 10px 15px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

.product-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.product-description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    background: #22c55e;
    color: #fff;
    transform: translateY(-1px);
}

/* ========================
   Page Hero
   ======================== */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.page-hero .breadcrumb {
    position: relative;
    z-index: 1;
}

.page-hero .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ========================
   Category Sidebar
   ======================== */
.category-sidebar .list-group-item {
    border: none;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.category-sidebar .list-group-item:first-child {
    border-radius: 8px 8px 0 0;
}

.category-sidebar .list-group-item:last-child {
    border-radius: 0 0 8px 8px;
    border-bottom: none;
}

.category-sidebar .list-group-item:hover,
.category-sidebar .list-group-item.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.category-sidebar .list-group-item.active .badge,
.category-sidebar .list-group-item:hover .badge {
    background: rgba(255, 255, 255, 0.25) !important;
}

/* ========================
   Inquiry Form
   ======================== */
.inquiry-form .form-control,
.inquiry-form .form-select {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.inquiry-form .form-control:focus,
.inquiry-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

.inquiry-form .btn-submit {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.inquiry-form .btn-submit:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3);
    color: #fff;
}

/* ========================
   Contact Cards
   ======================== */
.contact-card {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.contact-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-card h6 {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

/* ========================
   Inquiry Success
   ======================== */
.success-checkmark {
    animation: checkmark-bounce 0.6s ease-out;
}

@keyframes checkmark-bounce {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* ========================
   General Utilities
   ======================== */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-warning {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

.btn-warning:hover {
    background: var(--secondary-light);
    border-color: var(--secondary-light);
    color: #fff;
}

.text-primary {
    color: var(--primary) !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Card hover effect */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
}

/* ========================
   Responsive
   ======================== */
@media (max-width: 991.98px) {
    .hero-carousel .carousel-caption {
        text-align: center;
        left: 15%;
        right: 15%;
        max-width: none;
    }

    .main-navbar .navbar-nav {
        padding-top: 15px;
    }

    .btn-inquiry-nav {
        margin-left: 0 !important;
        margin-top: 10px;
        display: inline-block;
    }
}

@media (max-width: 768px) {
    .hero-carousel .carousel-item {
        height: 350px;
    }

    .hero-carousel .carousel-caption h2 {
        font-size: 1.8rem;
    }

    .hero-carousel .carousel-caption p {
        font-size: 1rem;
    }

    .top-bar .top-contact {
        display: none;
    }

    .top-bar .top-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section {
        padding: 50px 0;
    }

    .advantages-section {
        padding: 50px 0;
    }

    .product-info h1 {
        font-size: 1.4rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-carousel .carousel-item {
        height: 280px;
    }

    .hero-carousel .carousel-caption h2 {
        font-size: 1.4rem;
    }

    .hero-carousel .carousel-caption {
        left: 10%;
        right: 10%;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        display: none;
    }
}

/* ========================
   Scroll To Top Button
   ======================== */
#scrollTopBtn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3);
    z-index: 998;
    cursor: pointer;
    transition: all 0.3s;
}

#scrollTopBtn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.5);
}

/* ========================
   Stats / Counter Section
   ======================== */
.stats-section {
    background: #fff;
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item .stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    display: block;
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-item .stat-icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 10px;
    display: block;
}

/* ========================
   Featured Badge on cards
   ======================== */
.product-card .featured-ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--secondary);
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    z-index: 2;
}

.product-card {
    position: relative;
}

/* ========================
   Page Show (Generic)
   ======================== */
.page-content {
    font-size: 1rem;
    line-height: 1.9;
    color: #555;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5 {
    color: var(--dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-content a {
    color: var(--primary);
}

.page-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 10px 20px;
    background: #f0f4ff;
    border-radius: 0 8px 8px 0;
    color: #555;
}

/* ========================
   RTL Support (Arabic)
   ======================== */
[dir="rtl"] .hero-carousel .carousel-caption {
    text-align: right;
    left: auto;
    right: 0;
}

[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

[dir="rtl"] .footer-contact li {
    flex-direction: row-reverse;
}

[dir="rtl"] .ms-3 {
    margin-left: 0 !important;
    margin-right: 1rem !important;
}

[dir="rtl"] .me-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

[dir="rtl"] .social-links a {
    margin-right: 0;
    margin-left: 8px;
}

[dir="rtl"] #scrollTopBtn {
    right: auto;
    left: 30px;
}

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