/* Temporary divider fix */
.section-divider {
    padding: 0;
    background: transparent;
}

.simple-divider {
    border: none !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent 0%, var(--primary-green) 50%, transparent 100%) !important;
    margin: 0 !important;
    opacity: 0.6 !important;
}

/* Removed forced white backgrounds to allow dark gradient to show through */

/* Self-Defence Accordion Styling */
.self-defence-accordion-container {
    margin: 2rem 0 !important;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 3px solid #4CAF50;
    background: linear-gradient(145deg, #f9fff9 0%, #eaf7ea 100%);
    position: relative;
}

.self-defence-accordion-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50 0%, #66BB6A 50%, #4CAF50 100%);
    z-index: 1;
}

.self-defence-item {
    border: none !important;
    margin: 0 !important;
    background: transparent !important;
}

.self-defence-button {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 50%, #4CAF50 100%) !important;
    border: none !important;
    padding: 2rem 2.5rem !important;
    border-radius: 0 !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2) !important;
    min-height: 130px;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative;
    overflow: hidden;
    outline: none !important;
    background-size: 200% 100%;
    background-position: left center;
}

.self-defence-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    transition: left 0.6s ease;
}

.self-defence-button:hover {
    background: linear-gradient(135deg, #45a049 0%, #5cb85c 50%, #45a049 100%) !important;
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.3) !important;
    color: white !important;
}

.self-defence-button:hover::before {
    left: 100%;
}

.self-defence-button:focus {
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 50%, #4CAF50 100%) !important;
    outline: none !important;
}

.self-defence-button:not(.collapsed) {
    background: linear-gradient(135deg, #45a049 0%, #5cb85c 50%, #45a049 100%) !important;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.3) !important;
}

.self-defence-button:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

.self-defence-button-content {
    flex-grow: 1;
    text-align: left;
    line-height: 1.5;
    padding-right: 1rem;
}

.self-defence-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

.self-defence-subtitle {
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    line-height: 1.4;
}

.accordion-arrow {
    font-size: 1.4rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: white !important;
    margin-left: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.self-defence-button:not(.collapsed) .accordion-arrow {
    transform: rotate(180deg);
}

.self-defence-button:hover .accordion-arrow {
    transform: scale(1.1);
}

.self-defence-button:not(.collapsed):hover .accordion-arrow {
    transform: rotate(180deg) scale(1.1);
}

.self-defence-body {
    background: #fff;
    padding: 2.5rem;
    border-top: 4px solid #4CAF50;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* Content styling for Self-Defence Plan */
.self-defence-intro {
    font-size: 1.15rem;
    font-weight: 500;
    color: #2c5530;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
    border-left: 5px solid #4CAF50;
    border-radius: 8px;
    line-height: 1.6;
}

.section-title {
    color: #2c5530;
    font-weight: 700;
    font-size: 1.4rem;
    margin: 2.5rem 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #4CAF50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #66BB6A;
}

/* How it works steps styling */
.self-defence-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #fafafa;
    border-radius: 12px;
    border-left: 4px solid #4CAF50;
    transition: all 0.3s ease;
}

.step-item:hover {
    background: #f5f5f5;
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.step-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.step-content h5 {
    color: #2c5530;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Benefits text styling */
.benefits-text {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f9fff9 0%, #f0f8f0 100%);
    border-radius: 12px;
    border-left: 4px solid #4CAF50;
}

.benefits-text p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
}

.benefits-text p:last-child {
    margin-bottom: 0;
}

.benefits-text strong {
    color: #2c5530;
    font-weight: 700;
}

/* Closing statement styling */
.closing-statement {
    text-align: center;
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    border-radius: 12px;
    color: white;
}

.closing-statement p {
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Self Defence CTA Section */
.self-defence-cta-section {
    margin-top: 2rem;
    text-align: center;
}

.self-defence-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8E53 100%);
    color: white !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.self-defence-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    transition: left 0.6s ease;
}

.self-defence-cta-button:hover {
    background: linear-gradient(135deg, #E55A2B 0%, #FF7A47 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    color: white !important;
    text-decoration: none !important;
}

.self-defence-cta-button:hover::before {
    left: 100%;
}

.self-defence-cta-button:hover .cta-arrow {
    transform: translateX(5px);
}

.self-defence-cta-button:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

.cta-text {
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-arrow {
    font-size: 1rem;
    transition: transform 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Optimized image loading styles */
.service-image, .service-hero-image, .lightbox-image {
    transition: opacity 0.4s ease !important;
    background-color: #f5f5f5;
}

.service-image-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
    border-radius: 8px;
}

.service-image-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%234CAF50' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C13.1 2 14 2.9 14 4C14 5.1 13.1 6 12 6C10.9 6 10 5.1 10 4C10 2.9 10.9 2 12 2ZM21 9V7L15 1H5C3.89 1 3 1.89 3 3V21C3 22.1 3.89 23 5 23H19C20.1 23 21 22.1 21 21V9H21ZM19 21H5V3H13V9H19V21Z'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.service-image {
    position: relative;
    z-index: 2;
}

/* Prevent layout shift during image loading */
.service-hero-image {
    min-height: 300px;
    width: 100%;
    object-fit: cover;
}

.lightbox-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: #4CAF50;
    font-size: 1.1rem;
    text-align: center;
}

/* Removed broken banner animation - reverting to original HTML-based approach */

/* Mobile responsiveness for self-defence accordion */
@media (max-width: 768px) {
    .self-defence-button {
        min-height: 100px;
        padding: 1.25rem 1.5rem !important;
        font-size: 1rem !important;
    }
    
    .self-defence-title {
        font-size: 1.1rem;
    }
    
    .self-defence-subtitle {
        font-size: 0.9rem;
    }
    
    .self-defence-body {
        padding: 1.5rem;
    }
    
    .self-defence-intro {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.2rem;
        margin: 2rem 0 1rem 0;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-item:hover {
        transform: translateY(-3px);
    }
    
    .benefits-text {
        padding: 1rem;
    }
    
    .benefits-text p {
        font-size: 1rem;
    }
    
    .closing-statement {
        padding: 1.5rem;
    }
    
    .closing-statement p {
        font-size: 1rem;
    }
    
    .self-defence-cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}