/* ==========================================
   Service Page Custom Block Enhancements
   ========================================== */

/* Custom Block Title Styling */
.h10-about-content-wrapper .sec-heading.style-3 {
    text-align: center;
}

.h10-about-content-wrapper .sec-heading.style-3 .sub-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    display: block;
    text-align: center;
    margin-bottom: 0;
}

.h10-about-content-wrapper .sec-heading.style-3 .sub-title img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    width: 35px;
    height: 35px;
}

/* RTL Support for Title Icon */
[dir="rtl"] .h10-about-content-wrapper .sec-heading.style-3 .sub-title img {
    margin-right: 0;
    margin-left: 10px;
}

/* Responsive Title Sizes */
@media only screen and (max-width: 991px) {
    .h10-about-content-wrapper .sec-heading.style-3 .sub-title {
        font-size: 28px;
    }
    
    .h10-about-content-wrapper .sec-heading.style-3 .sub-title img {
        width: 30px;
        height: 30px;
    }
}

@media only screen and (max-width: 575px) {
    .h10-about-content-wrapper .sec-heading.style-3 .sub-title {
        font-size: 24px;
    }
    
    .h10-about-content-wrapper .sec-heading.style-3 .sub-title img {
        width: 26px;
        height: 26px;
        margin-right: 8px;
    }
    
    [dir="rtl"] .h10-about-content-wrapper .sec-heading.style-3 .sub-title img {
        margin-left: 8px;
    }
}

/* Title Divider with Logo in the Middle */
.title-divider-with-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0 30px;
    width: 100%;
    gap: 15px;
}

/* Divider Lines */
.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--tj-color-theme-primary, #FF5A00) 50%, transparent 100%);
    position: relative;
    max-width: 200px;
}

.divider-line-left {
    background: linear-gradient(90deg, transparent 0%, var(--tj-color-theme-primary, #FF5A00) 100%);
}

.divider-line-right {
    background: linear-gradient(90deg, var(--tj-color-theme-primary, #FF5A00) 0%, transparent 100%);
}

/* Logo Container in the Middle */
.divider-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--tj-color-theme-primary, #FF5A00) 0%, #ff7043 100%);
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(255, 90, 0, 0.3);
    position: relative;
    animation: pulse-logo 2s ease-in-out infinite;
}

.divider-logo::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--tj-color-theme-primary, #FF5A00);
    border-radius: 50%;
    opacity: 0.3;
}

.divider-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 1;
}

/* Pulse Animation for Logo */
@keyframes pulse-logo {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 90, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 90, 0, 0.5);
    }
}

/* Responsive Design */
@media only screen and (max-width: 991px) {
    .title-divider-with-logo {
        margin: 20px 0 25px;
        gap: 12px;
    }
    
    .divider-line {
        max-width: 150px;
    }
    
    .divider-logo {
        width: 45px;
        height: 45px;
        padding: 9px;
    }
}

@media only screen and (max-width: 575px) {
    .title-divider-with-logo {
        margin: 15px 0 20px;
        gap: 10px;
    }
    
    .divider-line {
        max-width: 100px;
        height: 1.5px;
    }
    
    .divider-logo {
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    
    .divider-logo::before {
        top: -4px;
        left: -4px;
        right: -4px;
        bottom: -4px;
        border-width: 1.5px;
    }
}

/* Alternative Style - Dotted Lines (Optional) */
.title-divider-with-logo.style-dotted .divider-line {
    background: none;
    border-top: 2px dotted var(--tj-color-theme-primary, #FF5A00);
    height: 0;
}

/* Alternative Style - Dashed Lines (Optional) */
.title-divider-with-logo.style-dashed .divider-line {
    background: none;
    border-top: 2px dashed var(--tj-color-theme-primary, #FF5A00);
    height: 0;
}

/* RTL Support */
[dir="rtl"] .divider-line-left {
    background: linear-gradient(90deg, var(--tj-color-theme-primary, #FF5A00) 0%, transparent 100%);
}

[dir="rtl"] .divider-line-right {
    background: linear-gradient(90deg, transparent 0%, var(--tj-color-theme-primary, #FF5A00) 100%);
}

