
/* =====================================================
   SOFTWARE SOLUTIONS HERO
===================================================== */

.software-hero {
    position: relative;
    min-height: 290px;
    padding: 55px 0;
    overflow: hidden;
    background: #031c3a url('../img/software-solutions-banner.png') center center / cover no-repeat;
    color: #fff;
}

.software-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,18,43,.94) 0%,
        rgba(0,29,61,.84) 43%,
        rgba(0,29,61,.08) 100%
    );
}

.software-hero .container {
    position: relative;
    z-index: 2;
}

.software-hero-content {
    max-width: 600px;
}

.software-hero .breadcrumb-custom {
    margin-bottom: 18px;
    color: rgba(255,255,255,.8);
    font-size: 14px;
    font-weight: 400;
}

.software-hero .breadcrumb-custom a {
    color: #fff;
    text-decoration: none;
    transition: color .3s ease;
}

.software-hero .breadcrumb-custom a:hover {
    color: #00d1c5;
}

.software-hero .breadcrumb-custom i {
    margin: 0 9px;
    color: #00d4cf;
}

.software-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 43px;
    line-height: 1.2;
    font-weight: 800;
}

.software-hero h1 span {
    color: #00d1c5;
}

.software-hero h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 21px;
    line-height: 1.4;
    font-weight: 700;
}

.software-hero p {
    max-width: 540px;
    margin: 0 0 22px;
    color: #e2edf8;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
}


/* HERO BUTTON */

.software-hero-btn {
    display: inline-block;
    padding: 13px 25px;
    border: 1px solid transparent;
    border-radius: 30px;
    color: #fff !important;
    background: linear-gradient(100deg,#00a9b5,#00c5a9);
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(0,195,190,.2);
    transition: all .3s ease;
}

.software-hero-btn i {
    margin-left: 12px;
    transition: transform .3s ease;
}

.software-hero-btn:hover {
    color: #008e9a !important;
    background: #fff;
    border-color: #00b5aa;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,201,192,.3);
}

.software-hero-btn:hover i {
    transform: translateX(5px);
}


/* =====================================================
   CUSTOM SOFTWARE SOLUTIONS
===================================================== */

.custom-software-section {
    position: relative;
    padding: 65px 0;
    overflow: hidden;
    background: linear-gradient(135deg,#f5fbff,#e7f6ff);
}

.custom-software-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}


/* LEFT IMAGE */

.custom-software-image-wrap {
    position: relative;
    padding: 10px 15px 35px 0;
}

.custom-software-main-image {
    display: block;
    width: 100%;
    height: 355px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 15px 35px rgba(0,60,110,.15);
}


/* FLOATING EXPERIENCE CARD */

.software-experience {
    position: absolute;
    left: -10px;
    bottom: 0;
    display: flex;
    align-items: center;
    min-width: 270px;
    padding: 14px 23px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 17px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 12px 30px rgba(0,50,100,.12);
}

.software-experience-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    margin-right: 14px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg,#00c5b4,#008fba);
    font-size: 25px;
}

.software-experience h3 {
    margin: 0 0 4px;
    color: #102044;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 800;
}

.software-experience p {
    margin: 0;
    color: #52617a;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;
}


/* RIGHT CONTENT */

.custom-software-content {
    padding-left: 25px;
}

.software-eyebrow,
.software-section-eyebrow {
    margin: 0 0 12px;
    color: #009e9b;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.custom-software-content h2 {
    margin: 0 0 14px;
    color: #101d40;
    font-size: 35px;
    line-height: 1.2;
    font-weight: 800;
}

.custom-software-content h2 span {
    color: #00a99f;
}

.software-description {
    margin: 0 0 15px;
    color: #43516d;
    font-size: 15px;
    line-height: 1.8;
    font-weight: 400;
}


/* FEATURE CARDS */

.software-benefits {
    margin-top: 5px;
}

.software-benefits > div {
    margin-bottom: 12px;
}

