
/* Theme Name: Opera Theme Theme URI: https://opera-company.ly Author: Opera Company Author URI: https://opera-company.ly Description: ثيم احترافي لشركة 
اوبرا لاستيراد المواد الغذائية 
Version: 1.0 License: GNU General Public Licensev2 or later Text Domain: fusion */
/* ================== تحميل الخط ================== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

/* ================== إعادة تعيين العناصر ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:where(h1) {
    font-size: 2em;
    margin-block: 0.67em;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.8;
    color: #333;
    background: #f8f9fa;
    direction: rtl;
}

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

/* ================== الهيدر ================== */
.site-header {
    position: static;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    background: linear-gradient(to right, #b3b3b3, #ffffff8f, #fefefe);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
    height: 70px;
    border-top: solid #ec4d00 4px;
    border-bottom: solid #ec4d00 4px;
}

.desktop-menu {
    margin-left: auto;
    padding: 0 100px;
}

.logo {
    position: absolute;
    left: 20px;
    z-index: 2;
}

.site-logo,
.custom-logo {
    height: 60px !important;
  width: auto;
  transition: transform 0.3s ease;
  margin-top: 0px;
  border: 3px solid #ff3e7d;
  border-radius: 5px;
}

.site-logo:hover,
.custom-logo:hover {
    transform: scale(1.05);
}

/* ================== القائمة الرئيسية (الحاسوب) ================== */
.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 600;
}

.nav-menu>li {
    position: relative;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px 0;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: #ff003c;
    border-bottom: 3px solid #ff003c;
}

/* ================== القوائم الفرعية (الحاسوب) ================== */
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 100;
}

.nav-menu .sub-menu li {
    padding: 8px 15px;
}

.nav-menu .sub-menu a {
    color: #555;
    padding: 8px 15px;
    display: block;
    border-bottom: none;
    font-size: 1rem;
    transition: background 0.3s, color 0.3s;
}

.nav-menu .sub-menu a:hover {
    color: #1a3a6c;
    background: #f5f9ff;
    border-radius: 4px;
}

.nav-menu>li:hover .sub-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================== قائمة الجوال ================== */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border: 2px solid #1a3a6c;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 4px;
    background: #ec4d00;
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 80px;
}

.menu-toggle:hover {
    background: #f0f4f8;
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #fff;
    transition: left 0.5s ease;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 20px 0;
    border-bottom: solid #ec4d00 4px;
}

.mobile-menu.active {
    left: 0;
    border-top: solid #ec4d00 4px;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list>li {
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.mobile-menu-list a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    padding: 30px 20px;
    transition: background 0.3s, color 0.3s;
    border-top: 2px solid red;
    border-bottom: 2px solid red;
    text-align: right;
}

.mobile-menu-list a:hover,
.mobile-menu-list a:focus {
    color: #1a3a6c;
    background: #f5f9ff;
    border-radius: 6px;
}

/* ================== القوائم الفرعية في الجوال ================== */
.mobile-menu .sub-menu {
    display: none;
    margin: 8px 20px;
    padding: 10px 0;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mobile-menu .sub-menu.show {
    display: block;
}

.mobile-menu .sub-menu a {
    font-size: 1rem;
    color: #555;
    padding: 6px 20px;
    display: block;
}

.mobile-menu .sub-menu a:hover {
    background: #e9f0f7;
    color: #1a3a6c;
}

.mobile-menu .menu-item-has-children>a {
    position: relative;
    color: #1a3a6c !important;
    font-weight: 600;
    padding-right: 20px;
}

.mobile-menu .menu-item-has-children>a::after {
    content: '▼';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    color: #ec4d00;
    transition: transform 0.3s ease;
}

.mobile-menu .menu-item-has-children>a.expanded::after {
    transform: translateY(-50%) rotate(180deg);
}

/* ================== السلايدر المعدل ================== */
.image-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    min-height: 600px;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 8s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}

.slide.active .slide-bg {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 3;
    width: 90%;
    max-width: 1000px;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.8s ease 0.3s;
}

.slide.active .slide-content {
    opacity: 1;
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease forwards;
}

.slide-content p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-nav .nav-btn {
    position: absolute;
    top: 80%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-nav .nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav .prev {
    left: 30px;
}

.slider-nav .next {
    right: 30px;
}

.slider-nav .nav-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
}

