/* ============================================
   W.B Industries - Premium Industrial Website
   Modern, Luxurious, Bilingual (AR/EN) CSS
   ============================================ */

/* ============================================
   CSS Variables & Root Configuration
   ============================================ */
   :root {
    /* Brand Colors */
    --primary: #380C09;
    --primary-light: #5a1a15;
    --primary-dark: #200705;
    --secondary: #F39325;
    --secondary-light: #f7aa52;
    --secondary-dark: #d17a0f;
    
    /* Neutral Colors */
    --bg-main: #F7F9F9;
    --bg-white: #ffffff;
    --bg-light: #f0f4f4;
    --bg-dark: #1a1a1a;
    
    /* Text Colors */
    --text-dark: #1a1a1a;
    --text-body: #4a4a4a;
    --text-muted: #7a7a7a;
    --text-light: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    --gradient-dark: linear-gradient(180deg, rgba(56, 12, 9, 0.95) 0%, rgba(26, 26, 26, 0.98) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(56, 12, 9, 0.4) 0%, rgba(56, 12, 9, 0.8) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(56, 12, 9, 0.08);
    --shadow-md: 0 4px 20px rgba(56, 12, 9, 0.12);
    --shadow-lg: 0 8px 40px rgba(56, 12, 9, 0.16);
    --shadow-xl: 0 16px 60px rgba(56, 12, 9, 0.2);
    --shadow-glow: 0 0 40px rgba(243, 147, 37, 0.3);
    
    /* Typography */
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'DM Sans', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-padding: 15px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 50%;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Base & Reset Styles
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-ar);
    background-color: var(--bg-main);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* English Language Body */
body.lang-en {
    font-family: var(--font-en);
    direction: ltr;
}

body.lang-en [dir="rtl"] {
    direction: ltr;
}

/* Selection */
::selection {
    background-color: var(--secondary);
    color: var(--text-light);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* Lists */
ul, ol {
    list-style: none;
}

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

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

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

.preloader-logo {
    margin-bottom: 30px;
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader-logo img {
    width: 150px;
    height: auto;
}

.preloader-bar {
    width: 200px;
    height: 4px;
    background: var(--bg-light);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-progress {
    width: 0;
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: 2px;
    animation: preloaderProgress 1.5s ease-in-out forwards;
}

@keyframes preloaderProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    padding: 20px 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    position: relative;
    z-index: 10;
}

.navbar-brand img {
    height: 50px;
    width: auto;
    transition: var(--transition-base);
}

.navbar.scrolled .navbar-brand img {
    height: 42px;
}

.logo-light {
    display: block;
}

.logo-dark {
    display: none;
}

.navbar.scrolled .logo-light {
    display: none;
}

.navbar.scrolled .logo-dark {
    display: block;
}

.navbar-nav {
    gap: 8px;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 18px !important;
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
}

.navbar.scrolled .nav-link {
    color: var(--text-dark) !important;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition-base);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
    right: auto;
    left: 0;
}

.nav-link:hover {
    color: var(--secondary) !important;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 20px;
}

body.lang-en .nav-actions {
    margin-right: 0;
    margin-left: 20px;
}

/* Language Switch */
.lang-switch {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-base);
    font-family: var(--font-en);
}

.navbar.scrolled .lang-switch {
    border-color: var(--primary);
    color: var(--primary);
}

.lang-switch:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--text-light);
}

.lang-switch .lang-en {
    font-family: var(--font-ar);
}

/* Nav CTA Button */
.nav-cta {
    background: var(--gradient-secondary);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-light) !important;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Mobile Toggle */
.navbar-toggler {
    border: none;
    padding: 10px;
    background: transparent;
    position: relative;
    width: 40px;
    height: 40px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    display: block;
    transition: var(--transition-base);
}

.navbar.scrolled .navbar-toggler-icon {
    background: var(--primary);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: inherit;
    left: 0;
    transition: var(--transition-base);
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    bottom: -8px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider .swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 160px 0 100px;
}

