/* Section styles */
.section-wrapper {
    position: relative; /* Required for the pseudo-element to work */
    width: 100%;
    background: #19395f;
    overflow: hidden; /* Ensures content stays inside */
}

.section-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/assets/images/case srudies details/portfolio-heading-bg.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.2; /* Adjust this value for transparency */
    z-index: 1; /* Keeps it behind content */
}

.section-wrapper > * {
    position: relative;
    z-index: 2; /* Ensures content appears above the background image */
}

/* Inner container styles */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 38px;
    flex-direction: column;
    justify-content: space-between;
    padding: 52px 15px 150px 15px;
    padding-top: 52px;
}
.heading-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: start;
}

/* Explore ventures heading styles */
.ventures-heading {
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    text-align: start;
    color: #0d99ff;
}

.services-heading {
    font-family: "Arimo", sans-serif !important;
    font-size: 42px;
    color: #fff;
    line-height: 42px;
    font-weight: 700;
    text-align: start;
}
.services-detail {
    font-family: "Arimo", sans-serif !important;
    font-size: 18px;
    line-height: 30px;
    color: #fff;
    font-weight: 400;
    text-align: start;
}

/* Image container styles */
.image-container {
    flex: 1;
    display: flex;
    align-items: center;
    height: auto;
    margin: 0 auto;
    justify-content: center;
}

.product_detail_card {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    background-color: #e8f0fa;
    border-radius: 20px;
    padding: 40px;
}

.product_detail_card .content {
    display: flex;
    gap: 42px;
    flex-direction: column;
    align-items: center;
}

.card_heading {
    font-weight: 700;
    line-height: normal;
    color: #001436;
    font-size: 32px;
}

.card_description {
    color: #0a0e19;
    font-size: 14px;
}

.product_detail_card .detail_card {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    background: #11335a;
    border-radius: 20px;
    padding: 20px;
}
.product_detail_card .detail_card h2 {
    color: #0d99ff;
    font-size: 45px;
    font-weight: 700;
}
.product_detail_card .detail_card p {
    color: #fff;
    font-size: 16px;
    text-align: center;
    font-weight: 700;
}

.flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-direction: column;
}

.content-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem; /* Equivalent to `gap-5` */
}

.image-container img {
    max-width: 100%; /* Ensure image responsiveness */
    height: 100%;
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background-color: #0d99ff;
    border-radius: 7px;
    padding: 12px 22px;
    cursor: pointer;
    margin-top: 16px;
    max-width: max-content;
    text-decoration: none;
}

.contact-button p {
    color: white;
    font-size: 1rem; /* Equivalent to `text-base` */
    margin: 0;
}

.contact-button .icon-container {
    background-color: white;
    border-radius: 50%;
    padding: 6px;
}

.contact-button svg {
    width: 12px;
    height: 12px;
    fill: none;
}

@media (min-width: 768px) {
    .services-heading {
        font-size: 52px;
        line-height: 52px;
    }
    .card_heading {
        font-size: 54px;
    }
    .card_description {
        font-size: 18px;
    }

    .ventures-heading {
        font-size: 22px;
    }
    .product_detail_card {
    }
}

@media (min-width: 1024px) {
    .image-container{
        margin: 0;
    }
    .services-heading {
        font-size: 70px;
        line-height: 70px;
    }
    .heading-wrapper {
        max-width: 520px;
    }
    .section-container {
        flex-direction: row;
    }
    .flex-container {
        flex-direction: row;
        gap: 40px;
    }
    .content-container {
        max-width: 36rem;
    }
}
