/* Custom CSS for Aseeri Trading Website */

/* Color Variables */
:root {
    --primary-color: #6c757d;
    --primary-dark: #495057;
    --primary-light: #adb5bd;
    --secondary-color: #343a40;
    --accent-color: #868e96;
    --text-dark: #212529;
    --text-light: #6c757d;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="ltr"] {
    text-align: left;
}

/* Typography */
body {
    font-family: 'Cairo', 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    scroll-behavior: smooth;
    font-weight: 400;
}

/* Arabic Font Support */
[lang="ar"] {
    font-family: 'Cairo', 'Segoe UI', 'Tahoma', 'Arial Unicode MS', sans-serif;
    font-weight: 400;
}

[lang="en"] {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
}

/* Arabic Typography Improvements */
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

[dir="ltr"] h1, [dir="ltr"] h2, [dir="ltr"] h3, [dir="ltr"] h4, [dir="ltr"] h5, [dir="ltr"] h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Arabic text improvements */
[dir="rtl"] p, [dir="rtl"] li, [dir="rtl"] span {
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
    line-height: 1.8;
}

[dir="ltr"] p, [dir="ltr"] li, [dir="ltr"] span {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 1000;
    position: relative;
}

.navbar.scrolled {
    background-color: rgba(33, 37, 41, 0.95) !important;
}

/* Ensure all navbar text is white */
.navbar-nav .nav-link,
.navbar-brand,
.navbar-text {
    color: white !important;
}

.navbar-toggler {
    border-color: white !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-brand {
    font-size: 1.5rem;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    color: white !important;
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: white !important;
}

.brand-text {
    color: white !important;
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
}

/* Alternative gradient text for brand (optional) */
.brand-text.gradient {
    background: linear-gradient(45deg, var(--primary-light), white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Cairo', sans-serif;
    color: white !important;
}

.nav-link:hover {
    color: var(--primary-light) !important;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-dark) 100%);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

/* Floating Icons Animation */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
    animation: fadeIn 3s ease-in-out;
    will-change: transform;
    backdrop-filter: blur(0.5px);
    -webkit-backdrop-filter: blur(0.5px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.floating-icon {
    position: absolute;
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px) saturate(110%);
    -webkit-backdrop-filter: blur(3px) saturate(110%);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.floating-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.25;
    transition: all 0.3s ease;
    pointer-events: none;
    filter: blur(0.8px) drop-shadow(0 0 4px rgba(0, 0, 0, 0.2)) brightness(1.05) contrast(1.05);
}

.floating-icon:hover img {
    opacity: 0.4;
    transform: scale(1.05);
    filter: blur(0.6px) drop-shadow(0 0 8px rgba(0, 0, 0, 0.3)) brightness(1.1) contrast(1.1);
}

/* Enhanced backdrop hover effects */
.floating-icon:hover {
    backdrop-filter: blur(6px) saturate(140%) brightness(110%);
    -webkit-backdrop-filter: blur(6px) saturate(140%) brightness(110%);
    background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%, 
                rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), 
                0 0 10px rgba(255, 255, 255, 0.1);
    transform: translateY(-1px) scale(1.02);
}

/* Glass morphism effect */
.floating-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%, 
                transparent 50%, 
                rgba(0, 0, 0, 0.1) 100%);
    border-radius: 12px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-icon:hover::after {
    opacity: 1;
}

/* Enhanced visibility for dark background */
.floating-icon img {
    border-radius: 8px;
    padding: 4px;
}