@keyframes zoomOut {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    .image-slider {
        height: 80vh;
        min-height: 500px;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .slider-nav .nav-btn {
        width: 50px;
        height: 50px;
    }

    .slider-dots {
        bottom: 20px;
    }
}

/* ================== الهيرو ================== */
.hero {
    background: linear-gradient(135deg, #1a3a6c, #2c5a9a);
    color: white;
    text-align: center;
    padding: 180px 20px 120px;
    margin-top: 70px;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ================== أزرار CTA ================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 15px;
}

.btn-primary {
    background: #ec4d00;
    color: white;
    border: 2px solid #ec4d00;
}

.btn-primary:hover {
    background: #d14000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(236, 77, 0, 0.3);
}

.btn-light {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.35);
    color: white;
    transform: translateY(-2px);
    border-color: white;
}

/* ================== قسم الخدمات ================== */
.services {
    padding: 100px 0;
    background: #fff;
}

.services .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-box {
    width: 100%;
    max-width: 1100px;
    text-align: center;
}

.section-box h2 {
    font-size: 2.2rem;
    color: #1a3a6c;
    margin-bottom: 20px;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-item {
    background: #f8faff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #ec4d00;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    border-color: #1a3a6c;
    color: white;
}

.service-item h3 {
    color: #d92406;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-item p {
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ================== الرؤية، الرسالة، القيم ================== */
.values {
    padding: 100px 0;
    background: #f8f9fa;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 25px;
}

.value-item {
    background: #f0f4f8;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.value-item h3 {
    color: #d92406;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.value-item ul {
    text-align: right;
    margin-top: 10px;
}

.value-item ul li {
    margin: 8px 0;
    color: #444;
    font-weight: 600;
}

/* ================== الصناعات التي نخدمها ================== */
.industries {
    padding: 100px 0;
    background: #fff;
}

.industries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.industry-tag {
    background: #1a3a6c;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.industry-tag:hover {
    background: #ec4d00;
    box-shadow: 0 8px 15px rgba(236, 77, 0, 0.4);
    cursor: pointer;
}

/* ================== تذييل الموقع ================== */
.site-footer {
    background: #1a1a2e;
    color: #e0e0e0;
    padding: 10px 20px 20px;
    border-top: solid #ec4d00 5px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 0px 10px;
}

.footer-section {
    width: 100%;
    max-width: 600px;
}

.footer-section h4 {
    text-align: center;
    margin-bottom: 20px;
}

.footer-menu {
    display: block;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li a {
    text-align: center;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.contact-info li {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: #f27534;
    color: white;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
    border: solid 1px white;
}

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

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    background: #161625;
    color: #888;
    font-size: 14px;
    width: 100%;
    border-top: 1px solid #2a2a3a;
}

/* ================== استجابات مختلفة ================== */
@media (max-width: 1024px) {
    .desktop-menu {
        padding: 0 20px;
    }

    .services-grid,
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .site-header .container {
        padding: 0 10px;
        height: 70px;
    }

    .logo {
        position: absolute;
        left: 10px;
        margin-right: auto;
        margin-left: auto;
    }

    .desktop-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 140px 20px 100px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

/* ================== تأثيرات وتهيئة إضافية ================== */
a {
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* منع التمرير الأفقي مع الحفاظ على الرأسي */
html,
body {
    overflow-x: hidden;
    width: 100%;
}

.container,
.header,
.footer,
section {
    max-width: 100vw;
}

/* بقية الأكواد الأخرى تبقى كما هي دون تغيير */
/* إصلاح مشاكل العناصر المسببة للتمرير الأفقي */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* أنماط قسم العلامات */
.brands-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    margin: 0px 0;
}

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

.brands-track {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 150px;
    padding: 25px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.brand-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #2c7be5;
    transition: all 0.3s ease;
}

.brand-item span {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a3a6c;
    text-align: center;
}

/* تأثيرات التحويم */
.brand-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.brand-item:hover i {
    color: #ec4d00;
    transform: scale(1.2);
}

/* التكيف مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .brands-track {
        gap: 15px;
    }

    .brand-item {
        min-width: 120px;
        padding: 20px 15px;
    }

    .brand-item i {
        font-size: 2rem;
    }

    .brand-item span {
        font-size: 1.1rem;
    }
}

/* التصميم الحديث */
.modern-brands {
    padding: 80px 0;
    background: #0f172a;
    position: relative;
    overflow-x: auto;
    /* يسمح بالتمرير الأفقي إذا لزم الأمر */
    overflow-y: hidden;
}

/* إخفاء شريط التمرير أفقي */
.modern-brands::-webkit-scrollbar {
    display: none;
}

.modern-brands::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(56, 182, 255, 0.2) 0%, transparent 70%);
    animation: pulse 8s infinite alternate;
}

/* التكيف مع الشاشات المتوسطة */
@media (max-width: 1024px) {
    .glowing-card {
        flex: 0 0 calc(33.333% - 20px);
        /* 3 عناصر في الصف */
    }
}

/* التكيف مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .glowing-container {
        justify-content: flex-start;
        /* محاذاة لليسار */
        padding: 15px;
    }

    .glowing-card {
        flex: 0 0 calc(50% - 15px);
        /* عنصرين في الصف */
        min-width: 160px;
    }
}

/* للهواتف الصغيرة جداً */
@media (max-width: 480px) {
    .glowing-card {
        flex: 0 0 100%;
        /* عنصر واحد في الصف */
    }
}

.glowing-container {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    /* منع الانتقال لصف جديد */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-width: fit-content;
    /* يتكيف مع المحتوى الداخلي */
}

.glowing-card {
    width: 220px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.glowing-card::before {
    flex: 0 0 calc(16.666% - 20px);
    /* 6 عناصر في الصف */
    min-width: 180px;
    /* عرض أدنى لكل بطاقة */
    padding: 30px 15px;
    /* بقية الأنماط كما هي */
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    transition: all 0.5s ease;
}

.glowing-card i {
    font-size: 2.2rem;
    color: white;
    transition: all 0.5s ease;
}

.glowing-card h3 {
    font-size: 1.4rem;
    color: white;
    font-weight: 600;
    margin: 0;
    position: relative;
}

.glowing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
}

.glowing-card:hover::before {
    animation: shine 1.5s;
    opacity: 1;
}

.glowing-card:hover .icon-box {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #ec4899, #f43f5e);
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0.2;
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .glowing-container {
        gap: 20px;
    }

    .glowing-card {
        width: 160px;
        padding: 30px 15px;
    }

    .icon-box {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .glowing-card i {
        font-size: 1.8rem;
    }

    .glowing-card h3 {
        font-size: 1.2rem;
    }
}

.icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    /* بقية الأنماط */
}

.glowing-card h3 {
    font-size: 1.2rem;
    white-space: nowrap;
    /* منع تكسر النص */
    overflow: hidden;
    text-overflow: ellipsis;
    /* ... إذا طال النص */
}

.stats-section {
    background: linear-gradient(135deg, #061937, #204d8c);
    color: white;
    text-align: center;
    border-top: solid 4px #ec4d00;
    border-bottom: solid 4px #ec4d00;
    transition: transform 0.2s ease;
    user-select: none;
}

.stats-section:active {
    transform: scale(0.98) !important;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    padding: 30px;
    position: relative;
}
.stat-number {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ec4d00;
  border: 3px solid #ec4d00;
  border-radius: 50%;
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 10px;
  margin: 0 auto 10px;
}
.stat-number::before {
  content: "+";       /* العلامة */
  font-size: 3.5rem;    /* حجمها */
  margin-left: 5px;   /* مسافة بينها وبين الرقم */
  color: #ec4d00;     /* نفس لون الرقم */
}
.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* تأثيرات قسم الاتصال السريع */
.quick-contact {
    background: #1a3a6c;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.contact-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #ec4d00;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #ec4d00;
}

.contact-btn:hover {
    background: transparent;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(236, 77, 0, 0.3);
}

/* تأثيرات الظهور عند التمرير */
[data-aos] {
    transition: all 0.8s ease;
}

.aos-init:not(.aos-animate) {
    opacity: 0;
    transform: translateY(30px);
}

.site-footer {
    background: #1a1a2e;
    color: #e0e0e0;
    padding: 10px 20px 20px;
    font-family: 'Cairo', sans-serif;
    line-height: 1.8;
    border-top: solid #ec4d00 5px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

/* شعار الفوتر */
.footer-logo {
    max-height: 60px;
    margin-bottom: 15px;
    TEXT-ALIGN: -webkit-center;
}
.footer-logo img {
    max-width: 100px !important;
    BORDER: SOLID 3PX #f27534;
    margin-top: 50px;
    background: linear-gradient(#696969, #ffffffe3);
    border-radius: 10px;
}

.footer-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.footer-section p {
    color: #ccc;
    font-size: 14px;
    margin: 0;
}

/* روابط سريعة */
.footer-section h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 50%;
    /* يبدأ من منتصف العنصر */
    transform: translateX(-50%);
    /* يرجع للخلف بنسبة 50% من عرضه */
    bottom: 0;
    width: 200px;
    height: 2px;
    background: #f27534;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #0f766e;
    padding-right: 5px;
}

/* معلومات الاتصال */
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 15px;
}

.contact-info i.icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
    margin-left: 10px;
    color: #0f766e;
    font-style: normal;
}

.contact-info a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #fff;
}

