/* ============================================
   Growth Barriers Section - Clean White Design
   ============================================ */

.growth-barriers {
    background: #ffffff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Subtle background texture */
.growth-barriers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 98%, rgba(42, 193, 174, 0.02) 100%),
        linear-gradient(0deg, transparent 98%, rgba(139, 92, 246, 0.02) 100%);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.5;
}

/* Content Styling */
.growth-content {
    padding-right: 2rem;
}

.growth-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
}

.growth-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.growth-description {
    margin-bottom: 2rem;
}

.growth-text {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.growth-text:nth-child(1) {
    animation-delay: 0.2s;
}

.growth-text:nth-child(2) {
    animation-delay: 0.4s;
}

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

/* Call to Action */
.growth-cta {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.growth-cta .btn {
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
}

.growth-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Features Section - New Grid Layout */
.growth-features {
    margin-top: 2rem;
}

/* Add floating animation */
@keyframes floatingFeature {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.growth-feature-item:nth-child(1) {
    animation: fadeInUp 0.8s ease forwards 0.2s, floatingFeature 4s ease-in-out infinite 2s;
}
.growth-feature-item:nth-child(2) {
    animation: fadeInUp 0.8s ease forwards 0.4s, floatingFeature 4s ease-in-out infinite 2.5s;
}
.growth-feature-item:nth-child(3) {
    animation: fadeInUp 0.8s ease forwards 0.6s, floatingFeature 4s ease-in-out infinite 3s;
}

.growth-feature-item {
    text-align: center;
    padding: 2.2rem 1.5rem;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%),
        linear-gradient(45deg, rgba(42, 193, 174, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.08),
        0 3px 10px rgba(42, 193, 174, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Individual border gradients for each feature - now transparent */
.growth-feature-item:nth-child(1), 
.growth-feature-item:nth-child(2), 
.growth-feature-item:nth-child(3) { 
    border: 2px solid transparent;
}

.growth-feature-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #2BC7B4, #8B5CF6, #06B6D4);
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.growth-feature-item:nth-child(1)::before {
    background: linear-gradient(135deg, #2BC7B4, #06B6D4);
}
.growth-feature-item:nth-child(2)::before {
    background: linear-gradient(135deg, #8B5CF6, #2BC7B4);
}
.growth-feature-item:nth-child(3)::before {
    background: linear-gradient(135deg, #06B6D4, #8B5CF6);
}

.growth-feature-item:hover::before {
    opacity: 1;
}

.growth-feature-item:hover {
    transform: translateY(-12px) scale(1.02);
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%),
        linear-gradient(45deg, rgba(42, 193, 174, 0.02) 0%, rgba(139, 92, 246, 0.02) 100%);
    border: 2px solid transparent;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.12),
        0 12px 24px rgba(42, 193, 174, 0.2),
        0 0 30px rgba(139, 92, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.growth-feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%),
        linear-gradient(45deg, rgba(42, 193, 174, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.08),
        0 3px 8px rgba(42, 193, 174, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.feature-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #2BC7B4, #8B5CF6, #06B6D4);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    animation: rotateBorder 3s linear infinite;
}

.growth-feature-item:hover .growth-feature-icon-wrapper::before {
    opacity: 0.8;
}

.growth-feature-item:hover .growth-feature-icon-wrapper {
    transform: scale(1.1) rotateY(360deg);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.12),
        0 6px 12px rgba(42, 193, 174, 0.2),
        0 0 20px rgba(139, 92, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.growth-feature-icon {
    font-size: 2rem;
    color: #2BC7B4;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(42, 193, 174, 0.3));
}

.growth-feature-item:hover .growth-feature-icon {
    color: rgb(139, 92, 246);
    transform: scale(1.2) rotateZ(360deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.growth-feature-content h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.growth-feature-item:hover .growth-feature-content h4 {
    color: #ffffff;
    font-weight: 700;
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.growth-feature-content p {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
    line-height: 1.7;
    transition: all 0.3s ease;
}

.growth-feature-item:hover .growth-feature-content p {
    color: #ffffff;
    font-weight: 500;
    transform: translateY(-1px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* New Stats Card Design */
.growth-stats-card {
    background: linear-gradient(135deg, #8B5CF6, #06B6D4);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    border: none;
    box-shadow: 
        0 20px 40px rgba(139, 92, 246, 0.3),
        0 8px 16px rgba(6, 182, 212, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.growth-stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.growth-stats-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #2BC7B4, #8B5CF6, #06B6D4, #8B5CF6);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: rotateBorder 4s linear infinite;
}

.growth-stats-card:hover::after {
    opacity: 0.8;
}

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

.stats-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.stats-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stats-header p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-item-card {
    text-align: center;
    padding: 1rem 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.stat-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.8));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.stat-item-card:hover::before {
    transform: scaleX(1);
}

.stat-item-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.3rem;
    display: block;
    position: relative;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-number::after {
    content: '+';
    position: absolute;
    right: -12px;
    top: -5px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Animation for stat items */
.stat-item-card {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.6s ease forwards;
}

.stat-item-card:nth-child(1) { animation-delay: 0.8s; }
.stat-item-card:nth-child(2) { animation-delay: 0.9s; }
.stat-item-card:nth-child(3) { animation-delay: 1.0s; }
.stat-item-card:nth-child(4) { animation-delay: 1.1s; }

/* Image Section */
.growth-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    clip-path: inset(0 round 20px);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    isolation: isolate;
    contain: paint;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.08);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.growth-image:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 12px 24px rgba(42, 193, 174, 0.1);
}


.growth-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: transform 0.4s ease;
}

.growth-image:hover .growth-img {
    transform: translateZ(0) scale(1.05);
}

/* Growth Image Overlay - High Specificity - Updated v2 */
.growth-barriers section .growth-image .image-overlay,
.growth-barriers .growth-image .image-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    border-radius: 0 !important;
    backface-visibility: hidden;
    transform: translateZ(0);
    background: linear-gradient(
        135deg,
        rgba(30, 41, 59, 0.85) 0%,
        rgba(42, 193, 174, 0.9) 50%,
        rgba(139, 92, 246, 0.85) 100%
    ) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    backdrop-filter: blur(2px) !important;
    z-index: 10 !important;
}

.growth-barriers section .growth-image:hover .image-overlay,
.growth-barriers .growth-image:hover .image-overlay {
    opacity: 1 !important;
    visibility: visible !important;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.growth-image:hover .overlay-content {
    transform: translateY(0) scale(1.05);
}

.growth-image:hover .play-icon {
    animation-duration: 1s;
    transform: scale(1.2);
}

.growth-image:hover .overlay-content span {
    animation: textGlow 0.6s ease-out;
}

@keyframes textGlow {
    0% { 
        text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    }
    50% { 
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 3px 6px rgba(0, 0, 0, 0.4);
    }
    100% { 
        text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    }
}

.play-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    animation: playIconPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    color: #ffffff;
}

@keyframes playIconPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.9;
    }
    50% { 
        transform: scale(1.1);
        opacity: 1;
    }
}

.overlay-content span {
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Button Styling for Growth Barriers Section */
.growth-barriers .btn-outline-custom {
    border: 2px solid #545663;
    color: #545663;
    background: transparent;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-align: center;
    min-width: 180px;
}

.growth-barriers .btn-outline-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8B5CF6, #06B6D4);
    transition: left 0.4s ease;
    z-index: -1;
}

.growth-barriers .btn-outline-custom:hover {
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.growth-barriers .btn-outline-custom:hover::before {
    left: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .growth-barriers {
        padding: 100px 0;
    }
    
    .growth-title {
        font-size: 2.8rem;
    }
    
    .growth-subtitle {
        font-size: 1.3rem;
    }
    
    .growth-content {
        padding-right: 1rem;
    }
    
    .growth-image {
        margin-top: 3rem;
        transform: none;
    }
    
    .growth-image:hover {
        transform: scale(1.02);
    }
    
    .growth-cta {
        justify-content: center;
    }
    
    .growth-feature-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .growth-feature-icon {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .growth-barriers {
        padding: 80px 0;
    }
    
    .growth-title {
        font-size: 2.4rem;
        text-align: center;
    }
    
    .growth-subtitle {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .growth-content {
        padding-right: 0;
        text-align: center;
    }
    
    .growth-text {
        font-size: 1rem;
    }
    
    .growth-cta {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .growth-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .growth-barriers .btn-outline-custom {
        width: 100%;
        max-width: 300px;
        margin-top: 15px;
    }
    
    .growth-features {
        margin-top: 3rem;
        margin-bottom: 2rem;
    }
    
    .growth-feature-item {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .growth-feature-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .growth-feature-icon {
        font-size: 1.3rem;
    }
    
    .growth-feature-content h4 {
        font-size: 1rem;
    }
    
    .growth-feature-content p {
        font-size: 0.9rem;
    }
    
    .growth-image {
        margin-top: 2rem;
    }
    
    .play-icon {
        font-size: 3rem;
    }
    
    .overlay-content span {
        font-size: 1.1rem;
        letter-spacing: 0.3px;
    }
    
    /* Stats Card Mobile */
    .growth-stats-card {
        padding: 1.5rem 1rem;
        margin-top: 2rem;
    }
    
    .stats-header h3 {
        font-size: 1.2rem;
    }
    
    .stats-header p {
        font-size: 0.85rem;
    }
    
    .stats-grid {
        gap: 0.8rem;
    }
    
    .stat-item-card {
        padding: 0.8rem 0.4rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-number::after {
        right: -10px;
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .growth-barriers {
        padding: 60px 0;
    }
    
    .growth-title {
        font-size: 2rem;
    }
    
    .growth-subtitle {
        font-size: 1.1rem;
    }
    
    .growth-text {
        font-size: 0.95rem;
    }
    
    .growth-feature-item {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .growth-feature-icon {
        font-size: 1.2rem;
    }
    
    .growth-feature-content h4 {
        font-size: 0.95rem;
    }
    
    .growth-feature-content p {
        font-size: 0.85rem;
    }
}

/* Performance optimizations */
.growth-image,
.growth-feature-item {
    will-change: transform;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .growth-text,
    .growth-feature-item {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .growth-image:hover {
        transform: none;
    }
    
    .play-icon {
        animation: none;
    }
}
