/* IoT Solutions Section */
.iot-solutions-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.iot-solutions-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(13, 30, 70, 0.03);
}

.iot-solutions-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(248, 184, 47, 0.03);
}

.iot-solutions-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.iot-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

/* Solutions Cards - Equal Height */
.iot-solution-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #0d1e46;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
}

.iot-solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.iot-solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 30, 70, 0.02), rgba(248, 184, 47, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.iot-solution-card:hover::before {
    opacity: 1;
}

.solution-header {
    margin-bottom: 1.5rem;
    position: relative;
    flex: 0 0 auto;
}

.solution-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d1e46;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    line-height: 1.3;
    min-height: 3.6em;
    display: flex;
    align-items: center;
}

.solution-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 4px;
    background: #f8b82f;
    border-radius: 2px;
}

.solution-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
    flex: 0 0 auto;
    min-height: 4.8em;
}

/* Features List */
.solution-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    justify-content: flex-start;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(13, 30, 70, 0.03);
    border-radius: 10px;
    transition: all 0.3s ease;
    flex: 0 0 auto;
}

.feature-item:hover {
    background: rgba(13, 30, 70, 0.06);
    transform: translateX(3px);
}

.feature-icon {
    width: 20px;
    height: 20px;
    background: #f8b82f;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-icon i {
    color: white;
    font-size: 0.7rem;
}

.feature-content {
    flex: 1;
}

.feature-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #0d1e46;
    margin-bottom: 0.3rem;
    min-height: 1.2em;
}

.feature-content p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
    min-height: 2.8em;
}

/* Card Content Wrapper for consistent spacing */
.card-content-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

/* Responsive Design */
@media (max-width: 992px) {
    .iot-solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .iot-solution-card {
        padding: 2rem;
        min-height: 480px;
    }
}

@media (max-width: 768px) {
    .iot-solutions-section {
        padding: 3rem 0;
    }
    
    .iot-solutions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .iot-solution-card {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .solution-title {
        font-size: 1.4rem;
        min-height: auto;
    }
    
    .solution-description {
        font-size: 0.95rem;
        min-height: auto;
    }
    
    .feature-content p {
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .iot-solutions-container {
        padding: 0 15px;
    }
    
    .iot-solution-card {
        padding: 1.25rem;
    }
    
    .solution-title {
        font-size: 1.3rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .feature-icon {
        align-self: center;
    }
}

/* Animation for cards */
.iot-solution-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.iot-solution-card:nth-child(1) {
    animation-delay: 0.1s;
}

.iot-solution-card:nth-child(2) {
    animation-delay: 0.2s;
}

.iot-solution-card:nth-child(3) {
    animation-delay: 0.3s;
}

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