    .container-bg
    {
        background:#F0F1F1;
        
    }
    /* HERO DESKTOP */
    .custom-justify
    {
        text-align: justify;
    }
    .hero img{
        width:100%;
        height: 100%;
        object-fit:cover;
        position: absolute;
        top: 0;
        left: 0;
    }

    .hero::before{
        content:"";
        position:absolute;
        inset:0;
        background:rgba(0,0,0,0.45);
    }

    .hero-content{
        position:absolute;
        top:50%;
        left:7%;
        transform:translateY(-50%);
        color:white;
        max-width: 630px;
    }

    .hero-content h1{
        font-size:63px;
        font-weight:700;
        text-align: left;
    }

    .hero-content p{
        margin-top:15px;
        text-align: left;
    }

    .form-panel h4{
        /*color: #4ED5FA;*/
        font-weight:700;
    }

    .form-control{
    margin-bottom:12px;
    }

    .submit-btn{
        width:100%;
        /*background:#4ED5FA;*/
        border:none;
        border-radius: 12px;
        padding:12px;
        font-weight:600;
    }

    /* MOBILE SECTION */

    .mobile-hero{
        padding:30px 20px;
    }

    .mobile-hero h1{
    font-size:30px;
    font-weight:700;
    }

    .mobile-image img{
    width:100%;
    border-radius:12px;
    }

    /* WHY SECTION */
    .why{
        padding:30px 0;
    }
    .why h2{
        text-align:center;
        font-weight:700;
        margin-bottom:40px;
    }

    .bg-color-general{
        background-color: #F0F1F1
    }

    .how{
        padding:30px 0;
        background-color: #F0F1F1;
    }

    .how h2{
        text-align:center;
        font-weight:700;
        margin-bottom:40px;
    }

    .card-body-height{
        height: 145px;
    }
    .li-styling{
        font-size: larger;
    }

    .li-heading{
        text-align: ;
        font-weight: 700;
        margin-bottom: 40px;
        font-size: 2rem;
    }

    .custom-margins{
        margin-left: 3%;
        margin-right: 3%;
    }

    .save-main{
        padding:10px;
        color:#000;
        border:none;
        border-radius:12px;
        font-weight:600;
    }
    .slider-card{
        border-radius:120px;
        padding:50px 60px;
        color:#000;
        position:relative;
    }

    .slider-text h4{
        font-weight:700;
        margin-bottom:15px;
    }

    .slider-text p{
        font-size:14px;
        line-height:1.6;
    }

    .slider-img{
        max-width:80%;
        border-radius:120px;
    }

    /* navigation style */
    .carousel-control-prev,
    .carousel-control-next
    {
        width:40px;
        height:40px;
        top:75%;
        /*background:#fff;*/
        border-radius:50%;
        opacity:1;  
        margin-left: 1%;
    }

    .carousel-control-prev{
        left:40px;
    }

    .carousel-control-next{
        left:90px;
    }

    .text-alignment{
        text-align: end;
    }

    @media (max-width:768px){

        .slider-card{
            border-radius:30px;
            padding:30px;
            text-align:center;
        }

        .slider-img{
            /*margin-top:20px;*/
            max-width:250px;
        }

        .carousel-control-prev,
        .carousel-control-next{
            top:90%;
            margin-left: 33%;
        }
        .text-alignment{
            text-align: center;
        }

    }
    /* RESPONSIVE RULES */
    @media (max-width:991px)
    {
        .hero{
            display:none;
        }

        .mobile-layout{
            display:block;
        }
    }

    @media (min-width:992px)
    {
        .mobile-layout{
            display:none;
        }
    }

    .hero
    {
        position: relative;
        border-radius: 20px;
        overflow: visible !important;
        /*min-height: 1250px;*/
        min-height: 1250px;
        background-color: #2159AF;
    }

    .form-panel{
        position: absolute;
        right: 5%;
        top: 58px;                      
        transform: none;                
        width: 425px;
        padding: 95px 30px 30px;        
        border-radius: 28px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(16px);
        /*background: rgba(255,255,255,0.22);*/
        background: #2159AF1A;
        border: 1px solid rgba(255,255,255,0.45);
        box-shadow:
            0 8px 32px rgba(0,0,0,0.22),
            inset 0 1px 0 rgba(255,255,255,0.35);
        color: #ffffff;
        overflow: visible;
    }
