/* sections-front.css - Front page sections + responsive */

/* Reports Section - From Figma */
.reports-section {
    background: #FFFFFF;
    padding: 80px 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reports-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.reports-container {
    max-width: 1240px;
    margin: 0 auto;
}

.reports-counter {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5em;
    text-align: center;
    color: #000000;
    margin-bottom: 40px;
}

.counter-number {
    font-size: 48px;
    font-weight: 700;
    display: inline-block;
    color:#EA5A0B;

}

.plus{
    font-size: 48px;
    font-weight: 700;
    color:#EA5A0B;
}

.reports-content {
    margin-top: 40px;
}

.reports-box {
    background: #32373c;
    border-radius: 30px;
    padding: 50px 80px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 245px;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.reports-text-left h2 {
    font-weight: 600;
    font-size: 40px;
    line-height: 1.5em;
    color: #FFFFFF;
    margin: 0;
}

.reports-text-right p {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5em;
    color: #FFFFFF;
    margin: 0;
}

.reports-arrow {
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    width: 73px;
    height: 73px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.reports-arrow:hover {
    transform: translateX(-50%) translateY(5px);
    opacity: 0.8;
}

.reports-arrow img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

/* Products Section - From Figma */
.products-section {
    background: #FFFFFF;
    padding: 80px 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.products-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.products-container {
    max-width: 1240px;
    margin: 0 auto;
}

.products-header {
    text-align: center;
    margin-bottom: 60px;
}

.products-header h2 {
    font-weight: 600;
    font-size: 40px;
    line-height: 1.5em;
    color: #000000;

}

/* Section Label - Universal Style */
.section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
        justify-content: center;
}

.section-label-left {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
        justify-content: left;
}

.label-dot {
    width: 10px;
    height: 10px;
    background: #E94E0E;
    border-radius: 50%;
    flex-shrink: 0;
}

.label-text {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5em;
    color: #636363;
    text-transform: uppercase;
    font-family: monospace;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 54px;
    margin-bottom: 54px;
}

.product-card {
    background: #000000;
    border-radius: 51px;
    padding: 75px 60px;
    position: relative;
    min-height: 611px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.product-card-dark_2 {
    background: #00000071;
}

.product-card-dark {
    background: #000;
}

.product-icon {
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 100%;
    left: 0%;
    height: auto;
}



.product-icon img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.product-icon img:hover,
.product-card:hover .product-icon img {
    transform: scale(1.05);
}

.product-content {
    position: relative;
    z-index: 2;
}

.product-content h3 {
    font-weight: 400;
    font-size: 32px;
    line-height: 1.5em;
    color: #fff;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.product-content p {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5em;
    color: #fff;
    margin-bottom: 20px;
}

.product-link {
    font-weight: 500;
    justify-content: center;
    font-size: 16px;
    line-height: 1.5em;
    color: #fff;
    text-decoration: none;
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.product-link:hover {
    gap: 12px;
}

.product-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.product-link:hover svg {
    transform: translateX(4px);
}


/* Wide Product Card - Bolagsbevakning */
.product-card-wide {
    background: #FFFFFF;
    border-radius: 74px;
    position: relative;
    min-height: 415px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 72px;
    cursor: pointer;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.product-wide-bg {
    position: absolute;
    top: -529px;
    left: -240px;
    width: 1655px;
    height: 1296px;
    z-index: 0;
}

.product-wide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-wide-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55%;
    background: linear-gradient(to top, #1C9BA3, white);
    border-radius: 13px;
    z-index: -1;
}


.product-wide-icon {
    position: absolute;
    right: -80px;
    top: 70%;
    transform: translateY(-50%);
    width: 56%;
    height: auto;
    z-index: 1;
}

.product-wide-icon img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.product-wide-icon img:hover,
.product-card-wide:hover .product-wide-icon img {
    transform: scale(1.05);
}

.product-wide-content {
    position: relative;
    z-index: 2;
    max-width: 506px;

}

.product-wide-content h3 {
    font-weight: 400;
    font-size: 32px;
    line-height: 1.5em;
    color: #fff;
    margin-bottom: 20px;
}

.product-wide-content p {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5em;
    color: #fff;
    margin-bottom: 30px;
}

.product-link-wide {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5em;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.product-link-wide:hover {
    gap: 12px;
}

.product-link-wide svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.product-link-wide:hover svg {
    transform: translateX(4px);
}

/* Mission Section - From Figma */
.mission-section {
    background: #F7F7F7;
    padding: 80px 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.mission-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.mission-container {
    max-width: 1240px;
    margin: 0 auto;
}

.mission-content {
    background: #FFFFFF;
    border-radius: 74px;
    padding: 66px 52px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    min-height: 669px;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mission-text {
    position: relative;
    z-index: 2;
}


.mission-title {
    font-weight: 600;
    font-size: 40px;
    line-height: 1.5em;
    color: #000000;
    margin: 0 0 30px 0;
}

.mission-description {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5em;
    color: #404040;
    margin: 0 0 30px 0;
    max-width: 547px;
}

.mission-btn {
    display: inline-block;
    background: #000000;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5em;
    padding: 15.5px 30px;
    border-radius: 53px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mission-btn:hover {
    background: #D14F09;
    transform: translateY(-2px);
}

.mission-visuals {
    position: relative;
    height: 100%;
    min-height: 450px;
}

.mission-logo-bg {
    position: relative;
    width: auto;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.mission-logo-bg img {
    width: 100%;
    height: 100%;
}

/* Testimonials Section */
.testimonials-section {
    background: #FFFFFF;
    padding: 80px 0px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.testimonials-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonials-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0px 40px;

}


.testimonials-title {
    font-weight: 600;
    font-size: 40px;
    line-height: 1.5em;
    color: #000000;
    text-align: center;
    margin: 0 0 60px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 45px 80px;
    margin-bottom: 60px;
}

.testimonial-card {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 11px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 80px;
    object-fit: cover;
    box-shadow: 5px 20px 75px 0px rgba(0, 0, 0, 0.09);
    border: 2px solid #ea5a0b;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.testimonial-name {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4em;
    color: #071537;
    margin: 0;
}

.testimonial-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: #EA5A0B;
    margin: 0;
}

.testimonial-quote {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5em;
    color: #000000;
    margin: 0;
    font-style: italic;
}

.testimonials-cta {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonials-btn {
    display: inline-block;
    background: #000000;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5em;
    padding: 15.5px 30px;
    border-radius: 53px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.testimonials-btn:hover {
    background: #D14F09;
    transform: translateY(-2px);
}

/* Testimonials Carousel - Mobile */
.testimonials-wrapper {
    position: relative;
    width: 100%;
}

.testimonials-dots {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    position: relative;
    z-index: 10;
}

.testimonial-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #D9D9D9;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.testimonial-dot:hover {
    background: #B0B0B0;
}

.testimonial-dot.active {
    background: #EA5A0B;
    width: 16px;
    height: 16px;
}

/* Video Section */
.video-section {
    background: #F7F7F7;
    padding: 80px 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.video-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.video-container {
    max-width: 1240px;
    margin: 0 auto;
}

.video-heading {
    font-weight: 600;
    font-size: 40px;
    line-height: 1.5em;
    color: #000000;
    text-align: center;
    margin: 0 auto 40px;
    max-width: 1275px;
}

.video-content-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.video-side-image {
    position: absolute;
    left: 75px;
    width: 287px;
    height: 287px;
    z-index: 3;
}

.video-player-wrapper {
    position: relative;
    z-index: 2;
}

.video-player {
    position: relative;
    background: #000000;
    border-radius: 19px;
    width: 690px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 103px;
    height: 103px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 3;
    transition: transform 0.3s ease;
}

.video-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button img {
    width: 100%;
    height: 100%;
}

.video-logo-overlay {
    position: absolute;
    bottom: 80px;
    right: 110px;
    width: 200px;
    height: auto;
    z-index: 4;
    transform: rotate(30deg);
}

.video-description {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5em;
    color: #000000;
    text-align: center;
    margin: 0 auto 40px;
    max-width: 1275px;
}

.video-cta {
    display: flex;
    justify-content: center;
}

.video-btn {
    display: inline-block;
    background: #000000;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5em;
    padding: 15.5px 30px;
    border-radius: 53px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.video-btn:hover {
    background: #D14F09;
    transform: translateY(-2px);
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    z-index: 2;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 40px;
    cursor: pointer;
    z-index: 3;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.video-modal-close:hover {
    transform: scale(1.2);
}

.video-modal-player {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000000;
    border-radius: 8px;
}

.video-modal-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Responsive modal */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
    }

    .video-modal-close {
        top: -35px;
        font-size: 35px;
    }
}

.mission-screenshot {
    position: absolute;
    z-index: 2;
}

.mission-screenshot-1 {
    width: 232px;
    height: 229px;
    top: 80px;
    left: 100px;
    border-radius: 56px;
    overflow: hidden;
}

.mission-screenshot-2 {
    width: 232px;
    height: 213px;
    top: 80px;
    right: 60px;
    border-radius: 23px;
    overflow: hidden;
}

.mission-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   Responsive - Products 1024px
   ============================================ */

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .product-card {
        padding: 50px 40px;
        min-height: 500px;
    }

    .products-header h2 {
        font-size: 32px;
    }
}

/* ============================================
   Responsive - Reports + Products 768px
   ============================================ */

@media (max-width: 768px) {
    /* Reports Section Responsive */
    .reports-section {
        padding: 40px 20px;
    }

    .reports-counter {
        font-size: 14px;
    }

    .counter-number {
        font-size: 32px;
    }

    .plus {
        font-size: 32px;

    }

    .reports-box {
        grid-template-columns: 1fr;
        padding: 30px 20px 50px;
        gap: 20px;
    }

    .reports-text-left h2 {
        font-size: 24px;
        text-align: center;
    }

    .reports-text-right p {
        font-size: 16px;
        text-align: center;

    }

    .reports-arrow {
        width: 50px;
        height: 50px;
        bottom: -25px;
    }

    /* Products Section Responsive */
    .products-section {
        padding: 40px 20px;
    }

    .products-header {
        margin-bottom: 30px;
    }

    .products-header h2 {
        font-size: 14px;
    }

    .products-header p {
        font-size: 14px;
    }

    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        margin-bottom: 30px;
    }

    .product-card {
        padding: 40px 30px;
        min-height: 400px;
        border-radius: 30px;
    }

    .product-content h3 {
        font-size: 24px;
    }

    .product-content p {
        font-size: 14px;
    }

    .product-link {
        font-size: 14px;
    }
    
    .product-icon {
     bottom: -30px;
        
    }

    .product-accent {
        display: none;
    }

    .product-card-wide {
        border-radius: 40px;
        padding: 40px 30px;
        min-height: 350px;
    }


    .product-wide-icon {
        right: 0;
        width: 100%;
        top: 118%;
    }

    .product-wide-content {
        max-width: 100%;
        text-align: center;
    }

    .product-wide-content h3 {
        font-size: 24px;
        text-align: center;
    }

    .product-wide-content p {
        font-size: 14px;
        text-align: center;
    }

    .product-link-wide {
        font-size: 14px;
    }
}

/* ============================================
   Responsive - Mission 768px
   ============================================ */

@media (max-width: 768px) {
    /* Mission Section Responsive */
    .mission-section {
        padding: 40px 20px;
    }

    .mission-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 0px;
        min-height: auto;
        border-radius: 40px;
        box-shadow: none;
    }


    .mission-title {
        font-size: 24px;
        text-align: center;

    }

    .mission-description {
        font-size: 14px;
        max-width: 100%;
        text-align: center;

    }

    .mission-btn {
        font-size: 14px;
        padding: 12px 24px;
    }

    .mission-text {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 0 10px;
    }
}

/* ============================================
   Responsive - Testimonials 768px
   ============================================ */

@media (max-width: 768px) {
    /* Testimonials Section Responsive */
    .testimonials-section {
        padding: 40px 20px;
    }

    /* Section Label Responsive */
    .label-text {
        font-size: 14px;
    }

    .label-dot {
        width: 8px;
        height: 8px;
    }

    .testimonials-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .testimonials-wrapper {
        overflow: hidden;
        width: 100%;
        padding: 0;
    }

    .testimonials-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 0;
        margin-bottom: 0;
        transition: transform 0.4s ease-out;
        padding: 0;
        width: 100%;
    }

    .testimonial-card {
        min-width: 100%;
        width: 100%;
        flex-shrink: 0;
        scroll-snap-align: start;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .testimonials-dots {
        display: flex;
        margin-bottom: 20px;
    }

    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }

    .testimonial-name {
        font-size: 20px;
    }

    .testimonial-title {
        font-size: 15px;
    }

    .testimonial-quote {
        font-size: 16px;
    }

    .testimonials-btn {
        font-size: 14px;
        padding: 12px 24px;
    }
}

/* ============================================
   Responsive - Video + Mission visuals 768px
   ============================================ */

@media (max-width: 768px) {
    /* Video Section Responsive */
    .video-section {
        padding: 40px 20px;
    }

    .video-heading {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .video-content-wrapper {
        flex-direction: column;
        margin-bottom: 30px;
    }

    .video-side-image {
        display: none;
    }

    .video-player {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .video-logo-overlay {
        width: 120px;
        bottom: 10px;
        right: 10px;
    }

    .video-play-button {
        width: 70px;
        height: 70px;
    }

    .video-description {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .video-btn {
        font-size: 14px;
        padding: 12px 24px;
    }

    .mission-visuals {
        min-height: 300px;
        padding: 20px;
    }

    .mission-logo-bg {
        width: 100%;
    }

    .mission-screenshot-1 {
        width: 150px;
        height: 150px;
        top: 40px;
        left: 20px;
        border-radius: 30px;
    }

    .mission-screenshot-2 {
        width: 150px;
        height: 140px;
        top: 40px;
        right: 20px;
        border-radius: 20px;
    }
}