/* Forensic Mobile Section */
.forensic-mobile-section {
    padding: 80px 0;
}

.forensic-mobile-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

/* Image Column */
.forensic-mobile-image {
    position: relative;
    flex: 0 0 auto;
    width: 45%;
}

.forensic-mobile-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Content Column */
.forensic-mobile-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    flex: 1;
}

.forensic-mobile-header h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 0 0 16px;
    color: #2B363A;
}

/* Forensic Mobile Items - Accordion Style */
.forensic-mobile-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.forensic-mobile-item {
    position: relative;
    border: none;
    border-bottom: 1px solid #E5E5E5;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.forensic-mobile-item:last-child {
    border-bottom: none;
}

.forensic-mobile-item:hover {
    border-bottom-color: #E5E5E5;
}

.forensic-mobile-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    padding: 20px 60px 20px 24px;
    color: #2B363A;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
    background-color: #ffffff;
    transition: all 0.3s ease;
    user-select: none;
}

.forensic-mobile-subtitle:hover {
    background-color: #f8f8f8;
}

.forensic-mobile-subtitle::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #3080B2;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Accordion Toggle Icon */
.forensic-mobile-subtitle::after {
    content: '';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%232B363A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.forensic-mobile-item.active .forensic-mobile-subtitle::after {
    transform: translateY(-50%) rotate(180deg);
}

.forensic-mobile-item-content {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    color: #2B363A;
    line-height: 1.6;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.forensic-mobile-item.active .forensic-mobile-item-content {
    max-height: 500px;
    padding: 0 24px 20px 24px;
}

.forensic-mobile-item-content p {
    margin: 0 0 12px;
}

.forensic-mobile-item-content p:last-child {
    margin-bottom: 0;
}

/* First item open by default */


.forensic-mobile-item:first-child .forensic-mobile-subtitle {
    background-color: #f8f8f8;
}

.forensic-mobile-item:first-child .forensic-mobile-subtitle::after {
    transform: translateY(-50%) rotate(180deg);
}

.forensic-mobile-item:first-child .forensic-mobile-item-content {
    max-height: 500px;
    padding: 0 24px 20px 24px;
}

/* Button Styling */
.forensic-mobile-button {
    margin-top: 16px;
}

.forensic-mobile-button .content-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background-color: #B7CE3F;
    color: #ffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.forensic-mobile-button .content-button:hover {
    background-color: #a3b939;
    transform: translateY(-2px);
}

/* Blue Background Variant */
.forensic-mobile-section.background-blue .forensic-mobile-header h2 {
    color: #ffffff;
}

.forensic-mobile-section.background-blue .forensic-mobile-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.forensic-mobile-section.background-blue .forensic-mobile-subtitle {
    color: #ffffff;
    background-color: transparent;
}

.forensic-mobile-section.background-blue .forensic-mobile-subtitle:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.forensic-mobile-section.background-blue .forensic-mobile-item-content {
    color: #ffffff;
}

.forensic-mobile-section.background-blue .forensic-mobile-subtitle::before {
    background-color: #B7CE3F;
}

.forensic-mobile-section.background-blue .forensic-mobile-subtitle::after {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Grey Background Variant */
.forensic-mobile-section.background-grey .forensic-mobile-header h2 {
    color: #ffffff;
}

.forensic-mobile-section.background-grey .forensic-mobile-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.forensic-mobile-section.background-grey .forensic-mobile-subtitle {
    color: #ffffff;
    background-color: transparent;
}

.forensic-mobile-section.background-grey .forensic-mobile-subtitle:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.forensic-mobile-section.background-grey .forensic-mobile-item-content {
    color: #ffffff;
}

.forensic-mobile-section.background-grey .forensic-mobile-subtitle::before {
    background-color: #B7CE3F;
}

.forensic-mobile-section.background-grey .forensic-mobile-subtitle::after {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Responsive Design */
@media (max-width: 991px) {
    .forensic-mobile-section {
        padding: 60px 0;
    }

    .forensic-mobile-wrapper {
        flex-direction: column;
        gap: 32px;
    }

    .forensic-mobile-image {
        width: 100%;
        order: -1;
    }

    .forensic-mobile-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .forensic-mobile-section {
        padding: 40px 0;
    }

    .forensic-mobile-content {
        gap: 24px;
    }

    .forensic-mobile-header h2 {
        font-size: 1.75rem;
    }

    .forensic-mobile-subtitle {
        font-size: 1.125rem;
        padding: 16px 50px 16px 20px;
    }

    .forensic-mobile-subtitle::after {
        right: 20px;
        width: 20px;
        height: 20px;
    }

    .forensic-mobile-item-content {
        padding: 0 20px;
    }

    .forensic-mobile-item.active .forensic-mobile-item-content,
    .forensic-mobile-item:first-child .forensic-mobile-item-content {
        padding: 0 20px 16px 20px;
    }

    .forensic-mobile-items {
        gap: 12px;
    }
}