
/* تخصيص صفحة شركة أويا */
.bg-gradient-primary {
    background: linear-gradient(-135deg, #FF6210 0%, #FF8040 100%);
}

.text-shadow {
    text-shadow: -2px 2px 4px rgba(0,0,0,0.3);
}

.company-logo-container {
    margin-top: 30px;
    margin-bottom: 3rem;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 10;
}

.logo-wrapper {
    position: relative;
    display: inline-block;
    padding: 3rem;
    text-align: center;
    width: 100%;
    margin-top: 30px;
}

/* Responsive للـ logo-wrapper */
@media (max-width: 768px) {
    .logo-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .logo-wrapper {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo-wrapper {
        padding: 1rem;
    }
}

.company-logo {
    max-height: 250px;
    max-width: 350px;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 60px rgba(255, 98, 16, 0.3));
    transition: all 0.3s ease;
    animation: logoFloat 3s ease-in-out infinite;
}

.company-logo:hover {
    transform: scale(1.1) rotate(-2deg);
    filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 100px rgba(255, 98, 16, 0.7));
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 60px rgba(255, 98, 16, 0.3));
    }
    50% {
        transform: translateY(-10px);
        filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 80px rgba(255, 98, 16, 0.5));
    }
}

/* تصميم أسماء الشركة */
.company-name-arabic {
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
    animation: textSlideIn 1.5s ease-out 0.5s both;
}

