/* About Us Page Styles */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05) 0%, rgba(135, 206, 235, 0.1) 100%);
    overflow: hidden;
    padding: 4rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(135, 206, 235, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite alternate;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4A90E2 0%, #87CEEB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #556877;
    line-height: 1.6;
}

.hero-visual {
    position: relative;
}

.hero-icon {
    position: relative;
    z-index: 1;
    margin-left: 50%;
    color: #4A90E2;
    animation: floatIcon 6s ease-in-out infinite;
    font-size: 10rem;    /* For font icons */
    margin-top: -1%;
}

/* Optional: Keep animation smooth */
@keyframes floatIcon {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}


.floating-shape {
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2);
    backdrop-filter: blur(10px);
}

.section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.section-alt {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.03) 0%, rgba(135, 206, 235, 0.05) 100%);
}

.section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    animation: pulse 6s ease-in-out infinite alternate;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 2rem;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #4A90E2 0%, #87CEEB 100%);
    border-radius: 3px;
}

.lead {
    font-size: 1.2rem;
    color: #334155;
    line-height: 1.8;
}

p {
    color: #556877;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease-out forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease-out forwards;
}

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

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Call to Action Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite alternate;
}

.btn-light {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.9);
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}


.container-image-about{

    height: 300px;
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px;
    

}

.container-text-about {
    width: 60%;
    padding: 20px;
    text-align: left;
}

/* Mobile-first responsive design */
@media (max-width: 768px) {
  .d-flex.flex-row {
    flex-direction: column !important;
  }
  
  .container-image-about {
    width: 100% !important;
    height: 200px;
    margin: 0 0 1rem 0;
  }
  
  .container-text-about {
    width: 100% !important;
    padding: 0;
  }
  
  .hero-title {
    font-size: 2rem;
    text-align: center;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    text-align: center;
  }
  
  .hero-icon {
    font-size: 6rem;
    margin-left: 0;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section h2 {
    font-size: 1.8rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 80px 0 2rem 0;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .hero-icon {
    font-size: 4rem;
    margin-left: 0;
    margin-top: 0;
  }
  
  .hero-visual {
    margin-bottom: 2rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section h2 {
    font-size: 1.4rem;
  }
  
  .container-image-about {
    height: 150px;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .btn-light, .btn-outline-light {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* Workflow Timeline Styles */
.workflow-section {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.02) 0%, rgba(135, 206, 235, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.workflow-section::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation: pulse 8s ease-in-out infinite alternate;
}

.workflow-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

/* Workflow wires */
.workflow-wire {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, #4A90E2, #87CEEB);
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0);
    transition: transform 0.6s ease-out, opacity 0.3s ease-out;
}

.workflow-wire.animate {
    opacity: 1;
    transform: scaleX(1);
}

.workflow-wire.pulse {
    animation: pulseWire 1s infinite alternate;
}

@keyframes pulseWire {
    from { box-shadow: 0 0 6px rgba(74,144,226,0.5); }
    to   { box-shadow: 0 0 12px rgba(74,144,226,0.9); }
}

.timeline-step {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.timeline-step::before {
    content: attr(data-step);
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #4A90E2, #87CEEB);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.timeline-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.15);
}

/* Step highlight animation */
.timeline-step.highlight {
    box-shadow: 0 0 15px rgba(74,144,226,0.4);
    transform: scale(1.03);
    transition: all 0.4s ease;
}

.timeline-step.highlight .step-icon {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4A90E2, #87CEEB);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.step-icon i {
    font-size: 1.8rem;
    color: white;
}

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

.step-content h5 {
    color: #334155;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.step-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #4A90E2 0%, #87CEEB 100%);
    color: white;
}

.stats-section h2 {
    color: white;
}

.stats-section h2::after {
    background: rgba(255,255,255,0.3);
}

.stat-card {
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .workflow-timeline {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .workflow-wire {
        display: none !important;
    }
    
    .timeline-step::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: 3px;
        height: 40px;
        background: repeating-linear-gradient(
            180deg,
            #4A90E2 0px,
            #4A90E2 6px,
            transparent 6px,
            transparent 12px
        );
        opacity: 0;
        animation: mobileWireShow 0.8s ease-out forwards;
        animation-delay: calc(var(--step-index, 0) * 0.3s);
    }
    
    .timeline-step:last-child::after {
        display: none;
    }
    
    @keyframes mobileWireShow {
        0% { opacity: 0; height: 0; }
        100% { opacity: 0.8; height: 40px; }
    }
    
    .timeline-step {
        padding: 1.5rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
    }
    
    .step-icon i {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .timeline-step {
        padding: 1.2rem;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .step-icon i {
        font-size: 1.3rem;
    }
    
    .step-content h5 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}