
.industries-section {
    padding: 60px 20px;
    margin: 0 20px;
}

.industries-heading h2 {
    font-family: "Bai Jamjuree", Sans-serif;
    font-weight: 400;
    color: #58468C;
    text-align: center;
    font-size: 45px;
    line-height: 55px;
    font-style: normal;
    margin-bottom: 45px;
}

/* Grid Layout */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    justify-content: center;
    margin: 0 6% 0 6%;
}

/* Card Styles */
.industry-card {
    background: linear-gradient(to bottom right, #ffffff, #f5f9ff);
    border: 2px solid #dde9f7;
    border-bottom: 4px solid lightgrey;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.industry-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 6px 24px rgba(0, 123, 255, 0.12);
    border-color: #fcb034;
}

/* Header */
.industry-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 10px;
}

.industry-icon {
    width: 26px;
    height: auto;
    /*margin-right: 10px;*/
}

.industry-title {
    font-size: 15.5px;
    color: #0a2540;
    font-weight: 600;
    flex: 1;
    display: flex;
    /*justify-content: flex-end;*/
}

/* Bullet Points */
.industry-card ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 12px;
}

.industry-card ul li {
    margin-bottom: 3px;
    font-size: 13px;
    color: #666666;
    padding-left: 18px;
    position: relative;
    line-height: 1.35;
}

.industry-card ul li::before {
    /*content: '✔';*/
    position: absolute;
    left: 0;
    top: 0;
    color: #00bfa5;
    font-size: 11px;
}

/* Button */
.readonly-button {
    background-color:  #ffffff;
    color: #e06356;
    padding: 5px 10px;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 300;
    cursor: not-allowed;
    width: fit-content;
    /*align-self: flex-end;*/
    margin-top: auto;
    transition: background 0.3s ease, transform 0.2s ease;
    opacity: 0.9;
}

.readonly-button:hover {
    transform: scale(1.03);
    background-color:  #ffffff;
    color:  #0a2540;
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 992px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .industry-grid {
        grid-template-columns: 1fr;
    }

    .industries-heading h2 {
        font-size: 26px;
    }

    .industry-title {
        font-size: 14.5px;
    }

    .industry-card ul li {
        font-size: 12.8px;
    }

    .industry-icon {
        width: 24px;
    }

    .industry-card {
        max-width: 92%;
    }
}



/*Industies Inner main section*/
.insights-section {
    text-align: center;
    /*padding: 80px  20px;*/
    background: #fff;
    position: relative;
}

.section-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

/* Card grid */
.insights-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
}

/* Individual card */
.insight-card {
    position: relative;
    width: 300px;
    height: 420px;
    background-size: cover;
    background-position: center;
    /*border-radius: 16px;*/
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.insight-card:hover {
    transform: scale(1.03);
}

/* Gradient overlay on card */
.insight-overlay {
    position: absolute;
    bottom: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to top, rgba(20, 20, 50, 0.8), rgba(0, 0, 0, 0));
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Category and title text inside card */
.insight-category {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 1px;
    color: #ccc;
}

.insight-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: white;
}

.insight-card.curved-left {
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
}

.insight-card.curved-right {
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
}
@media (max-width: 768px) {
    .insights-grid {
        flex-direction: column;
        align-items: center;
    }

    .insight-card {
        width: 100%;
        max-width: 350px;
    }
}

.i_case-studies-section {
    /*padding: 40px 0;*/
    background-color: #f5f5f5;

}

.i_section-subtitle {
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    color: #777;
    /*margin-bottom: 10px;*/
}

.i_section-title {
    text-align: center;
    font-size: 40px;
    /*margin-bottom: 30px;*/
    color: #4c2882;
    font-weight: 400;
}

.i_case-studies-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 80vh;
}

.i_case-studies-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: space-between;
    align-items: stretch;
    height: 100%;
}

/* Shared card styles */
.i_case-card {
    position: relative;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none;
    background: none;
    height: 100%;
}

.i_case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    border-radius: 0;
}

/* Large card takes half */
.i_case-card.large {
    flex: 1;
}

/* Right small cards area */
.i_right-cards {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 100%;
    gap: 0;
}

/* Overlay base */


.i_card-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 47, 108, 0.85);
    color: white;
    width: 100%;
    overflow: hidden;
    transition: height 0.4s ease;
    height: 50px;
    padding: 15px;
    padding-top: 0;
    line-height: 1.2;
    align-items: center;
}

/* Overlay expands fully on hover */
.i_case-card:hover .i_card-overlay {
    height: 100%;
}

.i_case-card.large .i_card-overlay {
    height: 30%;
}

/* On hover, expand to 100% */
.i_case-card.large:hover .i_card-overlay {
    height: 100%;
}

