/*CSS for All Custom Modules*/
.custom-modules--wrapper {
    position: relative;
    margin: 32px 0px; /* Adjust spacing above and below the module as needed */
}

.custom-modules--wrapper + .custom-modules--wrapper {
    margin-top: 0px;
}

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

/* Style 1: Background Image with content on top */


/*Mobile*/
.custom-modules--wrapper.style-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #F0EFF2;
    height: auto;
}

.custom-modules--wrapper.style-1 .custom-modules-content {
    padding: 32px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.custom-modules--wrapper.style-1 .bkg-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    background-blend-mode: multiply;
    opacity: .65;
    margin-top:0px !important;
    transform: rotate(180deg);
    height: 100vh;
    object-position: center;
}

.custom-modules--wrapper.style-1 .custom-modules-content h2 {
    color: #001A30 !important;
    font-weight: bold !important;
    font-size: 35px;
    text-align: center;
}

.download-image {
    z-index: 2;
    position: relative;
    width: 250px;
    transform: rotate(9deg);
    box-shadow: 0px 0px 20px #0000001c;
}

.custom-modules--wrapper.style-1 .custom-modules-content h2 span {
    font-weight: bold !important;
}

.fx-convmod-btn {
    background-color: #1e3a5f;
    color: white !important;
    font-size: 18px;
    padding: 15px 25px;
    border-radius: 5px;
    margin-top: 5px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    text-decoration: none;
}

.fx-convmod-btn:after {
    content: '';
    width: 40px;
    height: 10px;
    background-image: url(https://www.pivotpointsecurity.com/wp-content/uploads/2022/06/Arrow-11.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    margin-left: 15px;
    transition: 0.3s ease-in-out;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(1%) hue-rotate(200deg) brightness(106%) contrast(101%);
}

.fx-convmod-btn:hover {
    background-color: #f4d03f;
    color: #1e3a5f !important;
}

.fx-convmod-btn:hover:after {
    filter: none;
}

.custom-modules--wrapper.style-1::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(https://www.pivotpointsecurity.com/wp-content/uploads/2025/04/vertical-triangles.png);
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 1;
}

.yellow-triangle {
    position: absolute;
    right: 0px;
    bottom: 89px;
    z-index: 1;
}

.red-triangle {
    position: absolute;
    left: 16px;
    bottom: 64px;
    z-index: 2;
    width: 50px;
}

/*Tablet Up*/
@media(min-width:600px){
    .custom-modules--wrapper.style-1 {
        flex-direction: row;
        align-items: center;
    }

    .custom-modules--wrapper.style-1 .custom-modules-content h2 {
        text-align: left;
    }

    .custom-modules--wrapper.style-1 .custom-modules-content {
        width: 67%;
        align-items: flex-start;
    }

    .download-image {
        width: 186px;
    }

    .custom-modules--wrapper.style-1::before {
        transform: rotate(0deg);
        background-image: url(https://www.pivotpointsecurity.com/wp-content/uploads/2025/04/triangles.png);
        bottom: 0;
        left: 0;
        width: 100%;
        background-position: right;
    }

    .yellow-triangle {
        right: 19px;
        bottom: 0px;
    }

    .red-triangle {
        left: 67%;
    }

    .custom-modules--wrapper.style-1 .bkg-image {
        transform: scaleX(-1) rotate(0deg);
        height: 100%;
    }
}

/*Small Laptops Up*/
@media(min-width:1025px){
    .custom-modules--wrapper.style-1 {
        flex-direction: row;
        align-items: center;
    }

    .custom-modules--wrapper.style-1 .custom-modules-content {
        width: 70%;
        padding-left: 60px;
    }

    .yellow-triangle {
        right: 92px;
        top: 0px;
        height: 223px;
    }

    .red-triangle {
        top: 125px;
        width: 48px;
    }

    .download-image {
        width: 155px;
    }

    .custom-modules--wrapper.style-1 .custom-modules-content h2 {
        margin-top: 0px;
    }
    
}










/* Style 2: 50/50 Layout */
.custom-modules--wrapper.style-2 {
    background: #fff; /* Change to desired background color */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2); /* Add shadow effect */
}

.custom-modules--wrapper.style-2 .image-wrapper {
    position: relative;
    height: 200px; /* Adjust height as needed for your project */
    overflow: hidden;

}

.custom-modules--wrapper.style-2 .image-wrapper img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.custom-modules--wrapper.style-2 .custom-modules-content {
    padding: 32px; /* Adjust padding as needed for your project */
}

@media(min-width:768px){
    .custom-modules--wrapper.style-2{
        display: flex;
        flex-direction: row-reverse; /*Change to row if you want the image on the left */
        align-items: center;
    }

    /*If you want a different ratio for the image and content, adjust the width percentage */
    .custom-modules--wrapper.style-2 .custom-modules-content,
    .custom-modules--wrapper.style-2 .image-wrapper {
        width: 50%;
    }

    .custom-modules--wrapper.style-2 .image-wrapper {
        height: auto;
        min-height: 250px;/* Adjust height as needed for your project */
    }
}

/* Style 3: Background color with Text No Image */

.custom-modules--wrapper.style-3 {
    background: linear-gradient(15deg, #142850, #14365f, #13476f, #125d80, #107792, #0d96a5, #09b8b4, #04ccb1); /* Change to desired gradient or solid color */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);/* Add shadow effect */
}

.custom-modules--wrapper.style-3 .custom-modules-content {
    padding: 32px;/* Adjust padding as needed for your project */
    text-align: center;/* Adjust text alignment as needed for your project */

}

.custom-modules--wrapper.style-3 .custom-modules-content h2,
.custom-modules--wrapper.style-3 .custom-modules-content h3,
.custom-modules--wrapper.style-3 .custom-modules-content p {
    color: #fff; /* Adjust font color to match the site. Add additional font styles if needed */
}