/* Variable blur effects for different icons - 20% blur */
.floating-icon:nth-child(1) img { filter: blur(0.5px) drop-shadow(0 0 8px rgba(0, 0, 0, 0.4)) brightness(1.1) contrast(1.1); }
.floating-icon:nth-child(2) img { filter: blur(0.44px) drop-shadow(0 0 8px rgba(0, 0, 0, 0.4)) brightness(1.1) contrast(1.1); }
.floating-icon:nth-child(3) img { filter: blur(0.36px) drop-shadow(0 0 8px rgba(0, 0, 0, 0.4)) brightness(1.1) contrast(1.1); }
.floating-icon:nth-child(4) img { filter: blur(0.46px) drop-shadow(0 0 8px rgba(0, 0, 0, 0.4)) brightness(1.1) contrast(1.1); }
.floating-icon:nth-child(5) img { filter: blur(0.4px) drop-shadow(0 0 8px rgba(0, 0, 0, 0.4)) brightness(1.1) contrast(1.1); }
.floating-icon:nth-child(6) img { filter: blur(0.34px) drop-shadow(0 0 8px rgba(0, 0, 0, 0.4)) brightness(1.1) contrast(1.1); }
.floating-icon:nth-child(7) img { filter: blur(0.48px) drop-shadow(0 0 8px rgba(0, 0, 0, 0.4)) brightness(1.1) contrast(1.1); }
.floating-icon:nth-child(8) img { filter: blur(0.42px) drop-shadow(0 0 8px rgba(0, 0, 0, 0.4)) brightness(1.1) contrast(1.1); }
.floating-icon:nth-child(9) img { filter: blur(0.38px) drop-shadow(0 0 8px rgba(0, 0, 0, 0.4)) brightness(1.1) contrast(1.1); }
.floating-icon:nth-child(10) img { filter: blur(0.52px) drop-shadow(0 0 8px rgba(0, 0, 0, 0.4)) brightness(1.1) contrast(1.1); }
.floating-icon:nth-child(11) img { filter: blur(0.44px) drop-shadow(0 0 8px rgba(0, 0, 0, 0.4)) brightness(1.1) contrast(1.1); }
.floating-icon:nth-child(12) img { filter: blur(0.36px) drop-shadow(0 0 8px rgba(0, 0, 0, 0.4)) brightness(1.1) contrast(1.1); }
.floating-icon:nth-child(13) img { filter: blur(0.48px) drop-shadow(0 0 8px rgba(0, 0, 0, 0.4)) brightness(1.1) contrast(1.1); }
.floating-icon:nth-child(14) img { filter: blur(0.4px) drop-shadow(0 0 8px rgba(0, 0, 0, 0.4)) brightness(1.1) contrast(1.1); }
.floating-icon:nth-child(15) img { filter: blur(0.32px) drop-shadow(0 0 8px rgba(0, 0, 0, 0.4)) brightness(1.1) contrast(1.1); }

/* Hover blur effects - 20% blur */
.floating-icon:nth-child(1):hover img { filter: blur(0.24px) drop-shadow(0 0 20px rgba(0, 0, 0, 0.6)) brightness(1.3) contrast(1.2); }
.floating-icon:nth-child(2):hover img { filter: blur(0.22px) drop-shadow(0 0 20px rgba(0, 0, 0, 0.6)) brightness(1.3) contrast(1.2); }
.floating-icon:nth-child(3):hover img { filter: blur(0.18px) drop-shadow(0 0 20px rgba(0, 0, 0, 0.6)) brightness(1.3) contrast(1.2); }
.floating-icon:nth-child(4):hover img { filter: blur(0.23px) drop-shadow(0 0 20px rgba(0, 0, 0, 0.6)) brightness(1.3) contrast(1.2); }
.floating-icon:nth-child(5):hover img { filter: blur(0.2px) drop-shadow(0 0 20px rgba(0, 0, 0, 0.6)) brightness(1.3) contrast(1.2); }
.floating-icon:nth-child(6):hover img { filter: blur(0.17px) drop-shadow(0 0 20px rgba(0, 0, 0, 0.6)) brightness(1.3) contrast(1.2); }
.floating-icon:nth-child(7):hover img { filter: blur(0.24px) drop-shadow(0 0 20px rgba(0, 0, 0, 0.6)) brightness(1.3) contrast(1.2); }
.floating-icon:nth-child(8):hover img { filter: blur(0.21px) drop-shadow(0 0 20px rgba(0, 0, 0, 0.6)) brightness(1.3) contrast(1.2); }
.floating-icon:nth-child(9):hover img { filter: blur(0.19px) drop-shadow(0 0 20px rgba(0, 0, 0, 0.6)) brightness(1.3) contrast(1.2); }
.floating-icon:nth-child(10):hover img { filter: blur(0.26px) drop-shadow(0 0 20px rgba(0, 0, 0, 0.6)) brightness(1.3) contrast(1.2); }
.floating-icon:nth-child(11):hover img { filter: blur(0.22px) drop-shadow(0 0 20px rgba(0, 0, 0, 0.6)) brightness(1.3) contrast(1.2); }
.floating-icon:nth-child(12):hover img { filter: blur(0.18px) drop-shadow(0 0 20px rgba(0, 0, 0, 0.6)) brightness(1.3) contrast(1.2); }
.floating-icon:nth-child(13):hover img { filter: blur(0.24px) drop-shadow(0 0 20px rgba(0, 0, 0, 0.6)) brightness(1.3) contrast(1.2); }
.floating-icon:nth-child(14):hover img { filter: blur(0.2px) drop-shadow(0 0 20px rgba(0, 0, 0, 0.6)) brightness(1.3) contrast(1.2); }
.floating-icon:nth-child(15):hover img { filter: blur(0.16px) drop-shadow(0 0 20px rgba(0, 0, 0, 0.6)) brightness(1.3) contrast(1.2); }