/* Hide description text by default */
.i_case-card.small .i_card-text p {
    display: none;
    margin-top: 8px;
}

/* Show description on hover */
.i_case-card.small:hover .i_card-text p {
    display: block;
}

/* Text styling */
.i_card-text h3 {
    font-size: 16px;
    margin: 0;
    color: white;
}

.i_card-text p {
    font-size: 14px;
    margin: 0;
    color: white;
    line-height: 1.5;
    font-weight: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .i_case-studies-grid {
        flex-direction: column;
    }

    .i_case-card.large,
    .i_right-cards {
        flex: 1 1 100%;
        height: auto;
    }

    .i_right-cards {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .i_case-card.small {
        height: 200px;
    }
    .i_case-studies-wrapper {
        max-width: 1000px;
        margin: 0 auto;
        padding: 0 20px;
        height: auto;
    }
    .i_case-card.large .i_card-overlay{
        height: 50px;
    }
}

/*Solution section industries inner*/


.solutions-section {
    max-width: 1200px;
    margin: auto;
    /*padding: 60px 20px;*/
    font-family: "Segoe UI", sans-serif;
}

.solutions-heading {
    text-align: center;
    font-size: 40px;
    font-weight: 400;
    color: #4c2882;
    margin-bottom: 45px;
    margin-top: 25px;
}
.solutions-heading::after {
    content: '';
    display: block;
    width: 60%;
    height: 1px;
    background-color: #888585;
    margin: auto;
}

.solutions-grid {
    display: flex;
    flex-wrap: wrap;
    column-gap: 80px;
    justify-content: center;
}

.solution-card {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    flex: 1 1 45%;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.solution-card:hover {
    border: 1px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.solution-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.solution-content {
    margin-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

.solution-content h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #0a0a0a;
    line-height: 1.5;
}

.solution-content p {
    font-size: 14px;
    color: #333 !important;
    margin-bottom: 10px;
    font-weight: normal;
    line-height: 1.5;
}

.know-more {
    font-size: 13px;
    color: #0033cc;
    text-decoration: none;
    font-weight: 600;
}

.know-more::after {
    content: " ➜";
    font-weight: normal;
}

.solution-card:nth-child(even) {
    margin-top: 80px;
}

/* ========================
   RESPONSIVE STYLES BELOW
======================== */

@media (max-width: 1024px) {
    .solutions-grid {
        gap: 40px;
    }

    .solution-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .solution-card:nth-child(even) {
        margin-top: 0; /* remove offset on small screens */
    }
}

@media (max-width: 768px) {
    .solutions-section {
        padding: 40px 15px;
    }

    .solution-content {
        padding-left: 15px;
    }

    .solution-content h3 {
        font-size: 16px;
    }

    .solution-content p {
        font-size: 11.5px;
    }

    .know-more {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .solutions-heading {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .solution-content {
        padding-left: 10px;
    }

    .solution-content p {
        font-size: 11px;
    }
}

/*width fixes*/

.solutions-section,
.i_case-studies-wrapper,
.insights-section .container {
    max-width: 1400px;
    margin: auto;
    /*padding: 60px 20px;*/
}
.insights-section .container {
    max-width: 1400px !important;
    padding-left: 40px;
    padding-right: 40px;
}

.insights-grid {
    justify-content: center; /* changed from flex-start */
    gap: 32px; /* slightly increased spacing */
}
.solution-card {
    max-width: 550px; /* was 500px */
    flex: 1 1 48%;
}

.insight-card {
    width: 320px; /* was 300px */
}

/* === INSIGHT CARD RESPONSIVE FIX === */

.insights-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center; /* Center cards */
}

.insight-card {
    flex: 1 1 300px; /* Flexible width */
    max-width: 100%; /* Prevent overflow */
    height: 420px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.insight-card:hover {
    transform: scale(1.03);
}

@media (max-width: 1024px) {
    .insight-card {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .insights-grid {
        flex-direction: column;
        align-items: center;
    }

    .insight-card {
        width: 100%;
        max-width: 100%;
        height: 320px;
    }
}

@media (max-width: 480px) {
    .insight-card {
        height: 280px;
    }
}

/* Optional: ensure container doesn't restrict width too much */
.insights-section .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

.action-banner-1 {
    background-color: #2C4DA0;
    padding: 40px 60px;
    text-align: center;
    position: relative;
    background-image: url('your-ribbon-image.png'); /* Optional background ribbon */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /*border-radius: 8px;*/
    margin-top: 3%;
    margin-bottom: 3%;
}

.action-banner-heading-1 {
    color: white;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.action-banner-button {
    background-color: #00BFFF;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: background-color 0.3s ease;
}



