/* =========================================
   Harimi Logistique - Style System
   ========================================= */

:root {
    /* Colors based on Harimi Logo & Professional Logistics Theme */
    --primary-color: #C1121F;      /* Deep Red from Truck */
    --primary-dark: #9B0D17;
    --primary-light: #DF1E2C;
    
    --secondary-color: #111111;    /* Deep Black */
    --text-main: #333333;
    --text-muted: #6c757d;
    
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-arabic: 'Cairo', 'Inter', sans-serif;
    
    /* Variables */
    --transition-speed: 0.3s;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Add support for Arabic RTL globally when body has dir="rtl" */
body[dir="rtl"] {
    font-family: var(--font-arabic);
}

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

/* =========================================
   Typography & Buttons
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: block;
}

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(193, 18, 31, 0.3);
}

.btn-outline-light {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap var(--transition-speed);
}

.btn-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

body[dir="rtl"] .btn-link i {
    transform: rotate(180deg);
}

/* =========================================
   Top Bar (New Professional Style)
   ========================================= */
.top-bar {
    background-color: var(--secondary-color);
    color: #e0e0e0;
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-item {
    color: #e0e0e0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-speed);
}

.top-bar-item i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.top-bar-item:hover {
    color: white;
}

.separator {
    color: #444;
}

.top-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 1px solid rgba(255,255,255,0.1);
    border-right: 1px solid rgba(255,255,255,0.1);
    padding: 0 15px;
}

.top-socials a {
    color: #aaa;
    text-decoration: none;
    transition: all var(--transition-speed);
}

.top-socials a:hover {
    color: white;
}

.top-socials a.whatsapp:hover {
    color: #25D366;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 6px;
}

.language-selector i {
    color: #aaa;
}

.language-selector select {
    background: transparent;
    border: none;
    color: white;
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
    font-weight: 600;
}

.language-selector select option {
    color: #333;
}

/* =========================================
   Navbar (New Professional Style)
   ========================================= */
.navbar {
    background-color: var(--bg-white);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-speed);
}

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

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