/* وسائل التواصل */
.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    background: #f27534;
    color: white;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, background 0.3s;
}

.social-links a:hover {
    background: #f00;
    transform: translateY(-3px);
}

.social-icon {
    font-family: Arial, sans-serif;
    font-size: 16px;
}

/* حقوق النشر */
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    background: #161625;
    color: #888;
    font-size: 14px;
    border-top: 1px solid #2a2a3a;
}

/* الاستجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .social-links,
    .footer-menu {
        justify-content: center;
    }
}

/* تمركز عام لكل محتوى الأقسام */
.section-wrapper,
.services,
.about,
.industries,
.values {
    text-align: center;
}

.section-box h2,
.hero h1,
.hero p,
.slide-content h2,
.slide-content p {
    text-align: center;
}

/* تمركز العناوين في الخدمات */
.service-item h3,
.service-item p {
    text-align: center;
}

/* تمركز قائمة الصناعات */
.industries-grid {
    justify-content: center;
}

/* تمركز زر CTA إن وُجد */
.btn {
    margin: 15px auto;
    display: table;
}

/* قسم الاتصال */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info-box,
.contact-form-box {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-info-box h3,
.contact-form-box h3 {
    color: #1a3a6c;
    margin-bottom: 25px;
    font-size: 1.6rem;
    border-bottom: 3px solid #ec4d00;
    padding-bottom: 10px;
}

/* تفاصيل الاتصال */
.contact-details {
    list-style: none;
    margin: 20px 0;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
}

.contact-details i.icon {
    font-style: normal;
    font-size: 1.2em;
    color: #d14605;
    margin-top: 4px;
}

.contact-details a {
    color: #1a3a6c;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: #ec4d00;
}

/* نموذج الاتصال */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a3a6c;
}

