@charset "UTF-8";

/*
========================================================
 PIPFA MOBILE APP — MODERN UI
 Reworked from the original MobApp stylesheet
========================================================
*/

/* =====================================================
   1. GLOBAL STYLES
===================================================== */

:root {
    --pipfa-primary: #0a7544;
    --pipfa-primary-dark: #045a35;
    --pipfa-primary-deep: #033e27;
    --pipfa-secondary: #20a966;
    --pipfa-accent: #d5a72c;
    --pipfa-accent-light: #f3d979;
    --surface: #ffffff;
    --surface-soft: #f5faf7;
    --surface-green: #edf8f2;
    --text: #17352a;
    --text-soft: #5f7169;
    --text-light: #82918b;
    --border: #e2eee7;
    --shadow-sm: 0 6px 22px rgba(7, 67, 42, .07);
    --shadow-md: 0 14px 40px rgba(7, 67, 42, .11);
    --shadow-lg: 0 25px 65px rgba(3, 62, 39, .16);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --transition: all .3s cubic-bezier(.2,.7,.2,1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rubik', sans-serif;
    position: relative;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--pipfa-primary);
    transition: var(--transition);
}

    a:hover,
    a:focus {
        color: var(--pipfa-primary-dark);
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text);
    line-height: 1.25;
}

h1 {
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 600;
    letter-spacing: -.035em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(30px, 4vw, 45px);
    font-weight: 600;
    color: var(--text);
    letter-spacing: -.025em;
    margin-bottom: 1rem;
}

h3 {
    color: var(--text);
    font-size: clamp(27px, 3vw, 34px);
    font-weight: 600;
}

h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
}

h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: .7rem;
}

p {
    color: var(--text-soft);
    line-height: 1.75;
}

    p.lead {
        color: var(--pipfa-primary);
        font-size: 18px;
        font-weight: 500;
        margin-bottom: 1.25rem;
    }

.text-primary {
    color: var(--pipfa-primary) !important;
}

.light-font {
    font-weight: 300;
}

.btn {
    position: relative;
    overflow: hidden;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .45px;
    padding: .72rem 1.45rem;
    border-radius: 999px;
    transition: var(--transition);
}

    .btn:focus {
        box-shadow: 0 0 0 .2rem rgba(10, 117, 68, .16);
    }

.btn-primary {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--pipfa-primary-dark), var(--pipfa-secondary));
    box-shadow: 0 10px 28px rgba(10, 117, 68, .22);
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active {
        color: #fff;
        transform: translateY(-2px);
        background: linear-gradient(135deg, var(--pipfa-secondary), var(--pipfa-primary-dark));
        box-shadow: 0 15px 34px rgba(10, 117, 68, .28);
    }

.btn-light {
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--pipfa-primary-dark);
    margin: .5rem;
    padding: .75rem 1.6rem;
    line-height: 1.8;
    transition: var(--transition);
}

    .btn-light:hover {
        color: var(--pipfa-primary-dark);
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
    }

.btn-outline-light {
    border-color: rgba(255,255,255,.65);
}

    .btn-outline-light:hover {
        color: var(--pipfa-primary-dark);
        background: #fff;
        border-color: #fff;
    }

.btn-group-lg > .btn,
.btn-lg {
    padding: .85rem 1.5rem;
    font-size: 14px;
}

.light-bg {
    background: radial-gradient(circle at 5% 10%, rgba(32,169,102,.05), transparent 24%), #f5faf7;
}

.section {
    position: relative;
    padding: 100px 0;
}

.section-title {
    position: relative;
    text-align: center;
    margin-bottom: 3.5rem;
}

    .section-title small {
        display: inline-block;
        color: var(--pipfa-primary);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        background: var(--surface-green);
        border: 1px solid rgba(10,117,68,.10);
        border-radius: 999px;
        padding: 7px 14px;
        margin-bottom: 10px;
    }

    .section-title h3 {
        margin-bottom: 10px;
    }

    .section-title p {
        max-width: 650px;
        margin: 0 auto;
    }

.tagline {
    line-height: 1.75;
}

/* =====================================================
   2. NAVBAR
===================================================== */

