/* About Page Specific Styles */

/* Hero Section */
.page-header {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M30,10 L50,30 L70,10 L90,30 L70,50 L90,70 L70,90 L50,70 L30,90 L10,70 L30,50 L10,30 Z" fill="none" stroke="rgba(40, 167, 69, 0.05)" stroke-width="1"/></svg>');
    opacity: 0.5;
}

/* Icon Box */
.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.icon-box-sm {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-bottom: 0;
}

.icon-box-lg {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

/* Hover Effects */
.hover-shadow {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.transition-all {
    transition: all 0.3s ease;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #e9ecef;
    transform: translateX(-50%);
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #28a745;
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.left {
    left: 0;
    padding-right: 70px;
    text-align: right;
}

.right {
    left: 50%;
    padding-left: 70px;
}

.left::after {
    right: -10px;
}

.right::after {
    left: -10px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #218838;
    color: white;
    transform: translateY(-3px);
}

/* Stats Counter */
.stats-item {
    text-align: center;
    padding: 30px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stats-item:hover {
    background: #f8f9fa;
    transform: translateY(-5px);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 10px;
    display: block;
}

.stats-label {
    color: #6c757d;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .timeline::before {
        left: 31px;
    }
    
    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        text-align: left;
    }
    
    .left, .right {
        left: 0;
        padding-right: 25px;
        text-align: left;
    }
    
    .left::after, .right::after {
        left: 21px;
    }
    
    .right {
        left: 0;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* Trusted By Section */
.client-logo {
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Testimonial Cards */
.testimonial-card {
    border: none;
    transition: all 0.3s ease;
    height: 100%;
}

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

.testimonial-card .card-body {
    position: relative;
    z-index: 1;
}

.testimonial-card .quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    color: rgba(40, 167, 69, 0.1);
    z-index: -1;
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="white"/></svg>');
    background-size: 80px 80px;
}

/* Feature Icons */
.feature-icon {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-radius: 12px;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: #28a745;
    color: white;
    transform: translateY(-5px);
}