/* الأزرار */
.btn-primary {
    background: #ec4d00;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #d14000;
}

/* وسائل التواصل */
.social-links {
    margin-top: 30px;
}

.social-links h4 {
    margin-bottom: 15px;
    color: #333;
}

.social-links a {
display: inline-flex;
  width: 36px;
  height: 36px;
  background: #fff;
  color: #f27534;
  justify-content: center;
  align-items: center;
  border-radius: 55%;
  margin-right: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s;
  border: solid 3px;
}

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

/* تأثيرات الحركة والأنيميشن */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes slideInfinite {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* شريط العلامات التجارية */
.brands-bar {
    overflow: hidden;
    padding: 30px 0;
    background: #f8f9fa;
}

.brands-track {
    display: flex;
    width: 200%;
}

.brand-item {
    flex: 0 0 12.5%;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-item img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-item:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    padding: 30px;
    position: relative;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* تأثيرات الخدمات */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin: 20px;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a3a6c, #ec4d00);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.service-item:hover::before {
    opacity: 1;
}

.service-item:hover h3,
.service-item:hover p {
    color: white;
}

/* تأثيرات المشاريع */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.project-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 58, 108, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 20px;
    text-align: center;
    color: white;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-item:hover .project-image img {
    transform: scale(1.1);
}

/* تأثيرات فريق العمل */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.5s ease;
    opacity: 0;
    transform: translateY(30px);
}

.team-member.animated {
    opacity: 1;
    transform: translateY(0);
}

.member-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

.member-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: rgba(236, 77, 0, 0.8);
    transition: bottom 0.3s ease;
}

