﻿
/* ============================
   Hero Section
============================ */
.masthead-small {
    background-image: url('/images/ProcessForge/masthead-other.png');
    background-size: cover;
    background-position: center;
    padding-top: 108px; /* same as before */
    padding-bottom: 3rem;
    width: 100%;
    box-sizing: border-box;
}

.hero-container {
    width: 100%;
    max-width: 1200px; /* adjust for layout */
    margin: 0 auto;
    padding: 0 1.5rem; /* replace px-3 and px-md-5 */
}

.hero-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: 100%;
    justify-content: space-between;
}

.hero-left {
    flex: 1 1 60%;
    text-align: center;
    margin-bottom: 1rem;
}

.hero-right {
    flex: 1 1 35%;
    text-align: center;
}

/* Headings */
.hero-left h1 {
    font-size: 3rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
    line-height: 1.5;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

.highlight {
    font-weight: 700;
    text-transform: uppercase;
    color: #66C3EF; /* primary color */
}

.hero-right p {
    font-size: 2rem; /* display-4 equivalent */
    margin: 0;
    color: #c0c0c0;
    font-weight: 300;
    line-height: 1.5;
}
/* ============================
   Call To Action
============================ */
.call_to_action {
    margin-top: -80px; /* Pulls the entire section upwards to overlap masthead */
    position: relative; /* Establish stacking context */
    z-index: 10; /* Ensures it appears above the masthead if needed */
    min-height: 50px; /* or any value you like */
}
.btn-primary {
    color: #fff;
    border-color: #66C3EF;
    background-color: #66C3EF;
    transition: all .3s ease;
}






/* ============================
   Products Section
============================ */
.service-card {
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 10px;
}

/* Make card body stretch */
.service-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 60px; /* space for CTA */
    align-items: center;
    
}
.card-body p {
    height: 3rem; /* same height for all cards */
}
.card-cta {
    position: absolute;
    bottom: -60px; /* hidden below card */
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #66C3EF;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.3;
    opacity: 0;
    transition: bottom 0.45s ease, opacity 0.45s ease;
}
/* Inner text container with 80% width */
    .card-cta .cta-text {
        width: 90%;
        text-align: center;
        line-height: 1;
        font-size: 0.8rem;
    }
.service-card:hover .card-cta {
    bottom: -10px; /* slightly below card */
    opacity: 1;
}


/* Center & size the icons */
.service-card img {
    max-width: 80px;
    height: auto;
    align-self: center;
    display: block;
}
.icon-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #fff; /* default color */
    display: flex;
    justify-content: center;
    align-items: center;
    border: 4px solid #e0e0e0; /* outer ring with default color */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover .icon-wrapper {
    border: 4px solid #66C3EF; /* match demo button */
}

.icon-wrapper img {
    width: 50%; /* all icons same size relative to wrapper */
    height: 50%; /* keeps proportion */
    object-fit: contain; /* ensures image scales without distortion */
}

.custom-btn {
    display: flex; /* d-flex */
    justify-content: center; /* center horizontally */
    align-items: center; /* center vertically */
    padding: 1rem; /* p-3 */
    margin-bottom:1rem;
    border-radius: 50rem; /* rounded-pill */
    background-color: #66C3EF; /* button color */
    color: #fff; /* text color */
    border: 1px solid #66C3EF; /* border color */
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    text-align: center; /* ensures text is centered */
}

.custom-btn:hover {
    background-color: #0B0B4D; /* hover color */
    border-color: #0B0B4D;
    color: #fff;
}
.btn-white {
    display: flex; /* d-flex */
    justify-content: center; /* center horizontally */
    align-items: center; /* center vertically */
    padding: 1rem; /* p-3 */
    border-radius: 50rem; /* rounded-pill */
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    text-align: center; /* ensures text is centered */
    background-color: #fff; /* white background */
    color: #000; /* black text */
    border: 1px solid #ccc; /* optional border */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-white:hover {
    background-color: #66C3EF;
    color: #fff;
}
.custom-separator {
    border-color: #66C3EF !important;
    position: relative; /* Needed for z-index */
    z-index: 20; /* Separators appear above the section if needed */
}
/* Service Cards */
.service-card .card-cta {
    background-color: #66C3EF;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    max-height: 60px;
}
/* About Dividers */
.about-divider.big {
    width: 60px;
    border-top: 3px solid #fff;
}

.about-divider.small {
    width: 40px;
    border-top: 2px solid #fff;
}

