/* Enhanced Smart City Section Styles */

.smart-city-showcase {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.smart-city-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/city-pattern.png');
    background-size: cover;
    opacity: 0.05;
    pointer-events: none;
}

.section-header {
    margin-bottom: 50px;
    position: relative;
}

.section-header::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

.innovation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.innovation-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    z-index: 1;
}

.innovation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: 100% 0;
    transition: transform 0.4s ease;
    z-index: -1;
}

.innovation-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.innovation-card:hover::before {
    transform: scaleX(1);
    transform-origin: 0 0;
}

.innovation-icon-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(178, 131, 97, 0.1) 0%, rgba(178, 131, 97, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.innovation-card:hover .innovation-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(178, 131, 97, 0.2) 0%, rgba(178, 131, 97, 0.3) 100%);
}

.innovation-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.innovation-card:hover .innovation-icon {
    transform: scale(1.1);
}

.innovation-card h3 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.innovation-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.4s ease;
}

.innovation-card:hover h3::after {
    width: 100px;
}

.innovation-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.impact-metric {
    margin: 25px 0;
    position: relative;
}

.impact-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.impact-value {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-bar-bg {
    height: 6px;
    background-color: #eee;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, #cb9b7a 100%);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease-out;
}

.implementation-tag {
    display: inline-flex;
    align-items: center;
    background-color: rgba(178, 131, 97, 0.1);
    border-radius: 30px;
    padding: 8px 15px;
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.implementation-tag i {
    margin-right: 8px;
    font-size: 16px;
}

.innovation-card:hover .implementation-tag {
    background-color: rgba(178, 131, 97, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
}

.smart-city-cta {
    margin-top: 50px;
    text-align: center;
}

.custom-btn.btn-with-icon {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
}

.custom-btn.btn-with-icon i {
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.custom-btn.btn-with-icon:hover i {
    transform: translateX(-3px);
}

@media (max-width: 991px) {
    .innovation-grid {
        grid-template-columns: 1fr;
    }
    
    .innovation-card {
        padding: 30px;
    }
    
    .innovation-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .innovation-icon {
        font-size: 2rem;
    }
}
