/* about.css - تنسيقات صفحة عنا */

.about-story-img {
    max-height: 180px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.about-values .rounded-circle {
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.about-stats h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.about-stats .text-muted {
    font-size: 1.1rem;
}

@media (max-width: 767px) {
    .about-story-img {
        max-width: 100%;
        max-height: 120px;
    }
} 

.elegant-about-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
    font-family: 'Tajawal', sans-serif;
  }
  
  .elegant-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .elegant-title-box {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
  }
  
  .elegant-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    position: relative;
    z-index: 2;
  }
  
  .elegant-underline {
    height: 4px;
    width: 60%;
    background: linear-gradient(90deg, #2c3e50, #3498db);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
  }
  
  .elegant-subtitle {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 600px;
  }
  
  /* تأثيرات بسيطة عند التمرير */
  .elegant-title {
    transition: all 0.4s ease;
    transform: translateY(20px);
    opacity: 0;
  }
  
  .elegant-subtitle {
    transition: all 0.4s ease 0.2s;
    transform: translateY(20px);
    opacity: 0;
  }
  
  .active .elegant-title,
  .active .elegant-subtitle {
    transform: translateY(0);
    opacity: 1;
  }

/* Luxury Design - Updated without Gold Colors */
.luxury-story-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.luxury-story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.05) 0%, rgba(41, 128, 185, 0.05) 100%);
    pointer-events: none;
}

.story-content {
    position: relative;
    z-index: 2;
}

.luxury-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    padding: 12px 30px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.luxury-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.badge-text {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.luxury-title {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.luxury-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 2rem;
}

.luxury-progress {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.progress-value {
    font-weight: 700;
    color: #3498db;
    font-size: 1.2rem;
}



.luxury-card {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    border-radius: 20px;
    padding: 2rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.4s ease;
}

.luxury-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(41, 128, 185, 0.1) 100%);
    pointer-events: none;
}

.card-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.luxury-image-container {
    position: relative;
    margin-bottom: 1.5rem;
}

/* 3D Image Effects - Larger Image */
.image-3d-wrapper {
    position: relative;
    display: inline-block;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.4s ease;
}

.image-3d-wrapper:hover {
    transform: rotateY(10deg) rotateX(5deg) translateZ(20px);
}

.luxury-image-3d {
    max-height: 250px;
    width: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    transform: translateZ(0);
    position: relative;
    z-index: 2;
}

.image-3d-shadow {
    position: absolute;
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    transform: translateZ(-10px);
    filter: blur(5px);
    z-index: 1;
}

.image-3d-reflection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 3;
}

.image-3d-wrapper:hover .image-3d-reflection {
    opacity: 1;
}

.luxury-icon-container {
    margin-bottom: 1.5rem;
}

/* 3D Icon Effects */
.icon-3d-wrapper {
    position: relative;
    display: inline-block;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.4s ease;
}

.icon-3d-wrapper:hover {
    transform: rotateY(15deg) rotateX(10deg) translateZ(30px);
}

.luxury-icon-3d {
    font-size: 5rem;
    color: #3498db;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    transform: translateZ(0);
    position: relative;
    z-index: 2;
}

.icon-3d-shadow {
    position: absolute;
    top: 8px;
    left: 8px;
    right: -8px;
    bottom: -8px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    transform: translateZ(-15px);
    filter: blur(8px);
    z-index: 1;
}

.luxury-icon-3d:hover {
    transform: translateZ(10px);
    color: #2980b9;
}

.luxury-stats {
    text-align: center;
}

.stats-number {
    font-size: 3rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.stats-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.stats-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Vision & Mission Cards - Ensure Text Visibility */
.card {
    background: white !important;
}

.card-body {
    background: white !important;
}

.card h3,
.card p {
    color: #333 !important;
}

.text-dark {
    color: #333 !important;
}

/* Values Section */
.values-section .text-muted {
    color: #6c757d !important;
}

/* Statistics Section */
.stats-section h2 {
    color: inherit !important;
}

.stats-section .text-muted {
    color: #6c757d !important;
}

/* Progress Bar - RTL Direction */
.progress-bar-container {
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin: 10px 0;
    direction: rtl;
    width: 100%;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
    border-radius: 4px;
    transition: width 1.5s ease;
    width: 0%;
    display: block;
    min-width: 0%;
    position: relative;
    right: 0;
    left: auto;
    float: right;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

.progress-bar-fill.animating {
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.6);
    background: linear-gradient(90deg, #3498db 0%, #2980b9 50%, #3498db 100%);
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out;
}

.progress-bar-fill.completed {
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.8);
    background: linear-gradient(90deg, #27ae60 0%, #2ecc71 100%);
    transform: scale(1.02);
    transition: all 0.5s ease;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Progress Value Animation */
.progress-value {
    font-weight: 700;
    color: #3498db;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.progress-value.animating {
    transform: scale(1.1);
    color: #2980b9;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

/* Stats Number Animation Fix */
.stats-number {
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .luxury-title {
        font-size: 3rem;
    }
    
    .luxury-card {
        min-height: 250px;
        padding: 1.5rem;
    }
    
    .stats-number {
        font-size: 2.5rem;
    }
    
    .luxury-icon-3d {
        font-size: 4rem;
    }
    
    .luxury-image-3d {
        max-height: 200px;
    }
    
    .image-3d-wrapper:hover {
        transform: rotateY(5deg) rotateX(3deg) translateZ(10px);
    }
    
    .icon-3d-wrapper:hover {
        transform: rotateY(8deg) rotateX(5deg) translateZ(15px);
    }
}