/* Modern Block Patterns Styles */

/* Modern Hero Section */
.sl-hero-modern {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.sl-hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(242, 107, 33, 0.8) 100%);
    z-index: 1;
}

.sl-hero-modern>* {
    position: relative;
    z-index: 2;
}

/* Modern Card Layouts */
.sl-modern-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.sl-modern-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color, #f26b21);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.sl-modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.sl-modern-card:hover::after {
    transform: scaleX(1);
}

/* Icon Box Modern */
.sl-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(242, 107, 33, 0.1) 0%, rgba(242, 107, 33, 0.2) 100%);
    color: var(--primary-color, #f26b21);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.sl-modern-card:hover .sl-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.sl-icon-box img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(48%) sepia(85%) saturate(1633%) hue-rotate(345deg) brightness(98%) contrast(92%);
}

/* Glassmorphism Effect */
.sl-glass-box {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

/* Numbered List Modern */
.sl-modern-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sl-modern-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 12px;
    background: #f8f9fa;
    transition: background 0.3s ease;
}

.sl-modern-list-item:hover {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.sl-list-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color, #f26b21);
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(242, 107, 33, 0.3);
}

/* Modern Image Masking/Styling */
.sl-image-modern {
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.sl-image-modern:hover {
    transform: scale(1.02);
}

/* Gradient Text */
.sl-gradient-text {
    background: linear-gradient(135deg, #1a1a1a 0%, var(--primary-color, #f26b21) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- New Ultra Modern Utilities --- */

/* Modern FAQ Accordion (Gutenberg Details Block Styling) */
.sl-modern-faq {
    max-width: 800px;
    margin: 0 auto;
}

.sl-modern-faq details {
    background: #ffffff;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.sl-modern-faq details:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.sl-modern-faq summary {
    padding: 1.5rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    list-style: none;
    /* Hide default arrow */
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sl-modern-faq summary::-webkit-details-marker {
    display: none;
}

.sl-modern-faq summary::after {
    content: '\f067';
    /* FontAwesome Plus */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-color, #f26b21);
    transition: transform 0.3s ease;
}

.sl-modern-faq details[open] summary::after {
    transform: rotate(45deg);
    /* Turns plus into an X */
}

.sl-modern-faq details[open] summary {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--primary-color, #f26b21);
}

.sl-modern-faq .wp-block-details__content {
    padding: 1.5rem 2rem;
    color: #666;
    line-height: 1.8;
    background: #fafafa;
    margin: 0;
}

/* Modern Stats Counter */
.sl-modern-stat-box {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sl-modern-stat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(242, 107, 33, 0.15);
}

.sl-stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color, #f26b21);
    margin-bottom: 0.5rem;
    display: block;
    line-height: 1;
}

.sl-stat-text {
    font-size: 1.125rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Massive CTA Banner */
.sl-massive-cta {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    padding: 6rem 3rem;
    text-align: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
    margin: 4rem 0;
}

@media (max-width: 768px) {
    .sl-massive-cta {
        padding: 4rem 1.5rem;
    }
}

.sl-massive-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(242, 107, 33, 0.15) 0%, transparent 60%);
    animation: cta-pulse 10s infinite alternate linear;
    z-index: 1;
}

.sl-massive-cta>* {
    position: relative;
    z-index: 2;
}

.sl-massive-cta h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #ffffff;
}

.sl-massive-cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.sl-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

@keyframes cta-pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}