.nav-menu {
    padding: .7rem 0;
    transition: var(--transition);
    background: rgba(3,62,39,.14);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    border-bottom: 1px solid transparent;
}

    .nav-menu.is-scrolling,
    .nav-menu.menu-is-open {
        padding: .45rem 0;
        background: rgba(3,62,39,.94);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom-color: rgba(255,255,255,.10);
        box-shadow: 0 8px 30px rgba(0,0,0,.13);
    }

.navbar-brand {
    display: flex;
    align-items: center;
}

    .navbar-brand img {
        max-height: 52px;
        width: auto;
        transition: var(--transition);
    }

.nav-menu.is-scrolling .navbar-brand img {
    max-height: 46px;
}

.navbar-toggler {
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 10px;
    padding: .45rem .65rem;
}

.navbar-nav .nav-link {
    position: relative;
    color: rgba(255,255,255,.88) !important;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .45px;
    padding: .8rem 1rem !important;
    transition: var(--transition);
}

    .navbar-nav .nav-link:hover {
        color: #fff !important;
    }

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: .95rem;
        padding-left: .95rem;
    }

    .navbar-nav > .nav-item > .nav-link:after {
        content: "";
        position: absolute;
        left: 50%;
        right: 50%;
        bottom: 2px;
        height: 2px;
        border-radius: 10px;
        background: var(--pipfa-accent-light);
        transition: var(--transition);
    }

    .navbar-nav > .nav-item > .nav-link.active:after,
    .navbar-nav > .nav-item > .nav-link:hover:after {
        left: 1rem;
        right: 1rem;
    }
}

@media (max-width: 991px) {
    .nav-menu.menu-is-open {
        background: rgba(3,62,39,.98);
    }

    .navbar-collapse {
        margin-top: 8px;
        padding: 12px;
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 16px;
    }

    .navbar-nav .nav-item {
        text-align: center;
    }

    .navbar-nav .nav-link {
        padding: .75rem !important;
    }
}

/* =====================================================
   3. HERO / GRADIENT
===================================================== */

header {
    padding: 100px 0 0;
    text-align: center;
    color: #fff;
}

.bg-gradient {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 82% 16%, rgba(213,167,44,.30), transparent 27%), radial-gradient(circle at 8% 85%, rgba(255,255,255,.10), transparent 30%), linear-gradient(135deg, #045a35 0%, #0a7544 48%, #20a966 100%);
}

    .bg-gradient:before {
        content: "";
        position: absolute;
        width: 650px;
        height: 650px;
        right: -260px;
        top: -290px;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,.12);
        box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 120px rgba(255,255,255,.018);
        pointer-events: none;
    }

    .bg-gradient:after {
        content: "";
        position: absolute;
        width: 360px;
        height: 360px;
        left: -190px;
        bottom: -210px;
        border-radius: 50%;
        background: rgba(255,255,255,.055);
        pointer-events: none;
    }

    .bg-gradient > * {
        position: relative;
        z-index: 1;
    }

.img-holder {
    height: 0;
    padding-bottom: 33%;
    overflow: hidden;
}

    .img-holder img {
        filter: drop-shadow(0 30px 30px rgba(0,0,0,.20));
    }

@media (max-width: 1200px) {
    .img-holder {
        padding-bottom: 50%;
    }
}

@media (max-width: 767px) {
    header {
        padding-top: 90px;
    }

    .tagline {
        font-size: 16px;
    }

    .img-holder {
        padding-bottom: 100%;
    }

    .bg-gradient:before {
        width: 400px;
        height: 400px;
    }
}

/* =====================================================
   4. FEATURES
===================================================== */

.gradient-fill:before {
    color: var(--pipfa-primary);
    background: linear-gradient(135deg, #087346 0%, #27b66f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card.features {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

    .card.features:before {
        content: "";
        position: absolute;
        width: 4px;
        top: 18px;
        bottom: 18px;
        left: 0;
        border-radius: 0 8px 8px 0;
        background: linear-gradient(180deg, var(--pipfa-primary), var(--pipfa-accent));
    }

    .card.features .card-body {
        padding: 30px;
    }

    .card.features:hover {
        transform: translateY(-8px);
        border-color: rgba(10,117,68,.18);
        box-shadow: var(--shadow-md);
    }

    .card.features .card-title {
        font-size: 19px;
        font-weight: 600;
        color: var(--text);
    }

.card-text {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-soft);
}

.media .ti-3x {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--surface-green);
}

