/* 1. Global Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
}

/* 2. Navbar Section */
.navbar {
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(212, 175, 55, 0.2);
}

.nav-link {
    font-weight: 600;
    padding: 10px 20px !important;
    margin: 0 5px;
    border-radius: 8px;
    transition: 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background: rgba(212, 175, 55, 0.1);
    color: #FFD700 !important;
}

.logo-box {
    width: 180px;
    height: 70px;
}

/* 3. Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.hero-bg {
    position: absolute;
    inset: 0; /* بديل لـ top, left, width, height */
    background: url('./Photos/role.jpeg') center/cover no-repeat;
    z-index: 1;
}

.overlay-layer {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 2;
}

.content-layer {
    position: relative;
    z-index: 3;
    padding: 100px 20px;
    text-align: center;
}

/* 4. UI Components */
.yellow-text { color: #FFD700; font-weight: 700; }

.yellow-line {
    width: 80px;
    height: 4px;
    background: #FFD700;
    margin: 10px auto; /* إضافة ميزان للخط */
}

.company-description {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.btn-yellow {
    background: #FFD700;
    color: #000;
    font-weight: 700;
    padding: 12px 35px;
    border-radius: 50px;
    transition: 0.3s ease;
    text-decoration: none;
}

.btn-yellow:hover {
    background: #FFED4E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* 5. Product Cards */

.card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);  cursor: pointer;
    border: 1px solid rgba(255, 193, 7, 0.2) !important; 
}

.card:hover {
    transform: translateY(-10px); 
        background-color: #1a1a1a !important; 
    border-color: #ffc107 !important; 
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.15); 
}

.card:hover .bi {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.btn-dark:hover {
    background-color: #000 !important;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.testimonial-card {
    transition: all 0.3s ease-in-out;
}

.testimonial-card:hover {
    border-color: #ffc107 !important; /* لون الإطار يصفر عند الهوفر */
    transform: scale(1.02); /* تكبير خفيف جداً */
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.05);
}

.testimonial-card i.bi-quote {
    transition: transform 0.5s ease;
}

.testimonial-card:hover i.bi-quote {
    transform: rotate(15deg) scale(1.1);
    opacity: 0.5 !important;
}
/* ستايل شبكة الشعارات - طرفة */
.brand-item {
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 110px; 
    opacity: 0.6; 

    filter: grayscale(100%); }

/* تأثير الهوفر */
.brand-item:hover {
    opacity: 1; /* ظهور كامل عند الهوفر */
    filter: grayscale(0%); /* عودة الألوان الأصلية (أو الإضاءة لو الشعار أبيض) */
    background-color: #1d1d1d !important; /* تفتيح الخلفية سنة */
    border-color: #ffc107 !important; /* حدود صفراء */
    transform: translateY(-5px) scale(1.05); /* حركة لفوق وتكبير خفيف */
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.1); /* ظل أصفر خفيف جـداً */
}

.brand-logo {
    max-height: 60px;

    width: auto;
    object-fit: contain;
        transition: transform 0.4s ease;
}

/* ريسبونسف إضافي للموبايل */
@media (max-width: 576px) {
    .brand-item {
        min-height: 90px;
        padding: 1rem !important;
    }
    .brand-logo {
        max-height: 45px;
    }
}