.logo-icon {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(193, 18, 31, 0.3);
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

.logo-highlight {
    color: var(--primary-color);
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 4px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-speed);
    position: relative;
    padding: 8px 0;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
    border-radius: 3px;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-glow {
    box-shadow: 0 4px 15px rgba(193, 18, 31, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* =========================================
   Hero Slider
   ========================================= */
.hero-slider {
    height: 90vh;
    min-height: 600px;
    position: relative;
    background-color: var(--secondary-color);
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 6s ease;
    transform: scale(1.08);
}

.swiper-slide-active .slide-bg {
    transform: scale(1); /* Subtle zoom out effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(17, 17, 17, 0.95) 0%, rgba(17, 17, 17, 0.7) 40%, rgba(17, 17, 17, 0.2) 100%);
    z-index: 1;
}

body[dir="rtl"] .hero-overlay {
    background: linear-gradient(-90deg, rgba(17, 17, 17, 0.95) 0%, rgba(17, 17, 17, 0.7) 40%, rgba(17, 17, 17, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease 0.5s;
}

.swiper-slide-active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    color: #f0f0f0;
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Swiper custom styling */
.swiper-button-next, .swiper-button-prev {
    color: white;
    background: rgba(193, 18, 31, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all var(--transition-speed);
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
    width: 10px;
    height: 10px;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
    width: 25px;
    border-radius: 5px;
}

/* =========================================
   Features Section (Overlapping)
   ========================================= */
.features {
    position: relative;
    margin-top: -60px;
    z-index: 20;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform var(--transition-speed);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.google-rating h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    white-space: nowrap;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
   About Section
   ========================================= */
.about {
    padding: 100px 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.about-list {
    list-style: none;
    margin-top: 30px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

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

.about-image {
    position: relative;
}

.rounded-img {
    width: 100%;
    border-radius: var(--border-radius);
    display: block;
}

.shadow-lg {
    box-shadow: var(--box-shadow);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background-color: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 20px rgba(193, 18, 31, 0.4);
}

body[dir="rtl"] .experience-badge {
    left: auto;
    right: -30px;
}

.experience-badge .number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.experience-badge .text {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* =========================================
   Services Section
   ========================================= */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all var(--transition-speed);
}

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

.service-img-wrapper {
    height: 220px;
    overflow: hidden;
}

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

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

.service-content {
    padding: 30px;
    text-align: left;
    position: relative;
}

body[dir="rtl"] .service-content {
    text-align: right;
}

.service-icon {
    position: absolute;
    top: -25px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 5px 10px rgba(193, 18, 31, 0.3);
}

body[dir="rtl"] .service-icon {
    right: auto;
    left: 30px;
}

.service-content h3 {
    margin-bottom: 15px;
}

.service-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* =========================================
   Partner Section
   ========================================= */
.partner-section {
    padding: 100px 0;
}

.partner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.partner-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.partner-title {
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-align: left;
    color: var(--secondary-color);
}

body[dir="rtl"] .partner-title {
    text-align: right;
}

.partner-text {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1rem;
}

.partner-btn {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed);
}

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

@media (max-width: 991px) {
    .partner-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Reviews Section
   ========================================= */
.reviews {
    padding: 100px 0;
    background-color: #fafafa;
}

.reviews-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.reviews-summary {
    flex: 0 0 250px;
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.reviews-summary h3 {
    font-weight: 800;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.stars-main {
    color: #fbbc05;
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.reviews-summary p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.google-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.reviews-slider-wrapper {
    flex: 1;
    min-width: 0;
    position: relative;
    padding: 20px 40px;
}

.review-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    text-align: left;
}

body[dir="rtl"] .review-card {
    text-align: right;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.reviewer-info h4 {
    font-size: 1rem;
    margin: 0;
    line-height: 1.2;
}

.review-date {
    font-size: 0.85rem;
    color: #888;
}

.google-g-icon {
    background: #f1f1f1;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.review-stars {
    color: #fbbc05;
    margin-bottom: 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 3px;
}

.verified-icon {
    color: #4285F4;
    margin-left: 5px;
}

body[dir="rtl"] .verified-icon {
    margin-left: 0;
    margin-right: 5px;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

.review-next, .review-prev {
    color: var(--text-color);
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.review-next::after, .review-prev::after {
    font-size: 1rem;
    font-weight: bold;
}

.review-next:hover, .review-prev:hover {
    background: #f0f0f0;
    transform: none;
}

@media (max-width: 991px) {
    .reviews-container {
        flex-direction: column;
    }
    .reviews-summary {
        width: 100%;
        flex: none;
    }
    .reviews-slider-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 20px 0;
        overflow: hidden;
    }
}

/* =========================================
   FAQ Section
   ========================================= */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.faq-header {
    margin-bottom: 50px;
}

.section-subtitle-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

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

.faq-item {
    margin-bottom: 15px;
    background-color: #fafafa;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all var(--transition-speed);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 25px 30px;
    background: transparent;
    border: none;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--secondary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
    transition: background-color var(--transition-speed);
}

.faq-question:hover {
    background-color: #f0f0f0;
}

body[dir="rtl"] .faq-question {
    text-align: right;
}

.faq-icon {
    background-color: black;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: transform var(--transition-speed), background-color var(--transition-speed);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background-color: var(--primary-color);
}

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

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-muted);
}

/* =========================================
   Contact Section
   ========================================= */
.contact {
    padding: 100px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.contact-info-panel {
    background-color: var(--secondary-color);
    color: white;
    padding: 50px;
}

.contact-info-panel h2 {
    color: white;
    margin-bottom: 20px;
}

.contact-info-panel p {
    color: #aaa;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item h4 {
    color: white;
    margin-bottom: 5px;
}

.contact-item p {
    color: #ccc;
    margin-bottom: 0;
}

.contact-form-panel {
    padding: 50px;
}

.quote-form h3 {
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.quote-form input,
.quote-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-speed);
}

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

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: #0a0a0a;
    color: #ccc;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo .logo-text {
    color: white;
}

.footer-desc {
    margin: 20px 0;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.05);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition-speed);
}

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

.footer-links h4,
.footer-newsletter h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-newsletter p {
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
}

body[dir="rtl"] .newsletter-form input {
    border-radius: 0 4px 4px 0;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

body[dir="rtl"] .newsletter-form button {
    border-radius: 4px 0 0 4px;
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    background-color: #050505;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* =========================================
   Blog Page Styles
   ========================================= */
.blog-hero {
    height: 40vh;
    min-height: 300px;
    background-image: url('assets/img/hero_truck_morocco_1784481941032.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px; /* offset for fixed navbar */
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
}

.blog-hero .container {
    position: relative;
    z-index: 10;
}

.blog-title {
    color: white;
    font-size: 4rem;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.blog-section {
    padding: 80px 0;
    background: #f4f4f4;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-img-wrapper {
    position: relative;
    height: 200px;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 3px;
    z-index: 2;
}

body[dir="rtl"] .blog-badge {
    left: auto;
    right: 15px;
}

.blog-content {
    padding: 20px;
}

.blog-card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =========================================
   Preloader
   ========================================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
    position: relative;
    width: 150px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.loader-truck {
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
    bottom: 8px;
    animation: driveTruck 1.5s infinite ease-in-out;
}

.loader-line {
    width: 100%;
    height: 4px;
    background-color: #ddd;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.loader-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 50px;
    background-color: var(--primary-color);
    animation: loadingLine 1.5s infinite ease-in-out;
}

@keyframes driveTruck {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(30px); }
    100% { transform: translateX(150px); }
}

@keyframes loadingLine {
    0% { transform: translateX(-50px); }
    100% { transform: translateX(150px); }
}

body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
}

/* =========================================
   WhatsApp Floating Button
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse-wa 2s infinite;
}

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

.whatsapp-float:hover {
    background-color: #1ebe57;
    transform: translateY(-5px);
    color: white;
}

@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
    .features-grid,
    .about-container,
    .services-grid,
    .contact-container,
    .partner-grid,
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .experience-badge {
        bottom: 20px;
        left: 20px;
    }
    
    body[dir="rtl"] .experience-badge {
        right: 20px;
        left: auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    .top-bar-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .top-bar-left, .top-bar-right {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .language-selector {
        margin-top: 5px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-panel,
    .contact-form-panel {
        padding: 30px 20px;
    }
    
    .blog-title {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
}