.software-benefit-card {
    display: flex;
    align-items: center;
    min-height: 90px;
    padding: 13px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 15px;
    background: rgba(255,255,255,.88);
    transition: all .3s ease;
}

.software-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,80,130,.1);
}

.software-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    margin-right: 12px;
    border-radius: 50%;
    font-size: 23px;
}

.benefit-teal {
    color: #00a99d;
    background: #dcf8f3;
}

.benefit-blue {
    color: #087ed4;
    background: #e0efff;
}

.benefit-orange {
    color: #ed8500;
    background: #fff0dd;
}

.benefit-green {
    color: #00a98c;
    background: #e0f8ee;
}

.software-benefit-card h3 {
    margin: 0 0 6px;
    color: #102044;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
}

.software-benefit-card p {
    margin: 0;
    color: #52617a;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 400;
}


/* =====================================================
   COMMON SOFTWARE SECTION TYPOGRAPHY
   Matches about.css heading, eyebrow and paragraph styles
===================================================== */

.software-tech-intro h2,
.industries-intro h2 {
    margin: 0 0 14px;
    color: #101d40;
    font-size: 35px;
    line-height: 1.2;
    font-weight: 800;
}

.software-tech-intro h2 span,
.industries-intro h2 span {
    color: #00a99f;
}

.software-tech-intro > p:not(.software-section-eyebrow),
.industries-intro > p:not(.software-section-eyebrow) {
    margin: 0 0 23px;
    color: #43516d;
    font-size: 15px;
    line-height: 1.8;
    font-weight: 400;
}


/* COMMON BUTTON */

.software-section-btn {
    display: inline-block;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 30px;
    color: #fff !important;
    background: linear-gradient(100deg,#00a9b5,#00c5a9);
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(0,195,190,.2);
    transition: all .3s ease;
}

.software-section-btn i {
    margin-left: 10px;
    transition: transform .3s ease;
}

.software-section-btn:hover {
    color: #008e9a !important;
    background: #fff;
    border-color: #00b5aa;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,201,192,.3);
}

.software-section-btn:hover i {
    transform: translateX(5px);
}


/* =====================================================
   TECHNOLOGIES WE WORK WITH
===================================================== */

.software-technologies-section {
    position: relative;
    padding: 48px 0;
    overflow: hidden;
    background:
        linear-gradient(rgba(243,250,255,.82), rgba(224,244,255,.82)),
        url('../img/tech-solution-bg.png') center center / cover no-repeat;
}

.software-tech-layout {
    display: grid;
    grid-template-columns: .85fr 1.9fr 1fr;
    align-items: center;
    gap: 22px;
}

.software-tech-intro {
    position: relative;
    z-index: 2;
    padding: 10px 0;
}

.software-tech-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    overflow: visible;
}

.software-tech-visual img {
    display: block;
    width: 100%;
    max-width: 650px;
    max-height: 480px;
    height: auto;
    object-fit: contain;
    transform: scale(1.12);
    transition: transform .4s ease;
}

.software-tech-benefits {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tech-benefit-card {
    display: flex;
    align-items: center;
    min-height: 82px;
    padding: 13px 15px;
    border: 1px solid rgba(255,255,255,.95);
    border-radius: 16px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 5px 18px rgba(30,80,120,.05);
    transition: all .3s ease;
}

.tech-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(30,80,120,.12);
}

.tech-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    margin-right: 12px;
    border-radius: 50%;
    color: #fff;
    font-size: 21px;
}