.box-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.circle-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--surface-green);
    border: 1px solid rgba(10,117,68,.10);
    color: var(--pipfa-primary);
    font-size: 20px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.ui-steps li {
    padding: 20px 0;
}

    .ui-steps li:not(:last-child) {
        border-bottom: 1px solid var(--border);
    }

    .ui-steps li:hover .circle-icon {
        color: #fff;
        background: linear-gradient(135deg, var(--pipfa-primary-dark), var(--pipfa-secondary));
        transform: scale(1.06);
        box-shadow: 0 10px 25px rgba(10,117,68,.20);
    }

.perspective-phone {
    position: relative;
    z-index: 1;
}

    .perspective-phone img {
        filter: drop-shadow(0 28px 28px rgba(3,62,39,.14));
    }

@media (min-width: 992px) {
    .perspective-phone {
        margin-top: 0;
        padding-top: 25px;
        padding-bottom: 25px;
    }

        .perspective-phone img {
            display: block;
            width: 100%;
            max-width: 480px;
            height: auto;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }
}

@media (max-width: 991px) {
    .perspective-phone {
        margin-top: 0;
        padding: 10px 15px 25px;
        text-align: center;
    }

        .perspective-phone img {
            display: block;
            width: 100%;
            max-width: 390px;
            height: auto;
            margin: 0 auto;
        }

    .card.features {
        margin-bottom: 1.25rem;
    }

    [class^="col-"]:last-child .card.features {
        margin-bottom: 0;
    }
}

/* =====================================================
   5. TABS
===================================================== */

.tab-content {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background-color: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 3.5rem;
}

    .tab-content:before {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        right: -90px;
        top: -90px;
        border-radius: 50%;
        background: var(--surface-green);
    }

    .tab-content p {
        line-height: 1.85;
    }

    .tab-content h2 {
        margin-bottom: .7rem;
    }

.nav-tabs {
    border-bottom: 0;
    gap: 7px;
}

    .nav-tabs .nav-item .nav-link,
    .nav-tabs .nav-link:focus,
    .nav-tabs .nav-link:hover {
        position: relative;
        padding: 1rem 1.1rem;
        border: 1px solid var(--border);
        border-radius: 14px 14px 0 0;
        font-size: 15px;
        font-weight: 500;
        color: var(--text-soft);
        background: #edf7f1;
        transition: var(--transition);
    }

    .nav-tabs .nav-link:hover {
        color: var(--pipfa-primary);
        background: #f6fbf8;
    }

    .nav-tabs .nav-link.active {
        color: #fff;
        border-color: var(--pipfa-primary);
        background: linear-gradient(135deg, var(--pipfa-primary-dark), var(--pipfa-secondary));
        box-shadow: 0 8px 22px rgba(10,117,68,.18);
    }

/* =====================================================
   6. TESTIMONIALS / OWL
===================================================== */

.owl-carousel .owl-item img.client-img {
    width: 105px;
    margin: 30px auto;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    border: 5px solid #fff;
}

.testimonials-single {
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
}

.blockquote {
    color: var(--text-soft);
    font-weight: 300;
    line-height: 1.8;
}

.owl-prev,
.owl-next {
    position: absolute;
    top: 50%;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
    border-radius: 50% !important;
    background: #fff !important;
    color: var(--pipfa-primary) !important;
    box-shadow: var(--shadow-sm);
}

.owl-prev {
    left: 0;
}

.owl-next {
    right: 0;
}

    .owl-prev.disabled,
    .owl-next.disabled {
        opacity: .45;
    }

.owl-theme .owl-nav.disabled + .owl-dots {
    margin-top: 40px;
}

.owl-theme .owl-dots .owl-dot span {
    background: #cfe4d8;
    width: 28px;
    height: 7px;
    border-radius: 10px;
    transition: var(--transition);
}

.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--pipfa-secondary);
}

.owl-theme .owl-dots .owl-dot.active span {
    width: 38px;
    background: var(--pipfa-primary);
    box-shadow: 0 5px 15px rgba(10,117,68,.20);
}

/* =====================================================
   7. IMAGE GALLERY
===================================================== */

.img-gallery .owl-item {
    padding: 15px;
    opacity: .72;
    transform: scale(.88);
    transition: var(--transition);
}

    .img-gallery .owl-item.center {
        opacity: 1;
        transform: scale(1);
    }

