/* ============================================
   ABOUT PAGE STYLES - أنماط صفحة من نحن
   ============================================ */

/* Hero Section */
.about-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 20px 80px;
    background: radial-gradient(ellipse at center, #0a1628 0%, #020815 100%);
}

.about-hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #00d4ff;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

.about-hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
}

.about-hero-subtitle {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #00d4ff, #8b5cf6, #ff1744);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    animation: gradient-shift 5s ease infinite;
    background-size: 200% 200%;
}

.about-hero-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* Story Section - Portfolio Style with Enhanced Gradients */
.about-story-section {
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 25%, #e0f2fe 50%, #f1f5f9 75%, #f8fafc 100%);
}

/* Enhanced Glass Effect Cards - Ultra Transparent */
.about-story-section .glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-story-section .glass-card:hover {
    transform: scale(1.02);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.5);
}

/* Compact Card Styling */
.about-story-section .space-y-3 > div,
.about-story-section .space-y-4 > div {
    padding: 14px;
    min-height: auto;
}

.about-story-section .space-y-3 > div h3,
.about-story-section .space-y-4 > div h3 {
    font-size: 0.875rem;
    margin-bottom: 2px;
}

.about-story-section .space-y-3 > div p,
.about-story-section .space-y-4 > div p {
    font-size: 0.75rem;
    line-height: 1.5;
}

/* Section Header Styling */
.about-story-section .text-center {
    position: relative;
    z-index: 2;
}

.about-story-section .text-center h2 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.about-story-section .text-center p {
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
}

.about-section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    align-items: center;
}

.about-story-content {
    position: relative;
    z-index: 2;
}

.about-section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #00d4ff, #8b5cf6);
    color: white;
    font-weight: 600;
    font-size: 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #1f2937;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-section-desc {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.9;
    margin-bottom: 30px;
}

/* Visual Elements */
.about-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-visual-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(0, 212, 255, 0.3);
    animation: rotate-circle 20s linear infinite;
}

.about-visual-circle.large {
    width: 400px;
    height: 400px;
}

.about-visual-circle.medium {
    width: 300px;
    height: 300px;
    animation-duration: 15s;
    animation-direction: reverse;
}

.about-visual-circle.small {
    width: 200px;
    height: 200px;
    animation-duration: 10s;
}

.about-visual-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00d4ff, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4);
    animation: float 4s ease-in-out infinite;
}

/* Values Section - Portfolio Style */
.about-values-section {
    position: relative;
    padding: 100px 20px;
}

.about-values-header {
    text-align: center;
    margin-bottom: 80px;
}

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

.about-value-card {
    position: relative;
    padding: 40px 30px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

.about-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #8b5cf6, #ff1744);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-value-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

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

.about-value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00d4ff, #8b5cf6);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 25px;
    transition: transform 0.4s ease;
}

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

.about-value-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.about-value-desc {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.7;
}

/* Achievements Section - Portfolio Style */
.about-achievements-section {
    position: relative;
    padding: 100px 20px;
}

.about-achievements-header {
    text-align: center;
    margin-bottom: 80px;
}

.about-achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-achievement-card {
    position: relative;
    padding: 40px 20px;
    text-align: center;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.about-achievement-card:hover {
    transform: translateY(-10px);
    background: white;
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.about-achievement-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00d4ff, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    display: block;
}

.about-achievement-label {
    font-size: 1.125rem;
    color: #6b7280;
    font-weight: 600;
}

/* Why Us Section - Portfolio Style */
.about-why-us-section {
    position: relative;
    padding: 100px 20px;
}

.about-why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-why-card {
    position: relative;
    padding: 40px 30px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    overflow: hidden;
}

.about-why-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-why-card:hover::after {
    opacity: 1;
}

.about-why-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.about-why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff1744, #8b5cf6);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.about-why-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.about-why-desc {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* CTA Section - Portfolio Style */
.about-cta-section {
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
}

.about-cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.about-cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #1f2937;
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-cta-desc {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 40px;
    line-height: 1.8;
}

.about-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #00d4ff, #8b5cf6);
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.about-cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.about-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
}

.about-cta-button span,
.about-cta-button i {
    position: relative;
    z-index: 2;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

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

/* RTL Support */
[dir="rtl"] .about-badge,
[dir="rtl"] .about-section-badge {
    flex-direction: row-reverse;
}

[dir="rtl"] .about-cta-button {
    flex-direction: row-reverse;
}

[dir="rtl"] .about-story-grid {
    direction: rtl;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero {
        padding: 100px 20px 60px;
    }
    
    .about-hero-title {
        font-size: 2.5rem;
    }
    
    .about-hero-subtitle {
        font-size: 1.75rem;
    }
    
    .about-story-section,
    .about-values-section,
    .about-achievements-section,
    .about-why-us-section,
    .about-cta-section {
        padding: 60px 20px;
    }
    
    .about-section-title {
        font-size: 2rem;
    }
    
    .about-visual {
        height: 300px;
    }
    
    .about-visual-circle.large {
        width: 250px;
        height: 250px;
    }
    
    .about-visual-circle.medium {
        width: 180px;
        height: 180px;
    }
    
    .about-visual-circle.small {
        width: 120px;
        height: 120px;
    }
    
    .about-visual-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .about-values-grid,
    .about-why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .about-achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-achievement-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .about-achievements-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Background Effects */
.about-bg-effect {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
}

.about-bg-effect.cyan {
    background: #00d4ff;
    animation: pulse-slow 8s ease-in-out infinite;
}

.about-bg-effect.purple {
    background: #8b5cf6;
    animation: pulse-slow 8s ease-in-out infinite;
    animation-delay: 2s;
}

.about-bg-effect.pink {
    background: #ff1744;
    animation: pulse-slow 8s ease-in-out infinite;
    animation-delay: 4s;
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

/* Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #00d4ff, #8b5cf6, #ff1744);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button Hover Effect */
.btn-hover {
    position: relative;
    overflow: hidden;
}

.btn-hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hover:hover::before {
    width: 300px;
    height: 300px;
}

/* Smooth Spin Animation */
@keyframes smooth-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Float Animation */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Scroll Down Animation */
@keyframes scroll-down {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    80% {
        transform: translateY(16px);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.animate-scroll-down {
    animation: scroll-down 2s ease-in-out infinite;
}

/* Glowing Background Effects for Portfolio Sections */
.bg-gray-100 {
    position: relative;
}

.bg-gray-100::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.bg-white {
    position: relative;
}

.bg-white::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 23, 68, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0, 212, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* Enhanced Gradient Orb Animations */
@keyframes float-slow {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
    }
    33% { 
        transform: translate(30px, -30px) scale(1.05); 
    }
    66% { 
        transform: translate(-20px, 20px) scale(0.95); 
    }
}

@keyframes pulse-glow-soft {
    0%, 100% { 
        opacity: 0.1; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.15; 
        transform: scale(1.1); 
    }
}

@keyframes pulse-circle {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.05); 
        opacity: 0.8; 
    }
}

/* Glass Icon Circles Enhancement */
.about-story-section .icon-circle {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.about-story-section .icon-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
