/* ===== ABOUT HERO SECTION - AMAZING ANIMATED BACKGROUND ===== */

.about-hero-section {
    height: 100vh;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.about-hero-section .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* ===== AMAZING ANIMATED BACKGROUND - POWER PLATFORM STYLE ===== */
.hero-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* Static Color Base - Clean Professional Background */
.bg-gradient-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0A2248;
}

/* Geometric Shapes Layer - Floating circles */
.bg-particles-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

.bg-particles-layer::before,
.bg-particles-layer::after {
    content: '';
    position: absolute;
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: shapeFloat 20s ease-in-out infinite;
}

.bg-particles-layer::before {
    width: 400px;
    height: 400px;
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.bg-particles-layer::after {
    width: 300px;
    height: 300px;
    bottom: -10%;
    left: -5%;
    animation-delay: -10s;
}

@keyframes shapeFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(30px, -40px) rotate(90deg) scale(1.1); }
    50% { transform: translate(-20px, -20px) rotate(180deg) scale(0.9); }
    75% { transform: translate(-40px, 30px) rotate(270deg) scale(1.05); }
}

/* Glowing Orbs Layer - Soft ambient light effects */
.bg-waves-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bg-waves-layer::before,
.bg-waves-layer::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: orbFloat 18s ease-in-out infinite;
}

.bg-waves-layer::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.bg-waves-layer::after {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent);
    bottom: -200px;
    right: -200px;
    animation-delay: -9s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    33% { transform: translate(50px, -60px) scale(1.2); opacity: 0.6; }
    66% { transform: translate(-40px, 40px) scale(0.9); opacity: 0.3; }
}

/* Beautiful Grid Layer */
.bg-glow-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.6;
}

.bg-glow-layer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: lightRaySlide 10s ease-in-out infinite;
    transform: translateY(-50%);
}

.bg-glow-layer::after {
    content: '';
    position: absolute;
    top: 30%;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: lightRaySlideReverse 12s ease-in-out infinite;
    transform: translateY(-50%);
}

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

@keyframes lightRaySlideReverse {
    0% { right: -100%; }
    100% { right: 100%; }
}

/* ===== HERO CONTENT ===== */
.about-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    color: white;
    text-align: left;
}

.hero-left-content {
    flex: 1;
    max-width: 550px;
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.1);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 120, 212, 0.2); }
    100% { text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 188, 242, 0.4); }
}

.text-gradient {
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #f1f5f9 20%, 
        #e2e8f0 40%, 
        #cbd5e1 60%, 
        #94a3b8 80%, 
        #64748b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    position: relative;
    display: inline-block;
    text-shadow: none;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: subtitleFade 6s ease-in-out infinite alternate;
}

@keyframes subtitleFade {
    0% { opacity: 0.9; }
    100% { opacity: 1; }
}

.hero-cta-group {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.hero-cta-group .btn-primary,
.hero-cta-group .btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta-group .btn-primary {
    background: linear-gradient(135deg, #0078d4, #00bcf2);
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 120, 212, 0.4);
    animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% { box-shadow: 0 5px 15px rgba(0, 120, 212, 0.4); }
    50% { box-shadow: 0 8px 25px rgba(0, 120, 212, 0.6); }
}

.hero-cta-group .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 120, 212, 0.8);
}

.hero-cta-group .btn-secondary {
    background: transparent;
    color: #00bcf2;
    border: 2px solid #00bcf2;
    box-shadow: 0 0 10px rgba(0, 188, 242, 0.3);
}

.hero-cta-group .btn-secondary:hover {
    background: #00bcf2;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 188, 242, 0.5);
}

.hero-right-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 600px;
    animation: imageFloat 8s ease-in-out infinite;
}

@keyframes imageFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(1deg); }
    50% { transform: translateY(-10px) rotate(0deg); }
    75% { transform: translateY(-20px) rotate(-1deg); }
}