/* Special backdrop effects for different spare parts */
.floating-icon:nth-child(1) { /* Engine */
    backdrop-filter: blur(4px) saturate(120%) hue-rotate(0deg);
    background: rgba(255, 100, 100, 0.06);
    border: 1px solid rgba(255, 100, 100, 0.12);
}

.floating-icon:nth-child(2) { /* Brake */
    backdrop-filter: blur(4px) saturate(120%) hue-rotate(0deg);
    background: rgba(255, 50, 50, 0.06);
    border: 1px solid rgba(255, 50, 50, 0.12);
}

.floating-icon:nth-child(3) { /* Battery */
    backdrop-filter: blur(4px) saturate(120%) hue-rotate(60deg);
    background: rgba(255, 255, 100, 0.06);
    border: 1px solid rgba(255, 255, 100, 0.12);
}

.floating-icon:nth-child(4) { /* Disc Brake */
    backdrop-filter: blur(4px) saturate(120%) hue-rotate(0deg);
    background: rgba(255, 80, 80, 0.06);
    border: 1px solid rgba(255, 80, 80, 0.12);
}

.floating-icon:nth-child(5) { /* Filter */
    backdrop-filter: blur(4px) saturate(120%) hue-rotate(200deg);
    background: rgba(100, 150, 255, 0.06);
    border: 1px solid rgba(100, 150, 255, 0.12);
}

.floating-icon:nth-child(6) { /* Headlight */
    backdrop-filter: blur(4px) saturate(120%) hue-rotate(60deg);
    background: rgba(255, 255, 150, 0.06);
    border: 1px solid rgba(255, 255, 150, 0.12);
}

.floating-icon:nth-child(7) { /* Spark Plug */
    backdrop-filter: blur(4px) saturate(120%) hue-rotate(300deg);
    background: rgba(255, 100, 255, 0.06);
    border: 1px solid rgba(255, 100, 255, 0.12);
}

.floating-icon:nth-child(8) { /* Radiator */
    backdrop-filter: blur(4px) saturate(120%) hue-rotate(180deg);
    background: rgba(100, 255, 255, 0.06);
    border: 1px solid rgba(100, 255, 255, 0.12);
}

.floating-icon:nth-child(9) { /* Steering */
    backdrop-filter: blur(4px) saturate(120%) hue-rotate(120deg);
    background: rgba(150, 255, 100, 0.06);
    border: 1px solid rgba(150, 255, 100, 0.12);
}

/* Different floating animations */
.floating-icon:nth-child(1) {
    animation: pulse 4s ease-in-out infinite;
}

.floating-icon:nth-child(2) {
    animation: swing 6s ease-in-out infinite;
}

.floating-icon:nth-child(3) {
    animation: bounce 5s ease-in-out infinite;
}

.floating-icon:nth-child(4) {
    animation: wobble 7s ease-in-out infinite;
}

.floating-icon:nth-child(5) {
    animation: rotate360 8s linear infinite;
}

.floating-icon:nth-child(6) {
    animation: floatWave 6s ease-in-out infinite;
}

.floating-icon:nth-child(7) {
    animation: heartbeat 3s ease-in-out infinite;
}

.floating-icon:nth-child(8) {
    animation: spiral 10s ease-in-out infinite;
}

.floating-icon:nth-child(9) {
    animation: shake 4s ease-in-out infinite;
}

.floating-icon:nth-child(10) {
    animation: zoom 5s ease-in-out infinite;
}

.floating-icon:nth-child(11) {
    animation: drift 9s ease-in-out infinite;
}

.floating-icon:nth-child(12) {
    animation: pendulum 7s ease-in-out infinite;
}

.floating-icon:nth-child(13) {
    animation: orbit 12s linear infinite;
}

.floating-icon:nth-child(14) {
    animation: flutter 4s ease-in-out infinite;
}

.floating-icon:nth-child(15) {
    animation: ripple 6s ease-in-out infinite;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 4;
}

