/*
Theme Name: Services Pioneers Theme
Theme URI: https://servicespioneers.com
Author: Rowad Services
Author URI: https://servicespioneers.com
Description: Custom minimalist theme for Rowad Services for Certified Translation. Supports RTL/LTR, video hero, and portfolio carousel.
Version: 1.1.0
Text Domain: services-pioneers
Tags: translation, business, rtl-support, custom-theme
*/

/* Reset & Base Styles */
:root {
    /* Premium Color Palette */
    --primary-color: #0f3d14;
    /* Deeper Green */
    --primary-light: #1B5E20;
    --secondary-color: #2E7D32;
    --accent-color: #4CAF50;
    --gold-color: #C5A028;
    /* Refined Gold */
    --gold-light: #E6C65B;
    --text-color: #1a1a1a;
    --text-secondary: #555555;
    --bg-light: #F9F9F9;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);

    --font-arabic: 'Tajawal', sans-serif;
    --font-english: 'Roboto', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

    /* New Premium Tokens */
    --glass-card: rgba(255, 255, 255, 0.12);
    --glass-stroke: rgba(255, 255, 255, 0.2);
    --gold-glow: rgba(197, 160, 40, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shine {
    from {
        left: -100%;
    }

    to {
        left: 200%;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-english);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

body.rtl {
    font-family: var(--font-arabic);
    direction: rtl;
    text-align: right;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.75rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    /* Pill shape for modern look */
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    gap: 10px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-color), var(--gold-light));
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.py-5 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
    background: var(--glass-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-stroke);
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
    /* Fallback */
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.site-branding img {
    height: 60px;
    width: auto;
    /* mix-blend-mode: multiply; Removed as we want clean logo */
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation a {
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-color);
    transition: var(--transition);
}

.main-navigation a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 10px;
    transition: var(--transition);
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.header-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--white);
}

.btn-whatsapp {
    background-color: #25D366;
}

.btn-phone {
    background-color: var(--primary-color);
}

.header-btn:hover {
    transform: scale(1.1);
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    min-height: 100vh;
    /* Changed from height to min-height */
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
    padding: 80px 0;
    /* Add padding to prevent cut-off on short screens */
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 0;
} */

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* .hero-logo {
    max-width: 150px;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    background-color: #FFFFFF;
    border-radius: 50%;
} */

.hero-title {
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: -15%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Why Choose Us */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.why-us-video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/9;
}

.why-us-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 2;
}

.control-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.control-btn:hover {
    background: var(--white);
    color: var(--primary-color);
}

.features-list {
    list-style: none;
    margin-top: 30px;
}

.features-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.features-list i {
    font-size: 1.5rem;
    color: var(--gold-color);
    background: rgba(197, 160, 40, 0.1);
    padding: 15px;
    border-radius: 12px;
}

/* Full Width Why Choose Us */
.services-section .container,
.why-us-section .container {
    max-width: 1280px;
}

.why-us-modern-section.full-width-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: var(--bg-light);
    /* Or any background color */
}

/* Slider Navigation Arrows - Farther Out */
.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    color: var(--primary-color);
    transition: var(--transition);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}

.swiper-button-next {
    right: -60px;
    /* Moved farther out */
}

.swiper-button-prev {
    left: -60px;
    /* Moved farther out */
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

@media (max-width: 1400px) {

    /* Bring arrows back in on smaller screens to avoid overflow */
    .swiper-button-next {
        right: 10px;
    }

    .swiper-button-prev {
        left: 10px;
    }
}

/* Full Width Container */
.container-fluid {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.px-5 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
}

/* Services Grid */
.services-page-section {
    background: radial-gradient(circle at top right, rgba(15, 61, 20, 0.05), transparent),
        radial-gradient(circle at bottom left, rgba(197, 160, 40, 0.05), transparent),
        #f8faf9;
}

.services-grid-layout {
    display: grid;
    /* Force 3 columns on large screens as requested */
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0;
}

@media (max-width: 1200px) {
    .services-grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid-layout {
        grid-template-columns: 1fr;
    }

    .px-5 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

.service-card-new {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.service-card-new::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 2px solid var(--gold-color);
    opacity: 0;
    transition: var(--transition);
    z-index: 5;
    /* Bring to front to cover image and content */
    pointer-events: none;
    box-shadow: inset 0 0 15px var(--gold-glow);
}

.service-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(12, 59, 34, 0.12);
}

.service-card-new:hover::after {
    opacity: 1;
}

.service-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card-new:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-content p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
    font-size: 1rem;
    text-align: justify;
}

.service-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.service-actions .btn {
    padding: 10px 15px;
    font-size: 0.9rem;
    border-radius: 12px;
}

/* Animations */
/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Services Page Sidebar Layout (Custom Grid since Bootstrap is missing) */
.services-page-section .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.services-page-section .col-lg-3,
.services-page-section .col-lg-9 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 992px) {
    .services-page-section .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .services-page-section .col-lg-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }
}

.services-sidebar .form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 0;
}

.services-sidebar .btn-block {
    width: 100%;
    display: block;
}