.hero-badge {
    display: inline-block;
    background: rgba(243, 147, 37, 0.2);
    border: 1px solid rgba(243, 147, 37, 0.4);
    padding: 10px 24px;
    border-radius: 50px;
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-title span {
    display: block;
}

.hero-title-accent {
    color: var(--secondary);
    font-family: var(--font-display);
    font-weight: 600;
    font-style: italic;
}

body.lang-en .hero-title-accent {
    font-family: var(--font-display);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--gradient-secondary);
    color: var(--text-light);
    padding: 16px 36px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-hero-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    color: var(--text-light);
}

.btn-hero-primary .arrow-icon {
    transition: var(--transition-base);
}

body.lang-en .btn-hero-primary .arrow-icon {
    transform: rotate(180deg);
}

.btn-hero-primary:hover .arrow-icon {
    transform: translateX(-5px);
}

body.lang-en .btn-hero-primary:hover .arrow-icon {
    transform: rotate(180deg) translateX(-5px);
}

.btn-hero-outline {
    background: transparent;
    color: var(--text-light);
    padding: 16px 36px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition-base);
}

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

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    animation: float 2s ease-in-out infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--secondary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Hero Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(243, 147, 37, 0.1);
    filter: blur(60px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation: shapeFloat 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: -50px;
    animation: shapeFloat 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 20%;
    animation: shapeFloat 6s ease-in-out infinite;
}

@keyframes shapeFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    position: relative;
    z-index: 20;
    margin-top: -60px;
    padding: 0 20px;
}

.stats-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-xl);
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 200px;
    justify-content: center;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--secondary);
    transition: var(--transition-base);
}

.stat-item:hover .stat-icon {
    background: var(--gradient-secondary);
    color: var(--text-light);
    transform: scale(1.1);
}

.stat-content {
    text-align: right;
}

body.lang-en .stat-content {
    text-align: left;
}

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

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--bg-light), transparent);
}

/* ============================================
   Section Common Styles
   ============================================ */
.section-badge {
    display: inline-block;
    background: rgba(243, 147, 37, 0.1);
    color: var(--secondary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
    border: 1px solid rgba(243, 147, 37, 0.2);
}

.section-badge-light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.2);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-title-light {
    color: var(--text-light);
}

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

.section-subtitle-light {
    color: rgba(255, 255, 255, 0.8);
}

.section-header {
    margin-bottom: 60px;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.about-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.about-shape-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(243, 147, 37, 0.05);
    border-radius: 50%;
    top: -200px;
    left: -200px;
}

.about-shape-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(56, 12, 9, 0.03);
    border-radius: 50%;
    bottom: -100px;
    right: -100px;
}

.about-image-wrapper {
    position: relative;
    padding: 30px;
}

.about-image-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-image-main:hover img {
    transform: scale(1.05);
}

.about-image-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 5px solid var(--bg-white);
    box-shadow: var(--shadow-lg);
}

body.lang-en .about-image-accent {
    left: auto;
    right: 0;
}

.about-image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--gradient-secondary);
    color: var(--text-light);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: badgePulse 2s ease-in-out infinite;
}

body.lang-en .about-experience-badge {
    right: auto;
    left: 0;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: var(--shadow-lg); }
    50% { box-shadow: var(--shadow-glow); }
}

.badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 14px;
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

.about-content {
    position: relative;
    z-index: 1;
    padding-right: 30px;
}

body.lang-en .about-content {
    padding-right: 0;
    padding-left: 30px;
}

.about-text {
    color: var(--text-body);
    margin-bottom: 20px;
    line-height: 1.9;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 30px 0;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.value-item:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    transform: translateX(-5px);
}

body.lang-en .value-item:hover {
    transform: translateX(5px);
}

.value-icon {
    color: var(--secondary);
    font-size: 18px;
}

.value-item span {
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
}

.btn-about {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    transition: var(--transition-base);
}

.btn-about:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--text-light);
}

.btn-about .arrow-icon {
    transition: var(--transition-base);
}

body.lang-en .btn-about .arrow-icon {
    transform: rotate(180deg);
}

.btn-about:hover .arrow-icon {
    transform: translateX(-5px);
}

body.lang-en .btn-about:hover .arrow-icon {
    transform: rotate(180deg) translateX(-5px);
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

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

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition-base);
}