.hero-section p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    position: relative;
    z-index: 4;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
    position: relative;
    z-index: 4;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    position: relative;
    z-index: 4;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* New Animation Keyframes */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes swing {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(15deg);
    }
    75% {
        transform: rotate(-15deg);
    }
}

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

@keyframes wobble {
    0%, 100% {
        transform: translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateX(-5px) rotate(-5deg);
    }
    50% {
        transform: translateX(5px) rotate(5deg);
    }
    75% {
        transform: translateX(-3px) rotate(-3deg);
    }
}

@keyframes rotate360 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes floatWave {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-10px) translateX(5px);
    }
    50% {
        transform: translateY(-20px) translateX(0px);
    }
    75% {
        transform: translateY(-10px) translateX(-5px);
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.05);
    }
}

@keyframes spiral {
    0% {
        transform: rotate(0deg) translateX(0px) rotate(0deg);
    }
    25% {
        transform: rotate(90deg) translateX(10px) rotate(-90deg);
    }
    50% {
        transform: rotate(180deg) translateX(0px) rotate(-180deg);
    }
    75% {
        transform: rotate(270deg) translateX(-10px) rotate(-270deg);
    }
    100% {
        transform: rotate(360deg) translateX(0px) rotate(-360deg);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0px);
    }
    10% {
        transform: translateX(-2px);
    }
    20% {
        transform: translateX(2px);
    }
    30% {
        transform: translateX(-2px);
    }
    40% {
        transform: translateX(2px);
    }
    50% {
        transform: translateX(-1px);
    }
    60% {
        transform: translateX(1px);
    }
    70% {
        transform: translateX(-1px);
    }
    80% {
        transform: translateX(1px);
    }
    90% {
        transform: translateX(0px);
    }
}

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

@keyframes drift {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-15px) translateX(10px) rotate(120deg);
    }
    66% {
        transform: translateY(5px) translateX(-8px) rotate(240deg);
    }
}

@keyframes pendulum {
    0%, 100% {
        transform: rotate(0deg);
        transform-origin: top center;
    }
    25% {
        transform: rotate(20deg);
        transform-origin: top center;
    }
    75% {
        transform: rotate(-20deg);
        transform-origin: top center;
    }
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(15px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(15px) rotate(-360deg);
    }
}

@keyframes flutter {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(5deg);
    }
    50% {
        transform: translateY(-4px) rotate(-5deg);
    }
    75% {
        transform: translateY(-12px) rotate(3deg);
    }
}

@keyframes ripple {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    25% {
        transform: scale(1.05);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
    75% {
        transform: scale(1.05);
        opacity: 0.7;
    }
}

/* Section Styling */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-family: 'Cairo', sans-serif;
    letter-spacing: -0.02em;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.bg-dark .section-divider {
    background: linear-gradient(45deg, var(--primary-light), var(--primary-color));
}

/* About Section */
.feature-item {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    border-radius: 15px;
    transition: all 0.3s ease;
}

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

/* Product Cards */
.product-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-card .card-icon {
    text-align: center;
    margin-bottom: 2rem;
}

.product-card .card-icon i {
    font-size: 3rem;
    color: var(--primary-color);
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-card h4 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.product-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 2rem;
}

.product-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.product-features li:last-child {
    border-bottom: none;
}

/* Brand Cards */
.brand-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.brand-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.brand-logo img {
    max-height: 60px;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.brand-card:hover .brand-logo img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.brand-models {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.brand-models li {
    padding: 0.3rem 0;
    color: #666;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-item {
    margin-bottom: 2rem;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(108, 117, 125, 0.3);
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
}

.contact-form .form-control:focus {
    background: white;
    box-shadow: 0 0 20px rgba(108, 117, 125, 0.3);
    transform: translateY(-2px);
}

/* Social Links */
.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.4);
}

/* Language Toggle */
#languageToggle {
    border-radius: 25px;
    padding: 8px 16px;
    transition: all 0.3s ease;
    color: white !important;
    border-color: white !important;
    background-color: transparent !important;
}

#languageToggle:hover {
    background-color: white !important;
    border-color: white !important;
    color: var(--secondary-color) !important;
    transform: scale(1.05);
}

#languageToggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Smaller floating icons on mobile */
    .floating-icon {
        width: 30px;
        height: 30px;
        backdrop-filter: blur(3px) saturate(110%);
        -webkit-backdrop-filter: blur(3px) saturate(110%);
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .floating-icon img {
        opacity: 0.3;
        padding: 3px;
        filter: blur(0.6px) drop-shadow(0 0 3px rgba(0, 0, 0, 0.15)) brightness(1.02) contrast(1.02);
    }
    
    .floating-icon:hover img {
        opacity: 0.45;
        filter: blur(0.4px) drop-shadow(0 0 6px rgba(0, 0, 0, 0.25)) brightness(1.05) contrast(1.05);
    }
    
    .floating-icon:hover {
        backdrop-filter: blur(4px) saturate(120%) brightness(105%);
        -webkit-backdrop-filter: blur(4px) saturate(120%) brightness(105%);
        background: rgba(255, 255, 255, 0.1);
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    }
    
    /* Reduce animation intensity on mobile */
    .floating-icon:nth-child(1) {
        animation: pulse 6s ease-in-out infinite;
    }
    
    .floating-icon:nth-child(2) {
        animation: swing 8s ease-in-out infinite;
    }
    
    .floating-icon:nth-child(3) {
        animation: bounce 7s ease-in-out infinite;
    }
    
    .floating-icon:nth-child(4) {
        animation: wobble 9s ease-in-out infinite;
    }
    
    .floating-icon:nth-child(5) {
        animation: rotate360 12s linear infinite;
    }
    
    .floating-icon:nth-child(6) {
        animation: floatWave 8s ease-in-out infinite;
    }
    
    .floating-icon:nth-child(7) {
        animation: heartbeat 5s ease-in-out infinite;
    }
    
    .floating-icon:nth-child(8) {
        animation: spiral 15s ease-in-out infinite;
    }
    
    .floating-icon:nth-child(9) {
        animation: shake 6s ease-in-out infinite;
    }
    
    .floating-icon:nth-child(10) {
        animation: zoom 7s ease-in-out infinite;
    }
    
    .floating-icon:nth-child(11) {
        animation: drift 12s ease-in-out infinite;
    }
    
    .floating-icon:nth-child(12) {
        animation: pendulum 9s ease-in-out infinite;
    }
    
    .floating-icon:nth-child(13) {
        animation: orbit 18s linear infinite;
    }
    
    .floating-icon:nth-child(14) {
        animation: flutter 6s ease-in-out infinite;
    }
    
    .floating-icon:nth-child(15) {
        animation: ripple 8s ease-in-out infinite;
    }
    
    .product-card,
    .brand-card {
        margin-bottom: 2rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .brand-text {
        display: none;
    }
    
    /* Branches responsive design */
    .branch-card {
        margin-bottom: 1.5rem;
    }
    
    .branch-header {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .branch-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .branch-info h5 {
        font-size: 1.1rem;
    }
    
    .branch-info p {
        font-size: 0.8rem;
    }
    
    .branch-map iframe {
        height: 180px;
    }
    
    .branch-actions {
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .branch-actions .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* WhatsApp responsive design */
    .whatsapp-contact-section {
        padding: 2rem 1.5rem;
    }
    
    .whatsapp-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .whatsapp-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .whatsapp-content h5 {
        font-size: 1.2rem;
    }
    
    .quick-contact-info {
        padding: 1.5rem 1rem;
    }
    
    .quick-info-item {
        padding: 0.75rem;
    }
    
    .quick-info-item i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .product-card,
    .brand-card {
        padding: 2rem 1.5rem;
    }
    
    /* Branches mobile optimization */
    .branch-header {
        padding: 0.75rem;
    }
    
    .branch-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .branch-info h5 {
        font-size: 1rem;
    }
    
    .branch-info p {
        font-size: 0.75rem;
    }
    
    .branch-map iframe {
        height: 160px;
    }
    
    .branch-actions {
        padding: 0.5rem 0.75rem;
    }
    
    .branch-actions .btn {
        font-size: 0.75rem;
        padding: 0.35rem 0.6rem;
    }
}

/* Smooth Scrolling for Navigation */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--secondary-color));
}

