/* Solutions Enhanced Styling */

.solutions-area {
    position: relative;
    overflow: hidden;
    background: #fff;
    padding: 80px 0;
}

.solutions-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 450px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.04) 0%, rgba(0, 184, 230, 0.04) 100%);
    z-index: 0;
}

.solutions-area .container {
    position: relative;
    z-index: 1;
}

.solution-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 35px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #2399A2 0%, #6CA7AD 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[dir="rtl"] .solution-card::before {
    left: auto;
    right: 0;
}

.solution-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(35, 153, 162, 0.03) 0%, rgba(108, 167, 173, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.solution-card:hover::before {
    transform: scaleY(1);
}

.solution-card:hover::after {
    opacity: 1;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(35, 153, 162, 0.15);
    border-color: rgba(35, 153, 162, 0.2);
}

/* Solution Icon */
.solution-icon {
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #2399A2 0%, #6CA7AD 100%);
    border-radius: 18px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 10px 30px rgba(35, 153, 162, 0.25);
}

.solution-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2399A2 0%, #6CA7AD 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    filter: blur(12px);
}

.solution-card:hover .solution-icon::before {
    opacity: 0.7;
}

.solution-icon i {
    font-size: 38px;
    color: #fff;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.solution-card:hover .solution-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(35, 153, 162, 0.4);
}

.solution-card:hover .solution-icon i {
    transform: scale(1.15);
}

/* Solution Content */
.solution-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.solution-title {
    font-size: 21px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 18px;
    line-height: 1.5;
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: color 0.3s ease;
}

.solution-card:hover .solution-title {
    color: #2399A2;
}

.solution-description {
    font-size: 15px;
    color: #666;
    line-height: 1.9;
    margin-bottom: 0;
    flex: 1;
    transition: color 0.3s ease;
}

.solution-card:hover .solution-description {
    color: #555;
}

/* LTR/RTL Text Alignment */
.solution-content,
.solution-title,
.solution-description {
    text-align: center;
}

/* Dark Mode Support */
body.dark-mode .solutions-area {
    background: #1a1a1a;
}

body.dark-mode .solutions-area::before {
    background: linear-gradient(135deg, rgba(35, 153, 162, 0.05) 0%, rgba(108, 167, 173, 0.05) 100%);
}

body.dark-mode .solutions-area .section-heading h2 {
    color: #ffffff;
}

body.dark-mode .solution-card {
    background: #2d2d2d;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border-color: #404040;
}

body.dark-mode .solution-card::before {
    background: linear-gradient(180deg, #2399A2 0%, #6CA7AD 100%);
}

body.dark-mode .solution-card::after {
    background: linear-gradient(135deg, rgba(35, 153, 162, 0.05) 0%, rgba(108, 167, 173, 0.05) 100%);
}

body.dark-mode .solution-card:hover {
    box-shadow: 0 20px 50px rgba(35, 153, 162, 0.25);
    border-color: rgba(35, 153, 162, 0.3);
}

body.dark-mode .solution-icon {
    background: linear-gradient(135deg, #2399A2 0%, #6CA7AD 100%);
    box-shadow: 0 10px 30px rgba(35, 153, 162, 0.25);
}

body.dark-mode .solution-icon::before {
    background: linear-gradient(135deg, #2399A2 0%, #6CA7AD 100%);
}

body.dark-mode .solution-card:hover .solution-icon {
    box-shadow: 0 15px 40px rgba(35, 153, 162, 0.4);
}

body.dark-mode .solution-title {
    color: #fff;
}

body.dark-mode .solution-card:hover .solution-title {
    color: #6CA7AD;
}

body.dark-mode .solution-description {
    color: #b0b0b0;
}

body.dark-mode .solution-card:hover .solution-description {
    color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .solutions-area {
        padding: 60px 0;
    }

    .solution-icon {
        width: 75px;
        height: 75px;
        border-radius: 16px;
    }

    .solution-icon i {
        font-size: 34px;
    }

    .solution-title {
        font-size: 19px;
        min-height: auto;
    }

    .solution-description {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .solutions-area {
        padding: 50px 0;
    }

    .solution-card {
        padding: 30px 25px;
        border-radius: 15px;
    }

    .solution-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 20px;
        border-radius: 14px;
    }

    .solution-icon i {
        font-size: 30px;
    }

    .solution-title {
        font-size: 18px;
        min-height: auto;
        margin-bottom: 15px;
    }

    .solution-description {
        font-size: 14px;
        line-height: 1.8;
    }
}

/* Solutions Grid Layout */
.solutions-area .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.solutions-area .row>[class*="col-"] {
    display: flex;
    padding-left: 15px;
    padding-right: 15px;
    padding: 15px;
}

@media (min-width: 768px) {
    .solutions-area .row>.col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .solutions-area .row>[class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Additional Enhancement - Removed Number Badge */
/* Numbering removed per user request */