body.lang-en .service-card::before {
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

body.lang-en .service-card:hover::before {
    transform-origin: right;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(243, 147, 37, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: var(--secondary);
    transition: var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--gradient-secondary);
    color: var(--text-light);
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.service-hover-icon {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    color: var(--secondary);
    font-size: 20px;
    transition: var(--transition-base);
}

.service-card:hover .service-hover-icon {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Additional Services */
.additional-services {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.additional-services-header {
    text-align: center;
    margin-bottom: 30px;
}

.additional-services-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.additional-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.additional-service-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.additional-service-item:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    transform: translateX(-5px);
}

body.lang-en .additional-service-item:hover {
    transform: translateX(5px);
}

.additional-service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-light);
    flex-shrink: 0;
}

.additional-service-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.additional-service-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

/* ============================================
   Partners Section
   ============================================ */
.partners-section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.partners-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    z-index: 0;
}

.partners-section .container {
    position: relative;
    z-index: 1;
}

.partners-wrapper {
    margin-top: 40px;
}

.partners-category {
    margin-bottom: 50px;
}

.partners-category-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 24px;
    text-align: center;
    position: relative;
}

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

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

.partner-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition-base);
    backdrop-filter: blur(10px);
}

.partner-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
    transform: translateY(-5px);
}

.partner-flag {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.partner-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 4px;
}

.partner-country {
    font-size: 12px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 8px;
}

.partner-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

/* Mini Partner Cards */
.partners-grid-small {
    grid-template-columns: repeat(4, 1fr);
}

.partner-card-mini {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 20px 16px;
    text-align: center;
    transition: var(--transition-base);
}

.partner-card-mini:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(243, 147, 37, 0.3);
}

.partner-flag-mini {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.partner-card-mini h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 4px;
}

.partner-card-mini p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Bearings Grid */
.bearings-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.bearing-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-base);
}

.bearing-item:hover {
    background: rgba(243, 147, 37, 0.1);
    border-color: var(--secondary);
}

.bearing-flag {
    font-size: 1.25rem;
}

.bearing-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-light);
}

/* Countries Section */
.countries-section {
    margin-top: 60px;
    text-align: center;
}

.countries-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 24px;
}

.countries-flags {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.country-item {
    font-size: 2.5rem;
    transition: var(--transition-base);
    cursor: pointer;
    filter: grayscale(20%);
}

.country-item:hover {
    transform: scale(1.3);
    filter: grayscale(0%);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: var(--bg-main);
}

.testimonials-slider {
    padding: 20px 0 60px;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-md);
    margin: 10px;
    transition: var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-xl);
}

.testimonial-quote {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: rgba(243, 147, 37, 0.15);
}

body.lang-en .testimonial-quote {
    right: auto;
    left: 30px;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.9;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 20px;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.testimonial-rating {
    margin-top: 20px;
    color: var(--secondary);
    font-size: 14px;
}

.testimonial-rating i {
    margin-left: 2px;
}

body.lang-en .testimonial-rating i {
    margin-left: 0;
    margin-right: 2px;
}

.testimonials-slider .swiper-pagination {
    bottom: 0;
}

.testimonials-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--bg-light);
    opacity: 1;
    transition: var(--transition-base);
}

.testimonials-slider .swiper-pagination-bullet-active {
    background: var(--secondary);
    width: 30px;
    border-radius: 6px;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

.contact-info {
    padding-left: 30px;
}

body.lang-en .contact-info {
    padding-left: 0;
    padding-right: 30px;
}

.contact-desc {
    color: var(--text-body);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.contact-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(-5px);
}

body.lang-en .contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-text p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.contact-social h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

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

.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    transition: var(--transition-base);
    border: 1px solid var(--bg-light);
}

.social-link:hover {
    background: var(--gradient-secondary);
    color: var(--text-light);
    border-color: transparent;
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition-base);
    background: var(--bg-main);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(243, 147, 37, 0.1);
}

.focus-border {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: var(--transition-base);
}

body.lang-en .focus-border {
    right: auto;
    left: 0;
}

.form-control:focus ~ .focus-border {
    width: 100%;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23380C09' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-left: 40px;
}

body.lang-en select.form-control {
    background-position: right 16px center;
    padding-left: 18px;
    padding-right: 40px;
}

