/* Sigal Divisions Section Styles */

.sigal-divisions-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.sigal-divisions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(135deg, rgba(33, 62, 123, 0.03) 0%, rgba(0, 175, 221, 0.03) 100%);
    z-index: 0;
}

.sigal-divisions-section .container {
    position: relative;
    z-index: 1;
}

/* Section Header */
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #213e7b 0%, #00afdd 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    animation: fadeInDown 0.8s ease;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #213e7b 0%, #00afdd 100%);
    border-radius: 2px;
    margin-top: 1rem;
}

/* Division Cards */
.division-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.division-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #213e7b 0%, #00afdd 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.division-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(33, 62, 123, 0.15);
    border-color: rgba(33, 62, 123, 0.1);
}

/* Featured Card */
.division-card.featured {
    background: white;
    color: #213e7b;
    border: 3px solid #00afdd;
    box-shadow: 0 10px 40px rgba(0, 175, 221, 0.15);
}

.division-card.featured .division-title {
    color: #213e7b;
}

.division-card.featured .division-description {
    color: #6c757d;
}

.division-card.featured .feature-item {
    color: #495057;
}

.division-card.featured .feature-item i {
    color: #00afdd;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #00afdd 0%, #00c6ff 100%);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(0, 175, 221, 0.3);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Division Icon */
.division-icon-wrapper {
    position: relative;
    margin-bottom: 2rem;
    display: inline-block;
}

.division-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    position: relative;
    transition: all 0.4s ease;
}

.dental-clinic-icon {
    background: linear-gradient(135deg, #213e7b 0%, #2952a3 100%);
}

.lab-icon {
    background: linear-gradient(135deg, #213e7b 0%, #2952a3 100%);
}

.equipment-icon {
    background: linear-gradient(135deg, #213e7b 0%, #2952a3 100%);
}

.division-card:hover .division-icon {
    transform: rotateY(360deg);
}

.icon-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #213e7b 0%, #2952a3 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(33, 62, 123, 0.4);
}

/* Division Content */
.division-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #213e7b;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.division-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Features List */
.division-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #495057;
}

.feature-item i {
    color: #00afdd;
    margin-left: 10px;
    font-size: 0.9rem;
}

.division-card.featured .feature-item i {
    color: #00afdd;
}

/* Division Stats */
.division-stats {
    display: flex;
    justify-content: space-around;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.division-card.featured .division-stats {
    border-color: rgba(0, 175, 221, 0.2);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #6c757d;
}

.division-card.featured .stat-item {
    color: #6c757d;
}

.stat-item i {
    color: #00afdd;
    font-size: 1rem;
}

.division-card.featured .stat-item i {
    color: #00afdd;
}

.stat-item strong {
    color: #213e7b;
    font-size: 1.1rem;
}

.division-card.featured .stat-item strong {
    color: #213e7b;
}

/* Division Button */
.division-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #213e7b;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.division-btn:hover {
    background: linear-gradient(135deg, #213e7b 0%, #00afdd 100%);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(33, 62, 123, 0.3);
}

.division-btn.primary {
    background: linear-gradient(135deg, #00afdd 0%, #00c6ff 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(0, 175, 221, 0.3);
}

.division-btn.primary:hover {
    background: linear-gradient(135deg, #213e7b 0%, #00afdd 100%);
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(33, 62, 123, 0.4);
}

/* Why Sigal Box */
.why-sigal-box {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid #f8f9fa;
}

.why-sigal-content h3 {
    color: #213e7b;
    font-weight: 700;
    font-size: 2rem;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    background: linear-gradient(135deg, rgba(33, 62, 123, 0.05) 0%, rgba(0, 175, 221, 0.05) 100%);
    transform: translateX(-5px);
}

.advantage-item i {
    font-size: 1.5rem;
    margin-top: 2px;
    color: #00afdd;
}

.advantage-item strong {
    display: block;
    color: #213e7b;
    font-size: 1rem;
    margin-bottom: 2px;
}

/* Image Grid */
.why-sigal-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.grid-item {
    background: linear-gradient(135deg, #213e7b 0%, #00afdd 100%);
    color: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.grid-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(33, 62, 123, 0.3);
}

.grid-item i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.grid-item span {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
}

/* CTA Section */
.divisions-cta {
    background: linear-gradient(135deg, #213e7b 0%, #00afdd 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(33, 62, 123, 0.2);
}

.divisions-cta h4 {
    color: white;
    font-weight: 700;
    font-size: 1.8rem;
}

.divisions-cta .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background: white;
    color: #213e7b;
    border: none;
}

.cta-buttons .btn-primary:hover {
    background: #00afdd;
    color: white;
    transform: scale(1.05);
}

.cta-buttons .btn-outline-primary {
    border: 2px solid white;
    color: white;
}

.cta-buttons .btn-outline-primary:hover {
    background: white;
    color: #213e7b;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 991px) {
    .division-card {
        padding: 2rem;
    }
    
    .why-sigal-box {
        padding: 2rem;
    }
    
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .grid-item {
        padding: 1.5rem 1rem;
    }
    
    .grid-item i {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .division-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .division-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .division-title {
        font-size: 1.3rem;
    }
    
    .division-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .why-sigal-box {
        padding: 1.5rem;
    }
    
    .why-sigal-content h3 {
        font-size: 1.5rem;
    }
    
    .advantage-item {
        padding: 0.75rem;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .divisions-cta {
        padding: 2rem 1.5rem;
    }
    
    .divisions-cta h4 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* RTL Support */
html[dir="rtl"] .feature-item i {
    margin-left: 0;
    margin-right: 10px;
}

html[dir="rtl"] .division-btn i {
    margin-left: 0;
    margin-right: 8px;
    transform: rotate(180deg);
}

html[dir="rtl"] .icon-badge {
    right: auto;
    left: -10px;
}

html[dir="rtl"] .featured-badge {
    right: auto;
    left: 20px;
}

html[dir="rtl"] .advantage-item:hover {
    transform: translateX(5px);
}