.hero-main-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 120, 212, 0.2);
    animation: imageShadow 4s ease-in-out infinite alternate;
}

@keyframes imageShadow {
    0% { 
        box-shadow: 
            0 20px 50px rgba(0, 0, 0, 0.3),
            0 0 30px rgba(0, 120, 212, 0.2);
    }
    100% { 
        box-shadow: 
            0 25px 60px rgba(0, 0, 0, 0.4),
            0 0 50px rgba(0, 188, 242, 0.4);
    }
}

/* Add subtle particles overlay */
.hero-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 185, 0, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(0, 120, 212, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 60% 40%, rgba(16, 124, 16, 0.06) 0%, transparent 20%);
    border-radius: 25px;
    animation: particleOverlay 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes particleOverlay {
    0%, 100% { opacity: 0.6; transform: rotate(0deg); }
    50% { opacity: 1; transform: rotate(5deg); }
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .about-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-left-content {
        max-width: 100%;
    }
    
    .hero-main-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .about-hero-section {
        padding: 60px 0;
        min-height: auto;
    }

    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        gap: 10px;
    }

    .hero-cta-group .btn-primary,
    .hero-cta-group .btn-secondary {
        width: 100%;
    }

    .hero-visual {
        max-width: 90%;
    }
}

/* ===== DIGITAL SOLUTIONS INTRO SECTION ===== */
.digital-solutions-intro {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0 !important;
}

.digital-solutions-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 120, 212, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0, 188, 242, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.intro-visual-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
}

.intro-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    animation: iconFloat 4s ease-in-out infinite;
}

.intro-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 20px;
    border: 2px solid rgba(0, 120, 212, 0.2);
    animation: pulse 3s ease-in-out infinite;
    z-index: -1;
}

.intro-image-wrapper::after {
    content: '';
    position: absolute;
    inset: -30px;
    border-radius: 25px;
    border: 1px solid rgba(0, 188, 242, 0.1);
    animation: pulse 3s ease-in-out infinite 1.5s;
    z-index: -1;
}

.intro-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 
        0 10px 40px rgba(0, 120, 212, 0.2),
        0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-image:hover {
    transform: scale(1.02);
    box-shadow: 
        0 15px 50px rgba(0, 120, 212, 0.3),
        0 8px 30px rgba(0, 0, 0, 0.15);
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

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


.intro-content {
    position: relative;
    z-index: 1;
}

.intro-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0a2248;
    line-height: 1.3;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 20px;
}

.intro-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0078d4, #00bcf2);
    border-radius: 2px;
    animation: lineGrow 2s ease-in-out infinite alternate;
}

@keyframes lineGrow {
    0% { width: 60px; opacity: 0.7; }
    100% { width: 100px; opacity: 1; }
}

.intro-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    text-align: justify;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.8);
    border-left: 4px solid #0078d4;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.intro-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #0078d4, #00bcf2, #0078d4);
    animation: borderFlow 3s linear infinite;
}

@keyframes borderFlow {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* RTL Support */
[dir="rtl"] .intro-title::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .intro-description {
    border-left: none;
    border-right: 4px solid #0078d4;
    text-align: justify;
}

[dir="rtl"] .intro-description::before {
    left: auto;
    right: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .digital-solutions-intro {
        padding: 60px 0 !important;
    }
    
    .intro-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .intro-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    [dir="rtl"] .intro-title::after {
        right: 50%;
        left: auto;
        transform: translateX(50%);
    }
    
    .intro-visual-wrapper {
        margin-bottom: 30px;
    }
    
    .intro-image-wrapper {
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    .digital-solutions-intro {
        padding: 50px 0 !important;
    }
    
    .intro-title {
        font-size: 1.75rem;
    }
    
    .intro-description {
        font-size: 1rem;
        padding: 15px 20px;
    }
    
    .intro-image-wrapper {
        max-width: 350px;
    }
}