/**
 * Why Choose Us Section Styles
 * Primary: #19868b | Secondary: #e1273d
 */

/* Section Container */
.why-choose-us-section {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #0d1117 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Grid Layout */
.why-choose-us-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 25px;
    align-items: stretch;
}

/* Left & Right Card Columns */
.why-cards-left,
.why-cards-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Individual Card */
.why-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    cursor: pointer;
    flex: 1;
    display: flex;
    flex-direction: column;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.why-card:hover {
    background: linear-gradient(135deg, #e1273d 0%, #c41f33 100%);
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(225, 39, 61, 0.4);
}

/* Card Icon */
.why-card-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 20px;
}

.why-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    -webkit-transition: filter 0.4s ease;
    transition: filter 0.4s ease;
}

.why-card:hover .why-card-icon img {
    filter: brightness(0) invert(1);
}

.why-card-icon i {
    font-size: 40px;
    color: #19868b;
    -webkit-transition: color 0.4s ease;
    transition: color 0.4s ease;
}

.why-card:hover .why-card-icon i {
    color: #ffffff;
}

/* Card Title */
.why-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    line-height: 1.3;
    -webkit-transition: color 0.4s ease;
    transition: color 0.4s ease;
}

.why-card:hover .why-card-title {
    color: #ffffff;
}

/* Card Text */
.why-card-text {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.7;
    margin: 0;
    -webkit-transition: color 0.4s ease;
    transition: color 0.4s ease;
}

.why-card:hover .why-card-text {
    color: rgba(255, 255, 255, 0.9);
}

/* Center Section */
.why-center {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.why-center-content {
    background: linear-gradient(135deg, #19868b 0%, #0d6b6f 100%);
    border-radius: 20px;
    padding: 40px 35px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(25, 134, 139, 0.4);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Subtitle */
.why-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.why-subtitle i {
    font-size: 6px;
}

/* Title */
.why-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.2;
}

/* Logo */
.why-logo {
    width: 160px;
    height: 160px;
    margin: 20px auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
}

/* Button */
.why-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #19868b;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.why-btn:hover {
    background: #1a1a2e;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.why-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.why-btn:hover i {
    transform: translateX(5px);
}

/* RTL Support */
[dir="rtl"] .why-btn i {
    transform: scaleX(-1);
}

[dir="rtl"] .why-btn:hover i {
    transform: scaleX(-1) translateX(-5px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .why-choose-us-grid {
        gap: 20px;
    }
    
    .why-title {
        font-size: 36px;
    }
    
    .why-card {
        padding: 25px;
    }
}

@media (max-width: 992px) {
    .why-choose-us-section {
        padding: 80px 15px;
    }
    
    .why-choose-us-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .why-cards-left,
    .why-cards-right {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
    }
    
    .why-center {
        order: -1;
        min-height: auto;
    }
    
    .why-center-content {
        min-height: 350px;
        padding: 40px 30px;
    }
    
    .why-logo {
        width: 140px;
        height: 140px;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .why-choose-us-section {
        padding: 60px 15px;
    }
    
    .why-choose-us-grid {
        grid-template-columns: 1fr !important;
    }
    
    .why-cards-left,
    .why-cards-right {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px;
    }
    
    .why-title {
        font-size: 28px;
    }
    
    .why-card {
        padding: 20px;
        width: 100%;
    }
    
    .why-card-title {
        font-size: 18px;
    }
    
    .why-card-icon {
        width: 50px;
        height: 50px;
    }
    
    .why-logo {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 576px) {
    .why-choose-us-section {
        padding: 50px 12px;
    }
    
    .why-choose-us-grid {
        gap: 20px;
        grid-template-columns: 1fr !important;
    }
    
    .why-cards-left,
    .why-cards-right {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px;
    }
    
    .why-center-content {
        padding: 30px 20px;
        min-height: 280px;
    }
    
    .why-title {
        font-size: 24px;
    }
    
    .why-logo {
        width: 100px;
        height: 100px;
        margin: 15px auto 20px;
    }
    
    .why-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .why-card {
        padding: 18px;
        width: 100%;
    }
    
    .why-card-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 15px;
    }
    
    .why-card-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .why-card-text {
        font-size: 13px;
    }
}