.services-sidebar .custom-checkbox {
    display: flex;
    /* Ensure alignment */
    align-items: center;
    gap: 10px;
}

.services-sidebar .custom-control-input {
    margin-top: 0;
}

.services-sidebar .custom-control-label {
    width: 100%;
    cursor: pointer;
}

/* Search Input Styling */
.services-sidebar .input-group {
    display: flex;
    align-items: stretch;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: var(--white);
    overflow: hidden;
}

.services-sidebar .input-group .form-control {
    border: none;
    border-radius: 0;
    flex: 1;
    margin-bottom: 0;
}

.services-sidebar .input-group-append {
    display: flex;
}

.services-sidebar .input-group-append .btn {
    border: none;
    background: transparent;
    color: var(--primary-color);
    border-radius: 0;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.services-sidebar .input-group-append .btn:hover {
    background: var(--bg-light);
    transform: none;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow-md);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, padding 0.4s ease;
        visibility: hidden;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .main-navigation.toggled {
        max-height: 500px;
        /* Adjust as needed */
        padding: 20px;
        visibility: visible;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .main-navigation ul {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .main-navigation li {
        width: 100%;
        text-align: center;
    }

    .main-navigation a {
        display: block;
        padding: 10px;
        font-size: 1.1rem;
    }

    .main-navigation a::after {
        display: none;
        /* Remove underline effect on mobile */
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Service Modal - Enhanced Premium Design */
.sp-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(12, 59, 34, 0.9));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.sp-modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.sp-modal-content {
    background: linear-gradient(145deg, #ffffff 0%, #f8faf9 100%);
    margin: auto;
    padding: 0;
    border-radius: 24px;
    width: 100%;
    max-width: 900px;
    position: relative;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    overflow: hidden;
    transform: scale(0.9) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sp-modal.show .sp-modal-content {
    transform: scale(1) translateY(0);
}

.sp-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.sp-modal-close:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(90deg) scale(1.1);
}

.sp-modal-body {
    display: flex;
    flex-direction: row;
    min-height: 400px;
}

.sp-modal-image-wrapper {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
}

.sp-modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sp-modal-content:hover .sp-modal-image {
    transform: scale(1.05);
}

.sp-modal-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(12, 59, 34, 0.8), transparent);
    pointer-events: none;
}

.sp-modal-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sp-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold-color), var(--gold-light));
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(197, 160, 40, 0.3);
}

.sp-modal-badge i {
    font-size: 0.9rem;
}

.sp-modal-title {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    line-height: 1.3;
}

.sp-modal-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.sp-modal-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
}

.sp-modal-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    flex: 1;
    white-space: nowrap;
}

.sp-modal-actions .btn-details {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
}

.sp-modal-actions .btn-details:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(12, 59, 34, 0.35);
}

.sp-modal-actions .btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
}

.sp-modal-actions .btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.sp-modal-actions .btn-phone {
    background: linear-gradient(135deg, var(--gold-color), var(--gold-light));
    color: var(--white);
}

.sp-modal-actions .btn-phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 160, 40, 0.35);
}

/* RTL Adjustments for Modal */
[dir="rtl"] .sp-modal-close {
    right: auto;
    left: 16px;
}

[dir="rtl"] .sp-modal-actions .btn-details i {
    transform: rotate(180deg);
}

/* Modal Mobile Responsive */
@media (max-width: 768px) {
    .sp-modal {
        padding: 15px;
    }

    .sp-modal-content {
        border-radius: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .sp-modal-body {
        flex-direction: column;
        min-height: auto;
    }

    .sp-modal-image-wrapper {
        flex: none;
        height: 220px;
    }

    .sp-modal-info {
        padding: 28px;
    }

    .sp-modal-title {
        font-size: 1.4rem;
    }

    .sp-modal-desc {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .sp-modal-actions {
        flex-direction: column;
    }

    .sp-modal-actions .btn {
        width: 100%;
        padding: 14px 20px;
    }

    .sp-modal-actions .btn-details {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .sp-modal-info {
        padding: 20px;
    }

    .sp-modal-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .sp-modal-title {
        font-size: 1.2rem;
    }
}

/* Features Bar */
.features-bar-container {
    background-color: var(--primary-color);
    padding: 40px 0;
    margin-top: 60px;
    border-top: 4px solid var(--gold-color);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.features-bar-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.features-bar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    direction: rtl;
}

body.is-ltr .features-bar-grid {
    direction: ltr;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--gold-color);
}

.feature-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--gold-color);
    flex-shrink: 0;
}

.feature-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.feature-text {
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.5;
    max-width: 300px;
}

@media (max-width: 991px) {
    .features-bar-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .feature-item {
        flex-direction: row;
        text-align: right;
        justify-content: flex-start;
        padding: 20px;
    }

    body.is-ltr .feature-item {
        text-align: left;
    }

    .feature-text {
        font-size: 1rem;
        text-align: inherit;
        max-width: none;
    }

    .feature-icon {
        width: 130px;
        height: 130px;
        padding: 8px;
        min-width: 130px;
    }
}