.img-gallery img {
    width: 100%;
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

/* =====================================================
   8. PRICING
===================================================== */

@media (max-width: 992px) {
    .card-deck {
        flex-direction: column;
    }

        .card-deck .card {
            margin-bottom: 15px;
        }
}

.card.pricing {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

    .card.pricing.popular {
        border-top: 3px solid var(--pipfa-primary);
        box-shadow: var(--shadow-md);
    }

    .card.pricing .card-head {
        text-align: center;
        padding: 40px 0 20px;
    }

        .card.pricing .card-head .price {
            display: block;
            font-size: 45px;
            font-weight: 600;
            color: var(--pipfa-primary-dark);
        }

    .card.pricing .list-group-item {
        border: 0;
        text-align: center;
        color: var(--text-soft);
        padding: 1.05rem 1.25rem;
    }

    .card.pricing .card-body {
        padding: 1.75rem;
    }

/* =====================================================
   9. CALL TO ACTION
===================================================== */

.call-to-action {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    margin: 3rem 0;
}

    .call-to-action .box-icon {
        margin-left: auto;
        margin-right: auto;
        border-radius: 20px;
        margin-bottom: 2rem;
        background: rgba(255,255,255,.12);
        border: 1px solid rgba(255,255,255,.18);
        box-shadow: none;
        color: #fff;
    }

    .call-to-action h2 {
        color: #fff;
    }

    .call-to-action .tagline {
        font-size: 16px;
        font-weight: 300;
        color: rgba(255,255,255,.82);
        max-width: 650px;
        margin: 0 auto;
    }

.btn-light img {
    max-height: 28px;
    margin-right: .45rem;
    vertical-align: middle;
}

/* =====================================================
   10. FOOTER
===================================================== */

footer {
    border-top: 1px solid rgba(255,255,255,.06);
}

.social-icons {
    text-align: right;
}

    .social-icons a {
        background-color: #fff;
        box-shadow: var(--shadow-sm);
        width: 46px;
        height: 46px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0 .25rem;
        border-radius: 50%;
        color: var(--pipfa-primary);
        transition: var(--transition);
    }

        .social-icons a:hover {
            color: #fff;
            background: var(--pipfa-primary);
            transform: translateY(-3px);
        }

@media (max-width: 991px) {
    .social-icons {
        text-align: center;
        margin-top: 2rem;
    }

    .tab-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 70px 0;
    }

    .section-title {
        margin-bottom: 2.4rem;
    }

    .tab-content {
        padding: 1.5rem 1rem;
        border-radius: 0 0 18px 18px;
    }

    .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

        .nav-tabs::-webkit-scrollbar {
            display: none;
        }

        .nav-tabs .nav-item {
            min-width: 125px;
        }

            .nav-tabs .nav-item .nav-link {
                font-size: 13px;
                padding: .8rem .6rem;
                text-align: center;
                white-space: nowrap;
            }

    .card.features .card-body {
        padding: 25px;
    }

    .perspective-phone {
        margin-bottom: 30px;
    }

    .social-icons a {
        width: 42px;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* =====================================================
   FIX: DISCOVER APP IMAGE OVERLAPPING SECTION TITLE
===================================================== */

#discover {
    overflow: hidden;
}

    #discover .row {
        position: relative;
        align-items: center;
    }

    #discover .perspective-phone {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin-top: 0 !important;
    }

        #discover .perspective-phone img {
            position: relative !important;
            display: block !important;
            z-index: 1 !important;
            max-height: 560px;
            object-fit: contain;
        }

    #discover .section-title,
    #discover h2,
    #discover .discover-copy {
        position: relative;
        z-index: 2;
    }

@media (min-width: 992px) {
    #discover .perspective-phone img {
        max-width: 470px;
        margin: 0 auto;
    }

    #discover .discover-copy {
        padding-top: 35px;
        padding-bottom: 35px;
    }
}

@media (max-width: 991px) {
    #discover .perspective-phone {
        margin-bottom: 15px !important;
    }

        #discover .perspective-phone img {
            max-width: 390px;
            margin: 0 auto;
        }
}

@media (max-width: 575px) {
    #discover .perspective-phone img {
        max-width: 290px;
    }

    #discover .discover-copy {
        padding-top: 15px;
    }
}