.company-title-arabic {
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 
        -3px 3px 0px rgba(0, 0, 0, 0.8),
        -6px 6px 0px rgba(255, 98, 16, 0.6),
        0 0 30px rgba(255, 255, 255, 0.8),
        0 0 60px rgba(255, 98, 16, 0.6);
    letter-spacing: 4px;
    text-transform: uppercase;
    position: relative;
    animation: titlePulse 2s ease-in-out infinite;
    background: linear-gradient(-45deg, #ffffff, #fff8f0, #ffffff, #fff8f0);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.company-title-arabic::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: 50%;
    transform: translateX(50%);
    width: 150px;
    height: 5px;
    background: linear-gradient(-90deg, transparent, #FF6210, #ffffff, #FF6210, transparent);
    border-radius: 3px;
    box-shadow: 
        0 0 20px rgba(255, 98, 16, 0.8),
        0 0 40px rgba(255, 255, 255, 0.6);
    animation: lineExpand 1.5s ease-out 1.5s both;
}

.company-subtitle-arabic {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0;
    text-shadow: 
        -2px 2px 0px rgba(0, 0, 0, 0.8),
        -4px 4px 0px rgba(255, 98, 16, 0.5),
        0 0 25px rgba(255, 255, 255, 0.7),
        0 0 50px rgba(255, 98, 16, 0.5);
    letter-spacing: 3px;
    position: relative;
    animation: subtitleFloat 2.5s ease-in-out infinite 0.5s;
    background: linear-gradient(-45deg, #fff8f0, #ffffff, #fff8f0, #ffffff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes textSlideIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titlePulse {
    0%, 100% {
        background-position: 100% 50%;
        transform: scale(1);
        text-shadow: 
            -3px 3px 0px rgba(0, 0, 0, 0.8),
            -6px 6px 0px rgba(255, 98, 16, 0.6),
            0 0 30px rgba(255, 255, 255, 0.8),
            0 0 60px rgba(255, 98, 16, 0.6);
    }
    50% {
        background-position: 0% 50%;
        transform: scale(1.05);
        text-shadow: 
            -4px 4px 0px rgba(0, 0, 0, 0.9),
            -8px 8px 0px rgba(255, 98, 16, 0.8),
            0 0 40px rgba(255, 255, 255, 1),
            0 0 80px rgba(255, 98, 16, 0.8);
    }
}

@keyframes subtitleFloat {
    0%, 100% {
        background-position: 100% 50%;
        transform: translateY(0);
        text-shadow: 
            -2px 2px 0px rgba(0, 0, 0, 0.8),
            -4px 4px 0px rgba(255, 98, 16, 0.5),
            0 0 25px rgba(255, 255, 255, 0.7),
            0 0 50px rgba(255, 98, 16, 0.5);
    }
    50% {
        background-position: 0% 50%;
        transform: translateY(-5px);
        text-shadow: 
            -3px 3px 0px rgba(0, 0, 0, 0.9),
            -6px 6px 0px rgba(255, 98, 16, 0.7),
            0 0 35px rgba(255, 255, 255, 0.9),
            0 0 70px rgba(255, 98, 16, 0.7);
    }
}

@keyframes lineExpand {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 120px;
        opacity: 1;
    }
}

.company-name-english {
    margin-bottom: 2rem;
}

.company-title-english {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.company-subtitle-english {
    font-size: 1.4rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.company-name-english-secondary {
    margin-bottom: 2rem;
}

.company-title-english-secondary {
    font-size: 2.2rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 0;
    font-family: serif;
}

/* Responsive للشعار */
@media (max-width: 1200px) {
    .company-logo {
        max-height: 230px;
        max-width: 330px;
    }
    
    .company-title-arabic {
        font-size: 3.5rem;
        letter-spacing: 3px;
    }
    
    .company-subtitle-arabic {
        font-size: 2.2rem;
        letter-spacing: 2.5px;
    }
}

@media (max-width: 992px) {
    .company-logo {
        max-height: 210px;
        max-width: 310px;
    }
    
    .company-title-arabic {
        font-size: 3rem;
        letter-spacing: 2.5px;
    }
    
    .company-subtitle-arabic {
        font-size: 2rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 768px) {
    .company-logo {
        max-height: 190px;
        max-width: 290px;
    }
    
    .company-title-arabic {
        font-size: 2.5rem;
        letter-spacing: 2px;
        margin-bottom: 0.8rem;
    }
    
    .company-subtitle-arabic {
        font-size: 1.8rem;
        letter-spacing: 1.5px;
    }
    
    .company-title-english {
        font-size: 1.6rem;
    }
    
    .company-subtitle-english {
        font-size: 1.2rem;
    }
    
    .company-title-english-secondary {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .company-logo {
        max-height: 170px;
        max-width: 270px;
    }
    
    .company-title-arabic {
        font-size: 2.2rem;
        letter-spacing: 1.5px;
        margin-bottom: 0.6rem;
    }
    
    .company-subtitle-arabic {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .company-title-english {
        font-size: 1.4rem;
    }
    
    .company-subtitle-english {
        font-size: 1.1rem;
    }
    
    .company-title-english-secondary {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .company-logo {
        max-height: 150px;
        max-width: 250px;
    }
    
    .company-title-arabic {
        font-size: 2rem;
        letter-spacing: 1px;
        margin-bottom: 0.5rem;
    }
    
    .company-subtitle-arabic {
        font-size: 1.3rem;
        letter-spacing: 0.5px;
    }
    
    .company-title-english {
        font-size: 1.2rem;
    }
    
    .company-subtitle-english {
        font-size: 1rem;
    }
    
    .company-title-english-secondary {
        font-size: 1.6rem;
    }
}

.company-intro {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.hover-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.icon-container {
    width: 70px;
    height: 70px;
    background: linear-gradient(-135deg, #FF6210, #FF8040);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white !important;
    transition: all 0.3s ease;
}

.icon-container:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 98, 16, 0.3);
}

.icon-container i {
    color: white !important;
}

.service-card {
    border-radius: 15px;
    overflow: hidden;
}

.service-features .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.company-stats {
    background: linear-gradient(-135deg, #f8f9fa 0%, #e9ecef 100%);
}

.stat-item {
    padding: 1rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.additional-services {
    background: linear-gradient(-135deg, #f8f9fa 0%, #e9ecef 100%);
}

.additional-services .d-flex {
    padding: 1rem;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.additional-services .d-flex:hover {
    background-color: rgba(255, 98, 16, 0.1);
}

/* تحسين الأزرار */
.btn-lg {
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* تحسين البطاقات */
.card {
    border-radius: 15px;
    overflow: hidden;
}

.card-body {
    position: relative;
}

/* تأثيرات إضافية */
.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(-135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

/* طبقة خلفية للصورة - تحسين الشفافية */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: url('../../images/bg7.jpg') center center/cover no-repeat;
    background-attachment: fixed;
    opacity: 0.6;
    z-index: 1;
    animation: backgroundReveal 2s ease-out forwards;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
}

@keyframes backgroundReveal {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
        opacity: 0;
    }
    50% {
        clip-path: polygon(0 0, 50% 0, 50% 100%, 0% 100%);
        opacity: 0.3;
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        opacity: 0.6;
    }
}

/* طبقة إضافية للظل الأسود - تحسين التباين */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
    animation: overlayFade 2.5s ease-out 0.5s both;
}

@keyframes overlayFade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* قسم مستقبل البناء في ليبيا */
.construction-future-section {
    position: relative;
    overflow: hidden;
    background: url('../images/bg2.png') center center/cover no-repeat;
    background-attachment: fixed;
}

.construction-future-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: linear-gradient(-135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.construction-future-section .container {
    position: relative;
    z-index: 2;
}

/* تحسين الخلفية - طبقة التدرج الأسود */
/* تم إزالتها واستبدالها بطبقة رمادية شفافة */

/* التأكد من أن المحتوى فوق الخلفية */
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* طبقة إضافية للظل الأسود */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

/* تحسين النصوص */
.lead {
    font-size: 1.2rem;
    line-height: 1.8;
}

.display-3 {
    font-weight: 700;
}

/* تحسين العناوين الرئيسية */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

/* تم إزالة hero-title واستبداله بتصميم جديد */

/* تحسين العناوين الفرعية */
h2.h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

/* تحسين العناوين في البطاقات */
.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50 !important;
    margin-bottom: 1rem;
    position: relative;
}

/* تحسين النصوص في البطاقات */
.card-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #6c757d !important;
    text-align: justify;
    text-justify: inter-word;
}

/* تحسين النصوص في الأقسام */
.text-muted {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #495057 !important;
    text-align: justify;
    text-justify: inter-word;
}

/* تحسين العناوين في قسم الخدمات */
#services h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FF6210;
    margin-bottom: 1rem;
}

#services .lead {
    font-size: 1.3rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

/* تحسين العناوين في قسم الاتصال */
#contact h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FF6210;
    margin-bottom: 1rem;
}

/* تحسين العناوين في قسم الخدمات الإضافية */
.additional-services h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

/* تحسين النصوص في الخدمات الإضافية */
.additional-services span {
    font-size: 1.1rem;
    font-weight: 500;
    color: #495057;
}

/* تحسين العناوين في قسم نبذة عن الشركة */
#about h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* تحسين الخط الأفقي */
hr {
    border-width: 3px;
    opacity: 0.8;
    margin: 1.5rem auto;
}

hr.border-primary {
    border-color: #FF6210 !important;
}

hr.border-white {
    border-color: white !important;
}

/* تحسين النبذة */
.company-intro {
    position: relative;
    z-index: 10;
    margin-top: 2rem;
}

/* تصميم بطاقة نبذة الشركة */
.company-intro-card {
    background: linear-gradient(-135deg, #ffffff 0%, #f8f9fa 100%);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-radius: 20px;
}

.company-intro-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    background: linear-gradient(-135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
}

/* تصميم نص نبذة الشركة */
.company-intro-text {
    color: #34495e !important;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.9;
    text-align: justify;
    text-justify: inter-word;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* تمييز اسم الشركة */
.company-name-highlight {
    color: #2c3e50 !important;
    font-size: 1.4rem;
    font-weight: 900;
    text-shadow: -1px 1px 3px rgba(44, 62, 80, 0.1);
    display: block;
    margin-bottom: 1.5rem;
    padding: 0.8rem 0;
    position: relative;
    letter-spacing: 1px;
}

.company-name-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(-90deg, #FF6210, #FF8040, #FF6210);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 98, 16, 0.3);
}

/* تحسينات إضافية للشعار */
.company-logo-container {
    margin-top: -1rem;
    margin-bottom: 3rem;
    text-align: center;
    width: 100%;
}

/* Responsive للـ company-logo-container */
@media (max-width: 768px) {
    .company-logo-container {
        margin-top: -0.5rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 576px) {
    .company-logo-container {
        margin-top: 0;
        margin-bottom: 2rem;
    }
}

/* بطاقات الاستثمار مثل index.php */
.investment-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
}

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

.investment-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: linear-gradient(-135deg, #f8f9fa 0%, #e9ecef 100%);
}

.investment-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.investment-content {
    padding: 1.5rem;
}

.investment-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.investment-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6c757d;
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 0;
}

/* تحسين المسافات */
.py-5 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.mb-4 {
    margin-bottom: 2rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

/* مساحة إضافية في الأعلى */
.hero-top-spacing {
    height: 2rem;
    margin-bottom: 1.5rem;
}

/* تحسين القسم الرئيسي */
.hero-section {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

/* تحسين العنوان الرئيسي */
.hero-section h1 {
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

/* بطاقات الاتصال */
.contact-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-card-body {
    padding: 2rem;
}

.contact-card-body i {
    display: block;
    margin: 0 auto;
}

.contact-card-body h6 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin: 0;
}

.contact-card-body p {
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.whatsapp-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
}

.text-success {
    color: #25D366 !important;
}

/* تخصيص صفحة أعمال التدريبية */
.training-card {
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.training-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.training-icon-wrapper {
    margin-bottom: 1.5rem;
}

.training-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.training-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.training-services-list li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #495057;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.training-services-list li::before {
    content: "•";
    color: #FF6210;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}

/* تخصيص صفحة خدمات إضافية */
.additional-service-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

.additional-service-item i {
    font-size: 1.2rem;
    margin-left: 0.5rem;
    color: #FF6210;
}

/* تصميم بطاقات المميزات */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 98, 16, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(-90deg, #FF6210, #FF8040, #FF6210);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 98, 16, 0.2);
}

.feature-icon-wrapper {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.feature-icon-wrapper i {
    color: #FF6210;
    filter: drop-shadow(0 4px 8px rgba(255, 98, 16, 0.2));
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper i {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(255, 98, 16, 0.3));
}

.feature-content {
    text-align: center;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1.2rem;
    line-height: 1.4;
    position: relative;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(-90deg, #FF6210, #FF8040);
    border-radius: 1px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-title::after {
    opacity: 1;
}

.feature-description {
    color: #495057;
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    text-align: left;
}

.feature-list li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: "•";
    color: #FF6210;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}

/* تصميم قسم سنة التأسيس */
.established-bg {
    background: linear-gradient(-135deg, #FF6210 0%, #FF8040 50%, #FF6210 100%);
    position: relative;
    overflow: hidden;
}

.established-bg::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 2;
}

/* خلفية الفيديو */
.established-video-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.established-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.established-video-bg::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: linear-gradient(-135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.established-section {
    position: relative;
    z-index: 10;
}

.established-icon {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    z-index: 10;
    transition: all 0.4s ease;
}

.established-icon:hover {
    transform: scale(1.1) rotate(-5deg);
}

.established-title {
    background: linear-gradient(-45deg, #ffffff, #fff8f0, #ffffff, #fff8f0);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 
        -3px 3px 6px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(255, 255, 255, 0.3);
    position: relative;
    margin-bottom: 2rem;
    animation: titleGradient 4s ease-in-out infinite;
    z-index: 10;
    letter-spacing: 3px;
}

@keyframes titleGradient {
    0%, 100% { 
        background-position: 100% 50%; 
        text-shadow: 
            -3px 3px 6px rgba(0, 0, 0, 0.6),
            0 0 20px rgba(255, 255, 255, 0.3);
    }
    50% { 
        background-position: 0% 50%; 
        text-shadow: 
            -3px 3px 6px rgba(0, 0, 0, 0.6),
            0 0 30px rgba(255, 255, 255, 0.5);
    }
}

.established-description {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    text-shadow: -2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.8;
    z-index: 10;
    position: relative;
    transition: all 0.3s ease;
}

.established-description:hover {
    transform: translateY(-2px);
}

.established-icon i {
    color: #ffffff;
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 50px rgba(255, 255, 255, 0.3));
    transition: all 0.4s ease;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.established-icon:hover i {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 70px rgba(255, 255, 255, 0.5));
    color: #fff8f0;
}

.established-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(-90deg, transparent, #ffffff, #fff8f0, #ffffff, transparent);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.established-description {
    color: #fff8f0;
    font-size: 1.3rem;
    font-weight: 500;
    text-shadow: -2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.8;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

@keyframes gradientShift {
    0%, 100% { background-position: 100% 50%; }
    50% { background-position: 0% 50%; }
}

/* تحسين التجاوب لقسم سنة التأسيس */
@media (max-width: 768px) {
    .established-title {
        font-size: 2.8rem;
        letter-spacing: 2px;
    }
    
    .established-description {
        font-size: 1.2rem;
    }
    
    .established-icon i {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .established-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }
    
    .established-description {
        font-size: 1.1rem;
    }
    
    .established-icon i {
        font-size: 2.5rem;
    }
}

/* تحسين التجاوب لبطاقات المميزات */
@media (max-width: 768px) {
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .feature-description {
        font-size: 0.95rem;
    }
    
    .feature-icon-wrapper i {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
    
    .feature-icon-wrapper i {
        font-size: 2rem;
    }
    
    .feature-list li {
        font-size: 0.9rem;
    }
}

/* تصميم قسم التزامنا */
.commitment-section {
    background: linear-gradient(-135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.commitment-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,98,16,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.commitment-card {
    background: white;
    border-radius: 25px;
    padding: 3rem 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    border: 2px solid rgba(255, 98, 16, 0.1);
    transition: all 0.4s ease;
    overflow: hidden;
}

.commitment-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(-90deg, #FF6210, #FF8040, #FF6210);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

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

.commitment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 98, 16, 0.2);
}

.commitment-icon {
    margin-bottom: 2rem;
    position: relative;
}

.commitment-icon i {
    color: #FF6210;
    filter: drop-shadow(0 4px 8px rgba(255, 98, 16, 0.3));
    transition: all 0.4s ease;
    animation: iconPulse 2s ease-in-out infinite;
}

.commitment-card:hover .commitment-icon i {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 6px 12px rgba(255, 98, 16, 0.5));
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 8px rgba(255, 98, 16, 0.3));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 6px 12px rgba(255, 98, 16, 0.4));
    }
}

.commitment-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
    background: linear-gradient(-45deg, #2c3e50, #FF6210, #2c3e50);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGradient 3s ease-in-out infinite;
}

@keyframes titleGradient {
    0%, 100% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 0% 50%;
    }
}

.commitment-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(-90deg, #FF6210, #FF8040);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 98, 16, 0.3);
}

.commitment-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.commitment-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.decoration-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(-90deg, transparent, #FF6210, transparent);
    border-radius: 1px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.decoration-dot {
    width: 8px;
    height: 8px;
    background: #FF6210;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 98, 16, 0.5);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 98, 16, 0.5);
    }
    50% {
        transform: scale(1.3);
        box-shadow: 0 0 20px rgba(255, 98, 16, 0.8);
    }
}

.commitment-card:hover .decoration-line {
    opacity: 1;
    width: 80px;
}

/* تحسين التجاوب لقسم التزامنا */
@media (max-width: 768px) {
    .commitment-card {
        padding: 2.5rem 2rem;
    }
    
    .commitment-title {
        font-size: 2rem;
    }
    
    .commitment-description {
        font-size: 1.1rem;
    }
    
    .commitment-icon i {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .commitment-card {
        padding: 2rem 1.5rem;
    }
    
    .commitment-title {
        font-size: 1.8rem;
    }
    
    .commitment-description {
        font-size: 1rem;
    }
    
    .commitment-icon i {
        font-size: 2.5rem;
    }
    
    .decoration-line {
        width: 40px;
    }
    
    .commitment-card:hover .decoration-line {
        width: 60px;
    }
}

/* تصميم بطاقات خدمات النظافة */
.cleaning-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 98, 16, 0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cleaning-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(-90deg, #FF6210, #FF8040, #FF6210);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.cleaning-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 98, 16, 0.2);
}

.cleaning-icon-wrapper {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.cleaning-icon-wrapper i {
    color: #FF6210;
    filter: drop-shadow(0 4px 8px rgba(255, 98, 16, 0.2));
    transition: all 0.3s ease;
}

.cleaning-card:hover .cleaning-icon-wrapper i {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(255, 98, 16, 0.3));
}

.cleaning-content {
    text-align: center;
}

.cleaning-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1.2rem;
    line-height: 1.4;
    position: relative;
}

.cleaning-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(-90deg, #FF6210, #FF8040);
    border-radius: 1px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cleaning-card:hover .cleaning-title::after {
    opacity: 1;
}

.cleaning-description {
    color: #495057;
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 0;
}

/* تحسين التجاوب لبطاقات خدمات النظافة */
@media (max-width: 768px) {
    .cleaning-card {
        padding: 2rem 1.5rem;
    }
    
    .cleaning-title {
        font-size: 1.2rem;
    }
    
    .cleaning-description {
        font-size: 0.95rem;
    }
    
    .cleaning-icon-wrapper i {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .cleaning-card {
        padding: 1.5rem 1rem;
    }
    
    .cleaning-title {
        font-size: 1.1rem;
    }
    
    .cleaning-description {
        font-size: 0.9rem;
    }
    
    .cleaning-icon-wrapper i {
        font-size: 2rem;
    }
}

/* تصميم شريط الأعمال المتحرك */
.works-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.works-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
    width: max-content;
    direction: ltr; /* للإنجليزية */
}

.work-slide {
    min-width: 400px;
    flex-shrink: 0;
    direction: ltr; /* للإنجليزية */
}

.work-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 98, 16, 0.1);
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.work-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(-90deg, #FF6210, #FF8040);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 98, 16, 0.3);
}

.work-icon-wrapper {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.work-icon-wrapper i {
    color: #FF6210;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(255, 98, 16, 0.2));
}

.work-card:hover .work-icon-wrapper i {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 4px 8px rgba(255, 98, 16, 0.4));
}

.work-content {
    text-align: center;
}

.work-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.4;
    position: relative;
}

.work-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 50%;
    transform: translateX(50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(-90deg, #FF6210, #FF8040);
    border-radius: 1px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-card:hover .work-title::after {
    opacity: 1;
}

.work-description {
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 0;
}

/* أزرار التنقل */
.works-carousel-nav {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
    padding: 0 20px;
    direction: ltr; /* للإنجليزية */
}

.works-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(-135deg, #FF6210, #FF8040);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 98, 16, 0.3);
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.works-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(-90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: right 0.5s ease;
}

.works-nav-btn:hover::before {
    right: 100%;
}

.works-nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 98, 16, 0.4);
    background: linear-gradient(-135deg, #FF8040, #FF6210);
}

.works-nav-btn:active {
    transform: scale(0.95);
}

.works-nav-btn i {
    transition: transform 0.3s ease;
}

.works-nav-btn:hover i {
    transform: scale(1.2);
}

/* تحسين التجاوب لشريط الأعمال المتحرك */
@media (max-width: 768px) {
    .work-slide {
        min-width: 300px;
    }
    
    .work-card {
        padding: 1.5rem;
    }
    
    .work-title {
        font-size: 1.1rem;
    }
    
    .work-description {
        font-size: 0.9rem;
    }
    
    .work-icon-wrapper i {
        font-size: 1.5rem;
    }
    
    .works-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .work-slide {
        min-width: 280px;
    }
    
    .work-card {
        padding: 1.2rem;
    }
    
    .work-title {
        font-size: 1rem;
    }
    
    .work-description {
        font-size: 0.85rem;
    }
    
    .work-icon-wrapper i {
        font-size: 1.3rem;
    }
    
    .works-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}
