﻿
/* ============================
   Hero Section
============================ */

/* General */
.masthead {
    background-image: url('/images/ProcessForge/bg-home.png');
    background-size: cover;
    background-position: center;
    min-height: 600px;
    color: white;
}
/* Masthead Button */
.masthead .btn-primary {
    background-color: #66C3EF;
    border-color: #66C3EF;
    color: #fff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

    .masthead .btn-primary:hover {
        background-color: #0B0B4D;
        border-color: #0B0B4D;
        color: #fff;
    }


.display-1 {
    font-size: 3rem;
}
.display-4 {
    font-size: 1.4rem;
}
.display-2 {
    font-size: 2.5rem;
    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;
}
/* ============================
      Amount Section
============================ */
.about-section {
    background-color: #010050;
}

.line {
    border: 2px solid #66C3EF; /* sets the color and thickness */
    width: 25%; /* optional, for w-25 */
    margin: 1rem 0; /* optional, like my-4 */
}
.line2 {
    border: 2px solid #66C3EF; /* sets the color and thickness */
    width: 15%; /* optional, for w-25 */
    margin: 1rem 0; /* optional, like my-4 */
}
.lead {
    display: flex;
    align-items: center; /* vertically center icon and text */
}
.bluePhone {
    margin-top:15px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #66C3EF;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    margin-right: .5rem;
}
/* ============================
      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;
}


.value-section .value-image img {
    width: 100%;
    height: 100%;
}
.value-image img {
    border-radius: 1rem; /* adjust value for more/less rounding */
    width: 100%; /* ensure it stays responsive */
    height: auto; /* maintain aspect ratio */
    display: block; /* remove inline spacing */
    object-fit: cover; /* optional: ensures image covers container nicely */
}
.value-section .container {
    max-width: 85%; /* mimic Bootstrap container width */
}

.value-section .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem; /* spacing between image and content */
}

.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 */
}

.unlock {
    color: #66c3ef;
    font-weight: 600;
    display: inline-block;
    border-bottom: 1px;
    padding-bottom: 0.25rem;
    margin-bottom: 1rem;
    position: relative;
}

.unlock::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px; /* thinner line */
    background-color: #ccc; /* light grey */
}
.icon-row {
    display: flex;
    justify-content: flex-start; /* align left like Bootstrap */
    flex-wrap: wrap;
    margin: 1.5rem 0; /* top/bottom spacing like my-3 */
}

.icon-group {
    text-align: center;
    margin-right: 1rem; /* horizontal spacing like me-4 */
}

.icon-group img {
    width: 50px; /* desired width */
    height: auto; /* maintain aspect ratio */
    display: block; /* remove inline spacing */
}
/* ============================
  Demo Form popup
============================ */
/* Modal wrapper */
.product-demo-modal .modal-dialog {
    max-width: 500px; /* Moderate width for readability */
}

.product-demo-modal .modal-content {
    border-radius: 12px; /* Smooth rounded corners */
    box-shadow: 0 8px 24px rgba(0,0,0,0.2); /* subtle shadow */
    padding: 1rem;
    border: none; /* clean look */
}

/* Modal header */
.product-demo-modal .modal-header {
    border-bottom: none; /* remove line for modern look */
    justify-content: space-between;
    padding-bottom: 0.5rem;
}

.product-demo-modal .modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* Close button */
.product-demo-modal .btn-close {
    background-color: #f2f2f2; /* subtle background */
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

/* Modal body */
.product-demo-modal .modal-body {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Form inside modal */
.product-demo-modal .contact-form input,
.product-demo-modal .contact-form textarea {
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 0.65rem;
    margin-bottom: 0.75rem;
    width: 100%;
}

.product-demo-modal .contact-form button.contact-submit {
    background-color: #66C3EF; /* Bootstrap primary color */
    color: #fff;
    border-radius: 8px;
    width: 100%;
    padding: 0.7rem;
    font-weight: 600;
    transition: background 0.3s;
}

    .product-demo-modal .contact-form button.contact-submit:hover {
        background-color: #0056b3;
    }

/* Responsive tweaks */
@media (max-width: 576px) {
    .product-demo-modal .modal-dialog {
        margin: 1rem;
        max-width: 100%;
    }

    .product-demo-modal .modal-title {
        font-size: 1.1rem;
    }
}

/* =========================
   Mobile Friendly Adjustments
============================ */
@media (max-width: 767px) {

    /* Hero Section */
    .masthead {
        margin-top:120px;
        min-height: 400px;
        padding: 0.5rem 1rem;
        text-align: center;
    }

    .masthead .display-1 {
        font-size: 1.7rem;
    }

    .masthead .display-4 {
        font-size: 1.1rem;
    }

    .masthead .btn-primary {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }

    /* Call To Action Section */
    .call_to_action {
        display: none;
    }
    .products-section .row.gx-5 {
        flex-direction: column; /* stack vertically */
        text-align: center; /* center text */
        gap: 1.5rem; /* spacing between columns */
    }

    .products-section .row.gx-5 .col-md-5 {
        flex: 0 0 100%; /* full width on mobile */
        max-width: 100%;
    }

    .products-section .row.gx-5 h2.display-2 {
        font-size: 1.8rem; /* smaller heading for mobile */
        line-height: 1.3;
    }

    .products-section .row.gx-5 p.display-4 {
        font-size: 1rem; /* smaller paragraph text */
        line-height: 1.4;
    }

    .about-divider.small {
        margin: 1rem auto 0; /* center the divider */
    }
    /* 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;
        }


    .about-divider.small {
        margin: 1rem auto 0; /* center the divider */
    }

   

    .service-card .card-body p {
        height: auto; /* allow wrapping */
    }

    .card-cta {
        font-size: 0.8rem;
        height: 50px;
    }

    .icon-wrapper {
        width: 150px;
        height: 150px;
    }

    .icon-wrapper img {
        width: 60%;
        height: 60%;
    }

    .custom-btn, .btn-white {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    /* About Section */
    .about-section {
        padding: 2rem 1rem;
        text-align: center;
    }

    .about-section .lead {
        justify-content: center;
    }

    .about-section img {
        margin-bottom: 1.5rem;
    }

    /* Seperator Band */
    .seperator-band {
        height: 5rem;
    }

    .seperator-band img {
        height: 3.5rem;
    }

    /* Value Section */
    .value-section {
        flex-direction: column;
        padding: 2rem 1rem;
        height: auto;
    }

    .value-section .row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0rem;
    }
    .value-section .value-image, .value-section .content {
        flex: 1 1 100%;
        margin-bottom: 1.5rem;
    }

    .value-section h2 {
        font-size: 1.8rem;
    }

    .value-section p, .value-section ul li {
        font-size: 0.95rem;
    }

    .icon-row {
        justify-content: center;
    }
}