.btn-submit {
    width: 100%;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit .btn-loading,
.btn-submit .btn-success {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline-block;
}

.btn-submit.success .btn-text,
.btn-submit.success .btn-loading {
    display: none;
}

.btn-submit.success .btn-success {
    display: inline-block;
}

.btn-submit.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Map */
.map-wrapper {
    margin-top: 60px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-wrapper iframe {
    display: block;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--gradient-dark);
    color: var(--text-light);
}

.footer-main {
    padding: 80px 0 60px;
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-light);
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

body.lang-en .footer-links h4::after,
body.lang-en .footer-contact h4::after {
    right: auto;
    left: 0;
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition-base);
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--secondary);
    transform: translateX(-5px);
}

body.lang-en .footer-links ul li a:hover {
    transform: translateX(5px);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--secondary);
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    color: var(--text-light);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

body.lang-en .back-to-top {
    right: auto;
    left: 30px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   Primary Button Styles
   ============================================ */
.btn-primary {
    background: var(--gradient-primary) !important;
    border: none !important;
    color: var(--text-light) !important;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   Swiper Customization
   ============================================ */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
}

.swiper-pagination-bullet-active {
    background: var(--secondary);
}

/* ============================================
   AOS Overrides
   ============================================ */
[data-aos] {
    pointer-events: auto !important;
}

/* ============================================
   Responsive Styles
   ============================================ */

/* Large Devices */
@media (max-width: 1199.98px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .partners-grid-small {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium Devices */
@media (max-width: 991.98px) {
    :root {
        --section-padding: 80px;
    }
    
    .navbar-collapse {
        background: var(--bg-white);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 20px;
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        box-shadow: var(--shadow-lg);
    }
    
    .navbar-nav {
        flex-direction: column;
    }
    
    .nav-link {
        color: var(--text-dark) !important;
        padding: 12px 16px !important;
    }
    
    .nav-actions {
        flex-direction: column;
        margin: 20px 0 0;
        gap: 12px;
    }
    
    .nav-cta {
        width: 100%;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-image-wrapper {
        margin-bottom: 40px;
    }
    
    .about-content {
        padding-right: 0;
    }
    
    body.lang-en .about-content {
        padding-left: 0;
    }
    
    .contact-info {
        padding-left: 0;
        margin-bottom: 40px;
    }
    
    body.lang-en .contact-info {
        padding-right: 0;
    }
    
    .stats-wrapper {
        padding: 30px 40px;
    }
    
    .stat-divider {
        display: none;
    }
}

/* Small Devices */
@media (max-width: 767.98px) {
    :root {
        --section-padding: 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .stats-section {
        margin-top: -40px;
    }
    
    .stats-wrapper {
        padding: 24px 20px;
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        width: 100%;
        justify-content: flex-start;
        padding: 16px;
        background: var(--bg-light);
        border-radius: var(--radius-sm);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .additional-services-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid,
    .partners-grid-small {
        grid-template-columns: 1fr;
    }
    
    .bearings-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .bearing-item {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .countries-flags {
        gap: 15px;
    }
    
    .country-item {
        font-size: 2rem;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .footer-main {
        padding: 60px 0 40px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .testimonial-card {
        padding: 24px;
    }
    
    .testimonial-quote {
        font-size: 2rem;
        top: 20px;
        right: 20px;
    }
    
    body.lang-en .testimonial-quote {
        left: 20px;
    }
}

/* Extra Small Devices */
@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 40px;
    }
    
    .hero-badge {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .about-experience-badge {
        padding: 16px;
    }
    
    .badge-number {
        font-size: 2rem;
    }
    
    .about-image-accent {
        width: 140px;
        height: 140px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .map-wrapper iframe {
        height: 300px;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .navbar,
    .hero-section,
    .back-to-top,
    .preloader {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section-title {
        color: black;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-primary {
    color: var(--primary) !important;
}

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

.bg-primary {
    background: var(--primary) !important;
}

.bg-secondary {
    background: var(--secondary) !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-extrabold {
    font-weight: 800 !important;
}

/* Animation Classes */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-bounce {
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Glassmorphism Utility */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover Effects */
.hover-lift {
    transition: var(--transition-base);
}

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

.hover-glow:hover {
    box-shadow: var(--shadow-glow);
}

/* ============================================
   LTR Specific Overrides (English)
   ============================================ */
body.lang-en {
    direction: ltr;
}

body.lang-en .hero-scroll-indicator span {
    font-family: var(--font-en);
}

body.lang-en .stat-content {
    text-align: left;
}

body.lang-en .nav-actions {
    margin-right: 0;
    margin-left: 20px;
}

body.lang-en .footer-links h4::after,
body.lang-en .footer-contact h4::after {
    right: auto;
    left: 0;
}

body.lang-en .footer-links ul li a:hover {
    transform: translateX(5px);
}

body.lang-en .contact-item:hover,
body.lang-en .value-item:hover,
body.lang-en .additional-service-item:hover {
    transform: translateX(5px);
}


/* ===================================
   Feed Processing Equipment Section
   =================================== */

.equipment-section {
    padding: 120px 0;

    position: relative;
    overflow: hidden;
}

.equipment-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
   
    border-radius: 50%;
    z-index: 0;
}

.equipment-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
  
    border-radius: 50%;
    z-index: 0;
}

.equipment-section .container {
    position: relative;
    z-index: 1;
}

/* Equipment Grid */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

/* Equipment Card */
.equipment-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.equipment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Equipment Image */
.equipment-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.equipment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.equipment-overlay i {
    color: #ffffff;
    font-size: 32px;
    transform: translateX(-10px);
    transition: transform 0.4s ease;
}

.equipment-card:hover .equipment-overlay i {
    transform: translateX(0);
}

/* Equipment Content */
.equipment-content {
    padding: 30px;
}

.equipment-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-family: 'Cairo', sans-serif;
    transition: color 0.3s ease;
}

.equipment-card:hover .equipment-title {
    color: #007bff;
}

.equipment-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    font-family: 'Cairo', sans-serif;
}

.equipment-link {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #007bff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.equipment-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: width 0.3s ease;
}

.equipment-link:hover::after {
    width: 100%;
}

.equipment-link:hover {
    color: #0056b3;
    transform: translateX(-5px);
}

/* Equipment CTA */
.equipment-cta {
    margin-top: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.equipment-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.equipment-cta::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.equipment-cta-content {
    position: relative;
    z-index: 1;
}

.equipment-cta h3 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    font-family: 'Cairo', sans-serif;
}

.equipment-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-family: 'Cairo', sans-serif;
}

.btn-equipment-cta {
    background: #ffffff;
    color: #667eea;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    border: 2px solid transparent;
}

.btn-equipment-cta:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .equipment-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .equipment-section {
        padding: 80px 0;
    }

    .equipment-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
        margin-top: 40px;
    }

    .equipment-image {
        height: 200px;
    }

    .equipment-content {
        padding: 25px;
    }

    .equipment-title {
        font-size: 18px;
    }

    .equipment-desc {
        font-size: 14px;
    }

    .equipment-cta {
        padding: 40px 30px;
        margin-top: 60px;
    }

    .equipment-cta h3 {
        font-size: 26px;
    }

    .equipment-cta p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .equipment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .equipment-image {
        height: 220px;
    }

    .equipment-cta {
        padding: 35px 25px;
    }

    .equipment-cta h3 {
        font-size: 24px;
    }

    .equipment-cta p {
        font-size: 15px;
    }

    .btn-equipment-cta {
        padding: 12px 30px;
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .equipment-section {
        padding: 60px 0;
    }

    .equipment-content {
        padding: 20px;
    }

    .equipment-title {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .equipment-desc {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .equipment-cta {
        padding: 30px 20px;
        margin-top: 40px;
        border-radius: 20px;
    }

    .equipment-cta h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .equipment-cta p {
        font-size: 14px;
        margin-bottom: 25px;
    }
}

/* RTL Support */
[dir="rtl"] .equipment-link {
    transform: translateX(0);
}

[dir="rtl"] .equipment-link:hover {
    transform: translateX(5px);
}

[dir="rtl"] .equipment-overlay i {
    transform: translateX(10px);
}

[dir="rtl"] .equipment-card:hover .equipment-overlay i {
    transform: translateX(0);
}

/* Animation Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.equipment-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Dark Theme Support (Optional) */
@media (prefers-color-scheme: dark) {
    

    .equipment-card {
        background: #252b42;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }

    .equipment-title {
        color: #ffffff;
    }

    .equipment-desc {
        color: #b0b0b0;
    }
}