/* ---------- COUNTDOWN BADGE ---------- */
.offer-timer{
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 70px);
    max-width: 560px;
    z-index: 20;
}

.offer-timer-card{
    position: relative;
    background: #ffffff;
    border: 1px solid #2d2d2d;
    border-radius: 22px;
    /*padding: 40px 28px 26px;*/
    padding: 30px 28px 0px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Blue ribbon at top */
.offer-timer-ribbon{
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    background: #2159AF;
    color: #ffffff;
    padding: 12px 34px;
    border-radius: 16px;
    font-weight: 700;
    /*font-size: 1.35rem;*/
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(13,143,232,0.28);
}

.offer-timer-ribbon i{
    font-style: normal;
    font-size: 1.35rem;
    line-height: 1;
}

/* Grid */
.offer-timer-grid{
    display: grid;
    /*grid-template-columns: repeat(4, 1fr);*/
    grid-template-columns: repeat(8, 1fr);
    gap: 0;
    align-items: center;
    text-align: center;
}

.offer-timer-label{
    font-size: 8px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.offer-timer-value{
    font-size: 2rem;
    line-height: 1;
    font-weight: 600;
    color: #2159AF;
    letter-spacing: 1px;
}

.offer-timer-colon{
    color: #5a5566;
    font-size: 2rem;
    font-weight: 500;
    /*margin-left: 8px;*/
    margin-top: 25px;
}

/* ---------- MOBILE VERSION ---------- */
@media (max-width: 991.98px)
{
    .mobile-form{
        position: relative;
        margin: 90px 15px 30px;
        padding: 95px 20px 30px;
        border-radius: 28px;
        /*background: rgba(255,255,255,0.22);*/
        background: #2159AF1A;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255,255,255,0.45);
        box-shadow:
            0 8px 32px rgba(0,0,0,0.18),
            inset 0 1px 0 rgba(255,255,255,0.35);
        /*color: #ffffff;*/
        overflow: visible;
    }

    .mobile-image{
        position: relative;
        margin: 0 15px;
        border-radius: 20px;
        overflow: hidden;
    }

    .mobile-image img{
        width: 100%;
        border-radius: 20px;
        display: block;
    }

    /* dark overlay on image for better readability */
    .mobile-image::after{
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.35);
    }

    .mobile-form .offer-timer{
        width: calc(100% - 30px);
        top: -82px;
    }

    .offer-timer-card{
        padding: 34px 14px 18px;
        border-radius: 18px;
    }

    .offer-timer-ribbon{
        font-size: 0.95rem;
        padding: 10px 18px;
        top: -22px;
        border-radius: 14px;
    }

    .offer-timer-ribbon i{
        font-size: 1rem;
    }

    .offer-timer-label{
        font-size: 0.70rem;
        margin-bottom: 6px;
    }

    .offer-timer-value{
        font-size: 2.15rem;
    }

    .offer-timer-colon{
        font-size: 2.05rem;
        margin-left: 2px;
    }

    .mobile-form h6 a{
        color: #ffffff;
    }
}

/* Extra small screens */
@media (max-width: 480px){

    .mobile-form{
        margin: 85px 10px 25px;
        padding: 88px 15px 25px;
    }

    .mobile-form .offer-timer{
        width: calc(100% - 20px);
        /*top: -74px;*/
        top: -65px;
    }

    .offer-timer-ribbon{
        font-size: 0.82rem;
        padding: 8px 14px;
    }

    .offer-timer-label{
        font-size: 0.62rem;
    }

    .offer-timer-value{
        font-size: 1.7rem;
    }

    .offer-timer-colon{
        font-size: 1.6rem;
    }
}
/* ---------- Desktop hero adjustment to match supplied design ---------- */
@media (min-width: 992px){
    .hero{
        position: relative;
        /*min-height: 760px;*/
        border-radius: 28px;
        overflow: hidden !important;
        /*background-color: #2159AF;*/
        background-color: #F0F1F1;
    }

    .hero::before{
        display: none;
    }

    .hero-content{
        position: absolute;
        /*top: 70px;*/
        top: 30px;
        left: 5%;
        transform: none;
        width: 61%;
        /*max-width: 700px;*/
        max-width: 900px;
        color: #ffffff;
        z-index: 2;
    }

    .hero-content h4{
        margin-bottom: 12px;
    }

    .hero-kicker-pill{
        display: inline-block;
        /*width: min(560px, 100%);*/
        width: min(350px, 100%);
        margin: 0 0 18px;
        padding: 8px 28px;
        border-radius: 999px;
        /*background: #ffffff;*/
        background: #2159AF;
        text-align: center;
        font-weight: 700;
        line-height: 1.15;
    }

    .hero-content h1{
        /*max-width: 670px;*/
        max-width: 750px;
        margin-bottom: 14px;
    }

    .hero-content h3{
        max-width: 610px;
    }

    .hero-content ul{
        max-width: 650px;
        margin-bottom: 0;
    }

    .hero-app-preview{
        position: static !important;
        display: block;
        width: auto !important;
        max-width: 360px;
        max-height: 650px;
        height: auto !important;
        /*margin: 26px 0 0 30px;*/
        object-fit: contain !important;
        filter: drop-shadow(0 14px 18px rgba(0,0,0,0.22));
    }

    .form-panel{
        top: 80px;
        right: 4.5%;
        width: 425px;
        padding-top: 95px;
        z-index: 3;
    }
}

@media (max-width: 991.98px){
    .hero-app-preview{
        display: none !important;
    }
}

    .card-styling{
        border: none;
        background-color: #F0F1F1;
    }
    .card-styling img{
        border-radius: 25px;
    }

    
        /*CALCULATOR STYLING*/
        
.highlight {
    color: #d32f2f;
    font-weight: bold;
}
.green {
    color: #2e7d32;
    font-weight: bold;
}
.box {
    background: #fafafa;
    /*padding: 20px;*/
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.result {
    font-size: 18px;
    /*margin-top: 10px;*/
}
.cta {
    background: #000;
    color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
}
.cta a {
    color: #00e676;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
}
@media(max-width:600px){
    .container { padding: 15px; }
}

.input-row {
    display: grid;
    grid-template-columns: repeat(4, 3fr);
    gap: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

@media (max-width: 700px) {
    .input-row {
        grid-template-columns: 1fr;
    }
}


        /* BEAUTIFIED DESKTOP PROFIT CALCULATOR */
        @media (min-width: 768px) {
            .hero .hero-content {
                position: relative;
            }

            .hero .hero-content h1[style*="FoodieGo Profit Calculator"],
            .hero .hero-content h1:nth-of-type(2) {
                display: inline-block;
                margin-top: 28px !important;
                margin-bottom: 10px !important;
                padding: 0;
                font-size: clamp(36px, 3.2vw, 54px) !important;
                line-height: 0.98 !important;
                letter-spacing: -1.8px !important;
                color: #ffb32c !important;
            }

            .hero .hero-content h1:nth-of-type(2) + h5 {
                max-width: 780px;
                margin: 0 0 24px !important;
                color: #1f2937 !important;
                font-size: 18px !important;
                line-height: 1.35 !important;
                font-weight: 600 !important;
            }

            .hero .hero-content h2 {
                font-weight: 800 !important;
                letter-spacing: -0.4px !important;
                margin: 0 0 14px !important;
            }
            .hero .hero-content label.theme_font_color {
                display: block;
                margin: 0 0 8px;
                color: #2159af !important;
                font-size: 14px;
                font-weight: 800;
            }

            .hero .hero-content #orderValue,
            .hero .hero-content #ordersPerDay,
            .hero .hero-content #commissionRate {
                height: 48px;
                border-radius: 14px;
                border: 1px solid #d9e2f1;
                background: #ffffff;
                color: #111827;
                font-size: 16px;
                font-weight: 700;
                padding: 10px 14px;
                box-shadow: 0 1px 0 rgba(16, 24, 40, 0.03);
                transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
            }

            .hero .hero-content #orderValue:focus,
            .hero .hero-content #ordersPerDay:focus,
            .hero .hero-content #commissionRate:focus {
                border-color: #2159af;
                box-shadow: 0 0 0 4px rgba(33, 89, 175, 0.12);
            }

            .hero .hero-content .alert {
                border-radius: 18px;
                padding: 16px 18px;
                margin: 18px 0 16px;
                border-width: 1px;
                box-shadow: none;
            }

            .hero .hero-content .alert h2 {
                margin: 0 !important;
                font-size: 18px !important;
                line-height: 1.25 !important;
                font-weight: 800 !important;
            }

            .hero .hero-content .alert-danger {
                background: #fff1f2;
                border-color: #fecdd3;
            }

            .hero .hero-content .alert-success {
                background: #ecfdf3;
                border-color: #bbf7d0;
            }

            .hero .hero-content .box {
                background: #ffffff;
                border: 1px solid #e9eef6;
                border-radius: 22px;
                padding: 18px;
                margin-bottom: 22px;
                box-shadow: 0 16px 36px rgba(16, 24, 40, 0.08);
            }

            .hero .hero-content .box .row {
                row-gap: 12px;
            }

            .hero .hero-content .box .row > [class*="col-"] > span,
            .hero .hero-content .box .row > [class*="col-"] > p {
                display: block;
                width: 100%;
                /*height: 100%;*/
                margin: 0;
                /*padding: 15px 16px;*/
                padding: 8px 16px;
                border-radius: 16px;
                background: #f8fafc;
                border: 1px solid #eef2f7;
                font-size: 16px;
                line-height: 1.25;
                color: #111827 !important;
            }

            .hero .hero-content .box .row > [class*="col-"] > .green,
            .hero .hero-content .box p.green {
                background: #f0fdf4;
                border-color: #bbf7d0;
                color: #15803d !important;
                /*font-weight: 800;*/
            }

            .hero .hero-content .box .row > [class*="col-"] > .highlight,
            .hero .hero-content .box p.highlight {
                background: #fff1f2;
                border-color: #fecdd3;
                color: #dc2626 !important;
                /*font-weight: 800;*/
            }

            .hero .hero-content .box .result {
                font-size: 16px;
            }

            .hero .hero-content .box:first-of-type {
                border-top: 5px solid #ef4444;
            }

            .hero .hero-content .box:last-of-type {
                border-top: 5px solid #22c55e;
            }
        }


        /* BEAUTIFIED MOBILE PROFIT CALCULATOR */
        @media (max-width: 767.98px) {
            .mobile-layout {
                background: #f5f8ff;
            }

            .mobile-layout .mobile-hero {
                margin: 0 auto;
                padding: 22px 14px 26px !important;
                background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
                color: #101828;
                overflow: hidden;
            }

            .mobile-layout .mobile-hero h1 {
                font-size: 34px !important;
                line-height: 0.98 !important;
                letter-spacing: -1.4px !important;
                margin: 4px 0 12px !important;
                color: #ffb32c !important;
            }

            .mobile-layout .mobile-hero h5 {
                font-size: 15px !important;
                line-height: 1.25 !important;
                font-weight: 600 !important;
                color: #202124 !important;
                margin: 0 0 18px !important;
                max-width: 96%;
            }

            .mobile-layout .mobile-hero h2 {
                font-size: 24px !important;
                line-height: 1.1 !important;
                font-weight: 800 !important;
                letter-spacing: -0.3px !important;
                margin: 4px 0 14px !important;
                color: #111827 !important;
            }

            .mobile-layout .mobile-hero > .row {
                margin-left: 0;
                margin-right: 0;
            }

            .mobile-layout .mobile-hero > .row > [class*="col-"] {
                padding-left: 0;
                padding-right: 0;
            }

            .mobile-layout .mobile-hero label.theme_font_color {
                display: block;
                margin: 0 0 7px;
                color: #2159af !important;
                font-size: 14px;
                font-weight: 800;
            }

            .mobile-layout .mobile-hero input.form-control {
                height: 46px;
                border-radius: 12px;
                border: 1px solid #d9e2f1;
                background: #ffffff;
                color: #111827;
                font-size: 16px;
                font-weight: 700;
                padding: 10px 14px;
                margin-bottom: 14px;
                box-shadow: 0 1px 0 rgba(16, 24, 40, 0.03);
            }

            .mobile-layout .mobile-hero input.form-control:focus {
                border-color: #2159af;
                box-shadow: 0 0 0 4px rgba(33, 89, 175, 0.12);
            }

            .mobile-layout .mobile-hero .alert {
                border-radius: 15px;
                padding: 15px 16px;
                margin: 12px 0 14px;
                border-width: 1px;
                box-shadow: none;
            }

            .mobile-layout .mobile-hero .alert h2 {
                margin: 0 !important;
                font-size: 13px !important;
                line-height: 1.22 !important;
                font-weight: 800 !important;
            }

            .mobile-layout .mobile-hero .alert-danger {
                background: #fff1f2;
                border-color: #fecdd3;
            }

            .mobile-layout .mobile-hero .alert-success {
                background: #ecfdf3;
                border-color: #bbf7d0;
            }

            .mobile-layout .mobile-hero .box {
                background: #ffffff;
                border: 1px solid #e9eef6;
                border-radius: 18px;
                padding: 12px;
                margin-bottom: 16px;
                box-shadow: 0 10px 28px rgba(16, 24, 40, 0.07);
            }

            .mobile-layout .mobile-hero .box .row {
                margin-left: 0;
                margin-right: 0;
            }

            .mobile-layout .mobile-hero .box .row > [class*="col-"] {
                padding-left: 0;
                padding-right: 0;
            }

            .mobile-layout .mobile-hero .box .row > [class*="col-"] > span,
            .mobile-layout .mobile-hero .box .row > [class*="col-"] > p {
                display: block;
                width: 100%;
                margin: 0 0 9px;
                padding: 12px 13px;
                border-radius: 14px;
                background: #f8fafc;
                border: 1px solid #eef2f7;
                font-size: 15px;
                line-height: 1.25;
                color: #111827 !important;
            }

            .mobile-layout .mobile-hero .box .row > [class*="col-"] > .green,
            .mobile-layout .mobile-hero .box p.green {
                background: #f0fdf4;
                border-color: #bbf7d0;
                color: #15803d !important;
                font-weight: 800;
            }

            .mobile-layout .mobile-hero .box .row > [class*="col-"] > .highlight,
            .mobile-layout .mobile-hero .box p.highlight {
                background: #fff1f2;
                border-color: #fecdd3;
                color: #dc2626 !important;
                font-weight: 800;
            }

            .mobile-layout .mobile-hero .box .result {
                font-size: 16px;
            }

            .mobile-layout .mobile-hero .box .row:last-child > [class*="col-"] > span:last-child,
            .mobile-layout .mobile-hero .box .row:last-child > [class*="col-"] > p:last-child {
                margin-bottom: 0;
            }

            .mobile-layout .mobile-hero .box:first-of-type {
                border-top: 4px solid #ef4444;
            }

            .mobile-layout .mobile-hero .box:last-of-type {
                border-top: 4px solid #22c55e;
            }
        }

        @media (max-width: 380px) {
            .mobile-layout .mobile-hero h1 {
                font-size: 31px !important;
            }

            .mobile-layout .mobile-hero .alert h2 {
                font-size: 13px !important;
            }
        }

        /* DESKTOP ONLY: compact profit calculator result cards */
        @media (min-width: 768px) {
            .hero .hero-content .box {
                max-width: 980px;
                padding: 14px 16px !important;
                border-radius: 18px !important;
                margin-bottom: 16px !important;
                box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06) !important;
            }

            .hero .hero-content .box .row {
                --bs-gutter-x: 14px;
                --bs-gutter-y: 8px;
                row-gap: 8px !important;
            }

            .hero .hero-content .box .row > [class*="col-"] > span,
            .hero .hero-content .box .row > [class*="col-"] > p {
                min-height: 38px;
                display: flex !important;
                align-items: center;
                justify-content: flex-start;
                padding: 7px 14px !important;
                border-radius: 15px !important;
                font-size: clamp(13px, 0.95vw, 15px) !important;
                line-height: 1.2 !important;
                white-space: normal !important;
                word-break: normal;
                overflow-wrap: anywhere;
            }

            .hero .hero-content .box .result {
                font-size: clamp(13px, 0.95vw, 15px) !important;
            }

            .hero .hero-content .box p.highlight,
            .hero .hero-content .box p.green {
                margin-bottom: 0 !important;
            }

            .hero .hero-content .box:first-of-type {
                border-top-width: 4px !important;
            }

            .hero .hero-content .box:last-of-type {
                border-top-width: 4px !important;
            }
        }