/* ============================
      Seperator Section
============================ */
.seperator-band {
    background-color: #00256f; /* your brand green */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 7rem; /* small height for subtle effect */
}

    .seperator-band img {
        height: 5rem; /* small logo */
        width: auto; /* maintain aspect ratio */
        object-fit: contain;
    }
/* ============================
   Value Section
============================ */
.value-section {
    display: flex;
    height: auto;
    padding: 4rem 0;
}

.value-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.value-section .container {
    max-width: 85%; /* mimic Bootstrap container width */
}

.value-section .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
   
}

.value-section .value-image {
    flex: 1 1 45%;
}

.value-section .content {
    margin-top: 2rem;
    flex: 1 1 50%;
}

.value-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
     
    line-height: 1.2;
    color: #212529;
}

.value-section p {
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    margin-top: 1rem;
}

.value-section ul {
    padding-left: 1.25rem;
    margin-top: 1rem;
}

.value-section ul li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #495057;
}

.value-section ul li b {
    color: #000; /* highlight key terms */
}

p.unlock {
    color: #000;
    font-weight: 600;
    display: flex; /* use flex to center content */
    justify-content: center; /* center horizontally */
    align-items: center; /* center vertically */
    font-size: 1.1rem; /* bigger text */
    text-align: center; /* fallback for multi-line text */
    padding-bottom: 0.25rem;
    margin-bottom: 4rem;
    position: relative;
    width:60%;
}

.unlock::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px; /* thinner line */
    background-color: #ccc; /* light grey */
}
/* ============================
   Enquirey Section
============================ */
.product-cta-section {
    padding: 3rem 0; /* similar to py-5 */
    width: 100%;
    margin-bottom:20px;
}

.container {
    max-width: 1200px; /* similar to Bootstrap container */
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cta-wrapper {
    display: flex;
    justify-content: center; /* center like justify-content-center */
    padding-top: 3rem; /* pt-5 */
}

.product-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem; /* p-3 px-5 */
    background-color: #010050; 
    color: #fff;
    border-radius: 50rem; /* rounded-pill */
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-cta-btn span {
    margin-right: 1.5rem; /* similar to me-md-5 */
}

.product-cta-btn i {
    font-size: 1.5rem;
}

.product-cta-btn:hover {
    background-color: #5a6268; /* slightly darker on hover */
}
.sections-wrapper {
    display: flex;
    flex-direction: column;
}

/* Desktop: Products first (default) */
.products-section {
    order: 1;
}

.value-section-wrapper {
    order: 2;
}

/* ============================================================
   MOBILE FRIENDLY DESIGN – Professional Responsive Layout
   Applies to screens 0–768px
============================================================ */
@media (max-width: 768px) {

    /* ---------------------------
       Hero Section
    ----------------------------*/
    .masthead-small {
        padding-top: 120px;
        padding-bottom: 2rem;
        text-align: center;
    }

    .hero-left h1 {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .hero-right p {
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }

    .hero-row {
        flex-direction: column;
    }
    /* Ensure column fills full width */
    .products-section .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: 0 !important;
    }
    .py-5 {
        padding-top: 1.5rem !important; /* override top padding */
        padding-bottom: 2rem !important; /* override bottom padding */
    }

  /* Hide CTA by default on mobile */
    .card-cta {
        position: absolute !important;
        bottom: -60px !important;
        opacity: 0 !important;
        transition: all 0.35s ease-in-out;
    }

    /* Show CTA on hover (mobile hover = first tap) */
    .service-card:hover .card-cta {
        bottom: 0 !important;
        opacity: 1 !important;
    }

    /* Keep card layout stacked */
    .products-section .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1.7rem;
    }

    .service-card {
        margin-bottom: 1.7rem;
        background-color: #f8f9fa;
    }

    .service-card .card-body {
        padding: 2rem 1.2rem 4rem;
    }

    p.unlock {
        color: #000;
        font-weight: 600;
        display: flex; /* use flex to center content */
        justify-content: center; /* center horizontally */
        align-items: center; /* center vertically */
        font-size: 1.1rem; /* bigger text */
        text-align: center; /* fallback for multi-line text */
        padding-bottom: 0.25rem;
        margin-bottom: 4rem;
        position: relative;
        width: 100%;
    }

    .unlock::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 1px; /* thinner line */
        background-color: #ccc; /* light grey */
    }
    .products-section {
        order: 2;
    }

    .value-section-wrapper {
        order: 1;
    }
}