/* Arabic Font Optimizations */
.btn {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

.lead {
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
    line-height: 1.8;
}

.card-title, .brand-card h4, .product-card h4 {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

.contact-item h5 {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

/* Arabic Number Styling */
[dir="rtl"] .display-1, [dir="rtl"] .display-2, [dir="rtl"] .display-3, [dir="rtl"] .display-4 {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
}

/* Better Arabic text rendering */
[lang="ar"] {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Arabic punctuation improvements */
[dir="rtl"] {
    quotes: "«" "»" "‹" "›";
}

/* Branches Section */
.branch-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    height: 100%;
}

.branch-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.branch-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%, 
                rgba(255, 255, 255, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.branch-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
    flex-shrink: 0;
}

.branch-info h5 {
    margin: 0 0 0.5rem 0;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    font-family: 'Cairo', sans-serif;
}

.branch-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
    font-family: 'Cairo', sans-serif;
}

.branch-map {
    position: relative;
    overflow: hidden;
}

.branch-map iframe {
    transition: all 0.3s ease;
    filter: grayscale(20%) contrast(1.1);
}

.branch-card:hover .branch-map iframe {
    filter: grayscale(0%) contrast(1.2);
    transform: scale(1.02);
}

.branch-actions {
    padding: 1rem 1.5rem;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.branch-actions .btn {
    flex: 1;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Cairo', sans-serif;
}

.branch-actions .btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.branch-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
    color: white;
}

.branch-actions .btn-secondary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    color: white;
}

.branch-actions .btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.4);
    color: white;
}



/* Floating Buttons */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float-btn:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-float-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.3);
    color: white;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.back-to-top-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.6);
}

.back-to-top-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.3);
}

/* Responsive Floating Buttons */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float-btn {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
    
    .back-to-top {
        bottom: 80px;
        right: 15px;
    }
    
    .back-to-top-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .whatsapp-float {
        bottom: 10px;
        right: 10px;
    }
    
    .whatsapp-float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .back-to-top {
        bottom: 70px;
        right: 10px;
    }
    
    .back-to-top-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-section,
    .contact-form,
    .whatsapp-float,
    .back-to-top,
    footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        font-family: 'Cairo', sans-serif;
    }
    
    .section-title {
        color: #000 !important;
        font-family: 'Cairo', sans-serif;
    }
}

/* Brands Carousel Animations */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    }
}

/* Brands Grid Styles */
.brands-grid-container {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    background: #ffffff;
    padding: 40px 0;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.brand-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-card {
    background: white;
    border-radius: 15px;
    padding: 25px 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    max-width: 280px;
    position: relative;
    overflow: hidden;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(0);
    opacity: 1;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.brand-card:hover::before {
    transform: scaleX(1);
}

.brand-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.brand-logo {
    margin-bottom: 15px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    max-height: 50px;
    max-width: 100px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.8;
    animation: logoFloat 3s ease-in-out infinite;
}

.brand-card:hover .brand-logo img {
    opacity: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    transform: scale(1.05);
}

.brand-logo-text {
    font-size: 2rem;
    font-weight: 900;
    color: #007bff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.brand-logo-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 86, 179, 0.1) 100%);
    border-radius: 10px;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.brand-card:hover .brand-logo-text::before {
    transform: scale(1.1);
}



.brand-card h4 {
    color: #2c3e50;
    margin-bottom: 0;
    font-weight: 700;
    font-size: 1.5rem;
    font-family: 'Cairo', sans-serif;
}



/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    animation: buttonPulse 3s ease-in-out infinite;
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.carousel-btn-prev {
    left: -25px;
}

.carousel-btn-next {
    right: -25px;
}

.carousel-btn i {
    font-size: 1.2rem;
    color: #007bff;
    transition: color 0.3s ease;
}

.carousel-btn:hover i {
    color: #0056b3;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dee2e6;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.carousel-dot.active {
    background: #007bff;
    transform: scale(1.2);
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}

.carousel-dot:hover {
    background: #adb5bd;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .brands-grid-container {
        padding: 30px 0;
    }
    
    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 0 15px;
    }
    
    .brand-card {
        padding: 20px 15px;
        height: 160px;
        max-width: 280px;
    }
    
    .brand-logo {
        height: 50px;
        margin-bottom: 10px;
    }
    
    .brand-logo img {
        max-height: 45px;
        max-width: 90px;
    }
    
    .brand-card h4 {
        font-size: 1.3rem;
        margin-bottom: 0;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn-prev {
        left: -20px;
    }
    
    .carousel-btn-next {
        right: -20px;
    }
    
    .carousel-btn i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .brands-grid-container {
        padding: 25px 0;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }
    
    .brand-card {
        padding: 15px 10px;
        height: 140px;
        max-width: 250px;
    }
    
    .brand-card h4 {
        font-size: 1.1rem;
    }
    
    .brand-logo {
        height: 35px;
        margin-bottom: 8px;
    }
    
    .brand-logo img {
        max-height: 35px;
        max-width: 70px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
    
    .carousel-btn-prev {
        left: -17px;
    }
    
    .carousel-btn-next {
        right: -17px;
    }
}