.team-member:hover .member-social {
    bottom: 0;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

/* تأثيرات قسم الاتصال السريع */
.quick-contact {
    background: #1a3a6c;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.contact-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #ec4d00;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #ec4d00;
}

.contact-btn:hover {
    background: transparent;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(236, 77, 0, 0.3);
}

/* تأثيرات الظهور عند التمرير */
[data-aos] {
    transition: all 0.8s ease;
}

.aos-init:not(.aos-animate) {
    opacity: 0;
    transform: translateY(30px);
}

/* ================== العلامات المتحركة الجديدة ================== */
.infinite-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
    padding: 20px 0;
    margin: 40px 0;
    border-top: 2px solid #ec4d00;
    border-bottom: 2px solid #ec4d00;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
    padding: 20px 0;
    border-top: 2px solid #ec4d00;
    border-bottom: 2px solid #ec4d00;
    position: relative;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
    white-space: nowrap;
}

.marquee-item {
    padding: 0 40px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a3a6c;
    flex-shrink: 0;
    position: relative;
}

.marquee-item:after {
    content: "•";
    position: absolute;
    right: 0;
    color: #ec4d00;
}

.marquee-item i {
    margin-left: 10px;
    font-size: 1.8rem;
    color: #ec4d00;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* تأثير عند التمرير */
.marquee-item:hover {
    color: #ec4d00;
    transform: scale(1.1);
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .marquee-item {
        margin: 0 20px;
        font-size: 1.2rem;
    }

    .marquee-item i {
        font-size: 1.4rem;
    }
}

/* ========== أنماط الشريط المتحرك الدائري ========== */
.continuous-marquee-section {
    padding: 30px 0;
    background: #f8f9fa;
    border-top: 2px solid #ec4d00;
    border-bottom: 2px solid #ec4d00;
    margin: 40px 0;
    overflow: hidden;
}

.continuous-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.continuous-marquee-track {
    display: flex;
    width: fit-content;
    animation: continuous-marquee-scroll 30s linear infinite;
    white-space: nowrap;
}

.continuous-marquee-item {
    display: flex;
    align-items: center;
    padding: 0 40px;
    position: relative;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a3a6c;
    flex-shrink: 0;
}

.continuous-marquee-item:before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #ec4d00;
    border-radius: 50%;
    margin-left: 40px;
}

.continuous-marquee-item:first-child:before {
    display: none;
}

.marquee-text {
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.continuous-marquee-item:hover .marquee-text {
    color: #ec4d00;
    transform: translateY(-3px);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.33%);
    }
}

@keyframes continuous-marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* التكيف مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .continuous-marquee-item {
        padding: 0 25px;
        font-size: 1.4rem;
    }

    .continuous-marquee-item:before {
        margin-left: 25px;
        width: 6px;
        height: 6px;
    }
}

.circular-marquee {
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
    padding: 20px 0;
    border-top: 2px solid #ec4d00;
    border-bottom: 2px solid #ec4d00;
}

.marquee-inner {
    display: flex;
    width: max-content;
    animation: circular-marquee 20s linear infinite;
}

.marquee-element {
    padding: 0 40px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a3a6c;
    position: relative;
    flex-shrink: 0;
}

.marquee-element:after {
    content: "•";
    position: absolute;
    right: 0;
    color: #ec4d00;
}

.marquee-element:last-child:after {
    display: none;
}

@keyframes circular-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% + 100vw));
    }
}

/* أنماط الشريط الثابت */
.static-brands-section {
    padding: 30px 0;
    background: #f8f9fa;
    border-top: 2px solid #ec4d00;
    border-bottom: 2px solid #ec4d00;
    margin: 40px 0;
}

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

.static-brands-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.static-brand-item {
    padding: 10px 25px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a3a6c;
    position: relative;
}

.static-brand-item:not(:last-child):after {
    content: "•";
    position: absolute;
    left: -15px;
    color: #ec4d00;
}

/* التكيف مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .static-brands-inner {
        gap: 15px;
    }

    .static-brand-item {
        font-size: 1.4rem;
        padding: 8px 15px;
    }

    .static-brand-item:after {
        left: -10px;
    }
}

/* منع التمرير الأفقي مع الحفاظ على الرأسي */
html,
body {
    overflow-x: hidden;
    width: 100%;
}

/* تأكد من أن جميع العناصر لا تتجاوز عرض الشاشة */
.container,
.header,
.footer,
section {
    max-width: 100vw;
}

/* إصلاح مشاكل العناصر المسببة للتمرير الأفقي */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* أنماط قسم العلامات */
.brands-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    margin: 0px 0;
}

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

.brands-track {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 150px;
    padding: 25px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.brand-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #2c7be5;
    transition: all 0.3s ease;
}

.brand-item span {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a3a6c;
    text-align: center;
}