.tech-icon-teal {
    background: linear-gradient(135deg,#18c8b4,#00a69e);
}

.tech-icon-purple {
    background: linear-gradient(135deg,#a15cf5,#7041df);
}

.tech-icon-green {
    background: linear-gradient(135deg,#14c58a,#079c72);
}

.tech-icon-blue {
    background: linear-gradient(135deg,#31a7ff,#0875dc);
}

.tech-benefit-card h3 {
    margin: 0 0 5px;
    color: #102044;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
}

.tech-benefit-card p {
    margin: 0;
    color: #52617a;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 400;
}


/* =====================================================
   SOFTWARE SOLUTIONS FOR EVERY INDUSTRY
===================================================== */

.software-industries-section {
    position: relative;
    padding: 42px 0 48px;
    overflow: hidden;
    background: linear-gradient(110deg,#effff9,#e5fbf4,#f1fffb);
}

.software-industries-layout {
    display: grid;
    grid-template-columns: .72fr 3.28fr;
    align-items: center;
    gap: 22px;
}

.industries-intro {
    position: relative;
    z-index: 2;
    padding: 10px 0;
}

.industries-cards {
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 12px;
    align-items: stretch;
    width: 100%;
}

.industry-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 230px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.98);
    border-radius: 15px;
    background: rgba(255,255,255,.93);
    box-shadow: 0 7px 20px rgba(20,100,90,.06);
    transition: transform .3s ease, box-shadow .3s ease;
}

.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(20,100,90,.13);
}

.industry-image {
    width: 100%;
    height: 125px;
    overflow: hidden;
    border-radius: 10px;
    background: #e8f3f8;
}

.industry-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.industry-card:hover .industry-image img {
    transform: scale(1.07);
}

.industry-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin: -22px 0 6px 7px;
    border: 4px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 17px;
}

.industry-teal {
    background: #00aaa0;
}

.industry-blue {
    background: #2687e9;
}

.industry-green {
    background: #13b78b;
}

.industry-orange {
    background: #ff941b;
}

.industry-content {
    padding: 0 5px 8px;
}

.industry-content h3 {
    margin: 0 0 6px;
    color: #102044;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
}

.industry-content p {
    margin: 0;
    color: #52617a;
    font-size: 12px;
    line-height: 1.6;
    font-weight: 400;
}


/* =====================================================
   RESPONSIVE - LARGE TABLETS
===================================================== */

@media(max-width:1199px) {

    .software-tech-layout {
        grid-template-columns: .9fr 1.6fr;
        gap: 22px;
    }

    .software-tech-visual {
        grid-column: 2;
        grid-row: 1;
    }

    .software-tech-visual img {
        max-width: 540px;
        max-height: 400px;
        transform: scale(1.05);
    }

    .software-tech-benefits {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .software-industries-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .industries-intro {
        max-width: 650px;
    }

    .industries-cards {
        grid-template-columns: repeat(3,minmax(0,1fr));
        gap: 15px;
    }

    .industry-card {
        min-height: 235px;
    }

    .industry-image {
        height: 145px;
    }
}


/* =====================================================
   RESPONSIVE - TABLET AND MOBILE
===================================================== */

@media(max-width:767px) {

    .software-hero {
        padding: 45px 0;
        min-height: 300px;
        background-position: 65% center;
    }

    .software-hero:before {
        background: rgba(0,23,48,.82);
    }

    .software-hero h1 {
        font-size: 39px;
    }

    .software-hero h2 {
        font-size: 19px;
    }

    .software-hero p {
        font-size: 14px;
        line-height: 1.8;
    }

    .custom-software-section {
        padding: 45px 0;
    }

    .custom-software-image-wrap {
        padding: 0 8px 25px;
    }

    .custom-software-main-image {
        height: 260px;
        border-radius: 19px;
    }

    .software-experience {
        left: 0;
        min-width: 230px;
        padding: 12px 15px;
    }

    .custom-software-content {
        padding: 15px 0 0;
        margin-top: 0;
    }

    .custom-software-content h2 {
        font-size: 29px;
    }

    .software-description {
        font-size: 14px;
    }

    .software-benefit-card {
        min-height: 85px;
    }

    .software-technologies-section {
        padding: 42px 0;
    }

    .software-tech-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .software-tech-intro {
        text-align: center;
    }

    .software-tech-intro h2,
    .industries-intro h2 {
        font-size: 29px;
    }

    .software-tech-intro > p:not(.software-section-eyebrow),
    .industries-intro > p:not(.software-section-eyebrow) {
        font-size: 14px;
    }

    .software-tech-visual {
        grid-column: auto;
        grid-row: auto;
    }

    .software-tech-visual img {
        width: 100%;
        max-width: 450px;
        max-height: 350px;
        transform: none;
    }

    .software-tech-benefits {
        grid-column: auto;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 12px;
    }

    .tech-benefit-card {
        min-height: 115px;
        padding: 12px;
        align-items: flex-start;
        flex-direction: column;
    }

    .tech-benefit-icon {
        width: 42px;
        height: 42px;
        margin: 0 0 8px;
        font-size: 18px;
    }

    .tech-benefit-card h3 {
        font-size: 14px;
    }

    .tech-benefit-card p {
        font-size: 12px;
    }

    .software-industries-section {
        padding: 40px 0;
    }

    .industries-intro {
        text-align: center;
    }

    .industries-cards {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 13px;
    }

    .industry-card {
        min-height: 220px;
        padding: 8px;
    }

    .industry-image {
        height: 125px;
    }

    .industry-content h3 {
        font-size: 14px;
    }

    .industry-content p {
        font-size: 12px;
    }
}


/* =====================================================
   RESPONSIVE - SMALL MOBILE
===================================================== */

@media(max-width:420px) {

    .software-hero h1 {
        font-size: 34px;
    }

    .software-hero h2 {
        font-size: 17px;
    }

    .software-experience {
        min-width: 210px;
    }

    .software-benefit-card {
        padding: 10px;
    }

    .software-benefit-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .software-tech-intro h2,
    .industries-intro h2 {
        font-size: 27px;
    }

    .software-tech-benefits {
        grid-template-columns: 1fr;
    }

    .tech-benefit-card {
        min-height: 80px;
        align-items: center;
        flex-direction: row;
    }

    .tech-benefit-icon {
        margin: 0 10px 0 0;
    }

    .industries-cards {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 10px;
    }

    .industry-card {
        min-height: 205px;
    }

    .industry-image {
        height: 105px;
    }

    .industry-content h3 {
        font-size: 13px;
    }

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


/* =====================================================
   TECHNOLOGY SECTION - LARGER CENTER IMAGE + 2x2 CARDS
   Add-on layout refinements
===================================================== */

/* Give the infographic more room and keep the right cards
   arranged as two columns and two rows on desktop. */
.software-tech-layout {
    grid-template-columns: .78fr 1.85fr 1.22fr;
    gap: 20px;
}

.software-tech-visual {
    min-height: 490px;
    width: 100%;
}

.software-tech-visual img {
    width: 125%;
    max-width: none;
    max-height: 560px;
    transform: scale(1.18);
}

/* Two columns x two rows */
.software-tech-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(150px, auto));
    gap: 14px;
    align-content: center;
}

.tech-benefit-card {
    min-width: 0;
    min-height: 150px;
    padding: 15px 13px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
}

.tech-benefit-icon {
    width: 44px;
    height: 44px;
    margin: 0 0 10px;
    font-size: 19px;
}

.tech-benefit-card h3 {
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 6px;
}

.tech-benefit-card p {
    font-size: 12px;
    line-height: 1.5;
}


/* Large tablet: retain the larger infographic and show the
   four feature cards in a 2x2 grid underneath it. */
@media(max-width:1199px) {
    .software-tech-layout {
        grid-template-columns: .85fr 1.55fr;
        gap: 22px;
    }

    .software-tech-visual {
        grid-column: 2;
        grid-row: 1;
        min-height: 400px;
    }

    .software-tech-visual img {
        width: 115%;
        max-width: none;
        max-height: 480px;
        transform: scale(1.1);
    }

    .software-tech-benefits {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
    }

    .tech-benefit-card {
        min-height: 115px;
        align-items: center;
        flex-direction: row;
        padding: 14px 16px;
    }

    .tech-benefit-icon {
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        margin: 0 12px 0 0;
    }

    .tech-benefit-card h3 {
        font-size: 14px;
    }

    .tech-benefit-card p {
        font-size: 12px;
    }
}


/* Mobile and small tablet */
@media(max-width:767px) {
    .software-tech-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .software-tech-visual {
        grid-column: auto;
        grid-row: auto;
        min-height: 0;
        padding: 5px 0;
    }

    .software-tech-visual img {
        width: 100%;
        max-width: 520px;
        max-height: 390px;
        transform: none;
    }

    .software-tech-benefits {
        grid-column: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        gap: 12px;
    }

    .tech-benefit-card {
        min-height: 145px;
        padding: 13px;
        align-items: flex-start;
        flex-direction: column;
    }

    .tech-benefit-icon {
        width: 42px;
        height: 42px;
        margin: 0 0 8px;
    }

    .tech-benefit-card h3 {
        font-size: 13px;
    }

    .tech-benefit-card p {
        font-size: 11px;
    }
}


/* Narrow mobile: keep the cards readable */
@media(max-width:420px) {
    .software-tech-benefits {
        grid-template-columns: 1fr;
    }

    .tech-benefit-card {
        min-height: 82px;
        align-items: center;
        flex-direction: row;
    }

    .tech-benefit-icon {
        flex-shrink: 0;
        margin: 0 10px 0 0;
    }
}



/* =====================================================
   FINAL TYPOGRAPHY OVERRIDES
   Matches about.css / website-development.css
   Keep this block at the END of this file so it takes
   precedence over earlier page-specific declarations.
===================================================== */

/* Eyebrow labels */
.software-eyebrow,
.software-section-eyebrow {
    margin: 0 0 12px;
    color: #009e9b;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Main section headings */
.custom-software-content h2,
.software-tech-intro h2,
.industries-intro h2 {
    margin: 0 0 14px;
    color: #101d40;
    font-size: 35px;
    line-height: 1.2;
    font-weight: 800;
}

/* Highlighted heading words */
.custom-software-content h2 span,
.software-tech-intro h2 span,
.industries-intro h2 span {
    color: #00a99f;
}

/* Section descriptions */
.software-description,
.software-tech-intro > p:not(.software-section-eyebrow),
.industries-intro > p:not(.software-section-eyebrow) {
    color: #43516d;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
}

/* Feature and technology card headings */
.software-benefit-card h3,
.tech-benefit-card h3,
.industry-content h3 {
    color: #102044;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

/* Feature and technology card descriptions */
.software-benefit-card p,
.tech-benefit-card p,
.industry-content p {
    color: #52617a;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;
}

/* Hero typography - same desktop scale as the About page */
.software-hero .breadcrumb-custom {
    font-size: 14px;
    font-weight: 400;
}

.software-hero h1 {
    font-size: 55px;
    line-height: 1.1;
    font-weight: 800;
}

.software-hero h2 {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
}

.software-hero p {
    font-size: 15px;
    line-height: 1.8;
    font-weight: 400;
}

/* Tablet */
@media (max-width: 991px) {
    .software-hero h1 {
        font-size: 45px;
    }

    .custom-software-content h2,
    .software-tech-intro h2,
    .industries-intro h2 {
        font-size: 29px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .software-hero h1 {
        font-size: 39px;
    }

    .software-hero h2 {
        font-size: 19px;
    }

    .software-hero p {
        font-size: 14px;
    }

    .custom-software-content h2,
    .software-tech-intro h2,
    .industries-intro h2 {
        font-size: 28px;
    }

    .software-description,
    .software-tech-intro > p:not(.software-section-eyebrow),
    .industries-intro > p:not(.software-section-eyebrow) {
        font-size: 14px;
    }
}

/* Small mobile */
@media (max-width: 420px) {
    .software-hero h1 {
        font-size: 34px;
    }

    .software-hero h2 {
        font-size: 17px;
    }

    .custom-software-content h2,
    .software-tech-intro h2,
    .industries-intro h2 {
        font-size: 26px;
    }
}