/* تأثيرات التحويم */
.brand-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.brand-item:hover i {
    color: #ec4d00;
    transform: scale(1.2);
}

/* التكيف مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .brands-track {
        gap: 15px;
    }

    .brand-item {
        min-width: 120px;
        padding: 20px 15px;
    }

    .brand-item i {
        font-size: 2rem;
    }

    .brand-item span {
        font-size: 1.1rem;
    }
}

/* التصميم الحديث */
.modern-brands {
    padding: 80px 0;
    background: #0f172a;
    position: relative;
    overflow-x: auto;
    /* يسمح بالتمرير الأفقي إذا لزم الأمر */
    overflow-y: hidden;
}

/* إخفاء شريط التمرير أفقي */
.modern-brands::-webkit-scrollbar {
    display: none;
}

.modern-brands::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(56, 182, 255, 0.2) 0%, transparent 70%);
    animation: pulse 8s infinite alternate;
}

/* التكيف مع الشاشات المتوسطة */
@media (max-width: 1024px) {
    .glowing-card {
        flex: 0 0 calc(33.333% - 20px);
        /* 3 عناصر في الصف */
    }
}

/* التكيف مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .glowing-container {
        justify-content: flex-start;
        /* محاذاة لليسار */
        padding: 15px;
    }

    .glowing-card {
        flex: 0 0 calc(50% - 15px);
        /* عنصرين في الصف */
        min-width: 160px;
    }
}

/* للهواتف الصغيرة جداً */
@media (max-width: 480px) {
    .glowing-card {
        flex: 0 0 100%;
        /* عنصر واحد في الصف */
    }
}

.glowing-container {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    /* منع الانتقال لصف جديد */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-width: fit-content;
    /* يتكيف مع المحتوى الداخلي */
}

.glowing-card {
    width: 220px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.glowing-card::before {
    flex: 0 0 calc(16.666% - 20px);
    /* 6 عناصر في الصف */
    min-width: 180px;
    /* عرض أدنى لكل بطاقة */
    padding: 30px 15px;
    /* بقية الأنماط كما هي */
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    transition: all 0.5s ease;
}

.glowing-card i {
    font-size: 2.2rem;
    color: white;
    transition: all 0.5s ease;
}

.glowing-card h3 {
    font-size: 1.4rem;
    color: white;
    font-weight: 600;
    margin: 0;
    position: relative;
}

.glowing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
}

.glowing-card:hover::before {
    animation: shine 1.5s;
    opacity: 1;
}

.glowing-card:hover .icon-box {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.brands-section {
    padding: 4rem 0;
    background: #0f172a;
    position: relative;
    overflow: hidden; /* لمنع أي تداخل خارج الإطار */
    border-top: solid 4px #ec4d00;
    border-bottom: solid 4px #ec4d00;
}

.brands-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(56, 182, 255, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.brand-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgb(236, 77, 0);
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    position: relative;
    overflow: visible; /* للتأكد من أن التأثيرات لا تقطع */
}

/* مساحة إضافية للتحويم بدون التأثير على التخطيط */
.brand-card::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.brand-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: all 0.6s ease;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    position: relative;
    z-index: 2;
}

.brand-card i {
    font-size: 1.8rem;
    color: white;
    transition: inherit;
    z-index: 3;
}

.brand-card h3 {
    color: white;
    font-size: 1.1rem;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* تأثيرات التحويم المعدلة */
.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
    border-color: rgba(59, 130, 246, 0.4);
    z-index: 10; /* للتأكد من ظهوره فوق العناصر الأخرى */
}

.brand-card:hover .brand-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.5);
}

.brand-card:hover i {
    transform: scale(1.2);
}

/* تأثير البريق المعدل */
.brand-card:hover::before {
    animation: shine 1.5s;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

/* تحسينات للتفاعل */
.brand-card {
    cursor: pointer;
    user-select: none;
}

/* تحسينات للهواتف */
@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .brand-icon {
        width: 60px;
        height: 60px;
    }
    
    .brand-card {
        padding: 1.25rem 0.75rem;
    }
    
    .brand-card:hover {
        transform: translateY(-5px);
    }
}

/* لمنع تداخل الزووم على الهواتف */
@media (hover: none) {
    .brand-card:hover {
        transform: none !important;
    }
}


/* تحسين مظهر قائمة معلومات الاتصال */
.contact-details {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
    transition: transform 0.2s ease;
}

.contact-details li:hover {
    transform: translateX(5px);
}

.contact-details .icon {
    font-size: 1.4rem;
    color: #ec4d00;
    background: #f0f0f0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-details .contact-text {
    flex: 1;
}

.contact-details a {
    color: #1a3a6c;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: #ec4d00;
    text-decoration: underline;
}

/* وسائل التواصل الاجتماعي */
.social-links-page {
    margin-top: 30px;
    text-align: center;
}

.social-links-page h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.social-icons-page {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon-link-page {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #d14605;
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon-link-page:hover {
    background: #ec4d00;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* صفحة من نحن - أنماط عامة */
.about-page {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-page .section-box {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.about-page p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* بطاقات الرؤية، الرسالة، القيم */
.values-cards {
    padding: 80px 0;
    background: #ffffff;
}

.values-cards .container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.value-card {
    flex: 1 1 300px;
    max-width: 350px;
    border-radius: 16px;
    padding: 40px 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

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

.value-card h3 {
    color: #1a3a6c;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.value-card p {
    color: #555;
    line-height: 1.7;
}

/* بطاقات القيم */
.value-card .values-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.value-card .values-list li {
    background: #1a3a6c;
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    display: inline-block;
    margin: 5px;
    font-size: 0.9rem;
}

/* قسم الهيرو - خدماتنا */
.hero-services {
    position: relative;
    width: 100%;
    height: 550px;
    background: linear-gradient(135deg, #1a3a6c 0%, #2c5a9a 100%);
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
    border-top: solid 4px #ec4d00;
    border-bottom: solid 4px #ec4d00;
}

/* خلفية ديناميكية (تأثير دوائر متحركة) */
.hero-services::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s infinite alternate ease-in-out;
    z-index: 0;
}

.hero-services::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 77, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite alternate-reverse ease-in-out;
    z-index: 0;
}

/* محتوى الهيرو */
.hero-services .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-services-content h1 {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.8px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.2s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-services-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.4s;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* زخرفة تحت النص */
.hero-services-decoration {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.hero-services-decoration .line {
    display: inline-block;
    width: 80px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
}

.hero-services-decoration .icon {
    font-size: 1.8rem;
    opacity: 0.9;
    animation: pulse 2s infinite alternate;
}

/* التأثيرات */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(20px, -20px);
    }
}

@keyframes pulse {
    from {
        transform: scale(1);
        opacity: 0.8;
    }
    to {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .hero-services {
        height: 450px;
    }
    .hero-services-content h1 {
        font-size: 2.8rem;
    }
    .hero-services-content p {
        font-size: 1.2rem;
    }
    .hero-services-decoration .line {
        width: 50px;
    }
   .footer-logo {
    display: none;
  }
}

@media (max-width: 480px) {
    .hero-services {
        height: 400px;
    }
    .hero-services-content h1 {
        font-size: 2.3rem;
    }
    .hero-services-content p {
        font-size: 1.1rem;
    }
    .hero-services-decoration .icon {
        font-size: 1.5rem;
    }
}

/* نسخة الديسكتوب فقط */
@media (min-width: 992px) {
    
    .footer-section.about .footer-logo {
        display: block;
        margin-top: 10px; /* مسافة بين النص والشعار */
        max-width: 150px;
        height: auto;
    }
    .site-footer .footer-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr; /* 3 أقسام جنب بعض */
        gap: 40px;
        align-items: flex-start;
    }

    .site-footer .footer-section {
        text-align: -webkit-center; /* أو left حسب اللغة */
    }

    .site-footer .footer-section.about p {
        max-width: 80%;
        line-height: 1.8;
    }

    .site-footer .footer-section.links ul {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-content: center;
    }

    .site-footer .footer-section.contact ul {
        display: flex;
        flex-direction: column;
        gap: 6px;
     	align-content: center;
    }

    .site-footer .social-links {
        margin-top: 10px;
    }
    
    .site-footer .footer-bottom {
        grid-column: 1 / -1; /* ياخذ العرض كامل */
        text-align: center;
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid #ddd;
    }

}
/* ================== أنماط صور الخدمات ================== */
.service-image {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 12px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

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

.service-item:hover .service-thumbnail {
    transform: scale(1.1);
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .service-image {
        height: 150px;
    }
}

/* تحسينات لشاشات الكمبيوتر اللوحي */
@media (max-width: 1024px) {
    .service-image {
        height: 180px;
    }
}