﻿
/* =========================================
   FINTECH PAY SOLUTION - LIGHT THEME
========================================= */

:root {
    --fp-primary: #e5a414;
    --fp-gold: #f5b82e;
    --fp-gold-dark: #bd810b;
    --fp-white: #ffffff;
    --fp-cream: #fffaf0;
    --fp-light: #f8f6f0;
    --fp-light-gray: #f1eee7;
    --fp-heading: #222222;
    --fp-text: #656565;
    --fp-border: #e9e1d1;
    --fp-shadow: 0 12px 35px rgba(37, 29, 13, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--fp-white);
    color: var(--fp-heading);
    font-size: 14px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}


/* =========================================
   HEADER
========================================= */

.fp-header {
    position: sticky;
    top: 12px;
    z-index: 9999;
    width: calc(100% - 52px);
    max-width: 1600px;
    margin: 12px auto 0;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #eadfc9;
    border-top: 3px solid var(--fp-gold);
    border-radius: 0 0 28px 28px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.055);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: background 0.35s ease, box-shadow 0.35s ease, border-radius 0.35s ease;
}

    .fp-header.scrolled {
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.10);
        border-radius: 0 0 22px 22px;
    }

.fp-header-inner {
    min-height: 100px;
    padding: 12px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


/* LOGO */

.fp-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

    .fp-logo img {
        width: 205px;
        max-height: 70px;
        object-fit: contain;
        display: block;
    }


/* =========================================
   NAVIGATION
========================================= */

.fp-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
}

.fp-nav-link {
    position: relative;
    padding: 13px 0;
    color: #343434;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

    .fp-nav-link::after {
        content: "";
        position: absolute;
        bottom: 3px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--fp-primary);
        transition: width 0.3s ease;
    }

    .fp-nav-link:hover,
    .fp-nav-link.active {
        color: var(--fp-gold-dark);
    }

        .fp-nav-link:hover::after,
        .fp-nav-link.active::after {
            width: 100%;
        }


/* =========================================
   SERVICES DROPDOWN
========================================= */

.fp-dropdown {
    position: relative;
}

.fp-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border: none;
    background: transparent;
    color: #343434;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

    .fp-dropdown-btn:hover {
        color: var(--fp-gold-dark);
    }

.fp-arrow {
    width: 9px;
    height: 9px;
    border-right: 1.8px solid var(--fp-primary);
    border-bottom: 1.8px solid var(--fp-primary);
    transform: rotate(45deg);
    margin-top: -5px;
    transition: 0.3s ease;
}

.fp-dropdown.open .fp-arrow,
.fp-dropdown:hover .fp-arrow {
    transform: rotate(225deg);
    margin-top: 5px;
}

.fp-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: -20px;
    width: 220px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #eee2ca;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.11);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: 0.3s ease;
}

.fp-dropdown:hover .fp-dropdown-menu,
.fp-dropdown:focus-within .fp-dropdown-menu,
.fp-dropdown.open .fp-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.fp-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 12px;
    color: #444;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    transition: 0.3s ease;
}

    .fp-dropdown-menu a:hover {
        color: var(--fp-gold-dark);
        background: #fff8e9;
        padding-left: 17px;
    }

.fp-menu-icon {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    background: #fff3d6;
    color: var(--fp-gold-dark);
    border-radius: 9px;
    font-size: 14px;
}


/* =========================================
   HEADER CTA BUTTON
========================================= */

.fp-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 16px 25px;
    background: linear-gradient( 135deg, #ffd15e, #e6a10c );
    color: #17120a;
    font-size: 14px;
    font-weight: 700;
    border-radius: 30px 9px 30px 9px;
    box-shadow: 0 7px 20px rgba(225, 165, 26, 0.16);
    transition: 0.3s ease;
}

    .fp-contact-btn span {
        font-size: 16px;
    }

    .fp-contact-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(225, 165, 26, 0.3);
    }


/* =========================================
   MOBILE TOGGLE
========================================= */

.fp-menu-toggle {
    display: none;
    width: 43px;
    height: 43px;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: #fff8e9;
    border: 1px solid #edce85;
    border-radius: 11px;
    cursor: pointer;
}

    .fp-menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--fp-gold-dark);
        border-radius: 5px;
        transition: 0.3s ease;
    }

    .fp-menu-toggle.active span:first-child {
        transform: translateY(8px) rotate(45deg);
    }

    .fp-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .fp-menu-toggle.active span:last-child {
        transform: translateY(-8px) rotate(-45deg);
    }


/* =========================================
   DEMO HERO SECTION
========================================= */

.fp-demo-section {
    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    padding: 70px 8%;
    overflow: hidden;
    background: radial-gradient( circle at 85% 30%, rgba(245, 184, 46, 0.13), transparent 35% ), linear-gradient( 120deg, #ffffff, #fffaf0 );
}

.fp-demo-content {
    max-width: 650px;
    position: relative;
    z-index: 1;
}

.fp-small-label {
    color: var(--fp-gold-dark);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.fp-demo-content h1 {
    font-size: 16px;
    line-height: 1.8;
    margin: 20px 0;
    color: #252525;
}

.fp-demo-content p {
    color: var(--fp-text);
    font-size: 14px;
    line-height: 1.9;
    max-width: 520px;
}

.fp-demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding: 14px 22px;
    background: linear-gradient(135deg, #ffd15e, #e6a10c);
    color: #17120a;
    font-size: 14px;
    font-weight: 700;
    border-radius: 25px 7px 25px 7px;
    transition: 0.3s ease;
}

    .fp-demo-btn:hover {
        transform: translateY(-4px);
    }


/* DEMO PLACEHOLDER */

.fp-placeholder {
    min-height: 200px;
    display: grid;
    place-items: center;
    background: #ffffff;
    border-bottom: 1px solid #eee5d6;
}

    .fp-placeholder:nth-child(even) {
        background: #fffaf0;
    }

    .fp-placeholder h2 {
        color: var(--fp-gold-dark);
        font-size: 16px;
    }


/* =========================================
   FOOTER
========================================= */

.fp-footer {
    position: relative;
    overflow: hidden;
    background: #fbfaf7;
    border-top: 1px solid #eadfc9;
}

.fp-footer-glow {
    position: absolute;
    width: 400px;
    height: 300px;
    top: -180px;
    left: 35%;
    background: rgba(245, 184, 46, 0.13);
    filter: blur(100px);
    pointer-events: none;
}

.fp-footer-container {
    width: min(1200px, calc(100% - 80px));
    margin: auto;
    position: relative;
    z-index: 1;
}


/* FOOTER TOP */

.fp-footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 45px;
    padding: 65px 0 55px;
}


/* FOOTER BRAND */

.fp-footer-logo {
    display: inline-flex;
    align-items: center;
}

    .fp-footer-logo img {
        width: 250px;
        max-width: 100%;
        height: 85px;
        object-fit: contain;
        display: block;
    }

.fp-footer-brand p {
    max-width: 310px;
    margin-top: 17px;
    color: #696969;
    font-size: 14px;
    line-height: 1.9;
}


/* SOCIAL */

.fp-social-links {
    display: flex;
    gap: 12px;
    margin-top: 23px;
}

    .fp-social-links a {
        width: 43px;
        height: 43px;
        display: grid;
        place-items: center;
        border: 1px solid #e8d8b7;
        border-radius: 12px;
        background: #ffffff;
        color: var(--fp-gold-dark);
        font-size: 14px;
        font-weight: 700;
        transition: 0.3s ease;
    }

        .fp-social-links a:hover {
            background: var(--fp-gold);
            color: #17120a;
            border-color: var(--fp-gold);
            transform: translateY(-4px);
        }


/* FOOTER COLUMNS */

.fp-footer-column {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

    .fp-footer-column h3 {
        color: var(--fp-gold-dark);
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 8px;
    }

        .fp-footer-column h3::after {
            content: "";
            display: block;
            width: 42px;
            height: 3px;
            margin-top: 15px;
            background: var(--fp-gold);
            border-radius: 5px;
        }

    .fp-footer-column > a,
    .fp-footer-column > p {
        color: #686868;
        font-size: 14px;
        line-height: 1.7;
        transition: 0.3s ease;
    }

        .fp-footer-column > a:hover {
            color: var(--fp-gold-dark);
            transform: translateX(5px);
        }

.fp-footer-contact span {
    color: var(--fp-gold-dark);
    margin-right: 9px;
}


/* FOOTER BOTTOM */

.fp-footer-bottom {
    min-height: 85px;
    border-top: 1px solid #e9e4da;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

    .fp-footer-bottom p,
    .fp-footer-legal a {
        color: #777777;
        font-size: 14px;
    }

.fp-footer-legal {
    display: flex;
    gap: 28px;
}

    .fp-footer-legal a {
        transition: 0.3s ease;
    }

        .fp-footer-legal a:hover {
            color: var(--fp-gold-dark);
        }


/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .fp-header {
        width: calc(100% - 30px);
    }

    .fp-header-inner {
        padding: 12px 22px;
        gap: 15px;
    }

    .fp-logo img {
        width: 165px;
    }

    .fp-navigation {
        gap: 18px;
    }

    .fp-contact-btn {
        padding: 14px 17px;
    }

    .fp-footer-top {
        grid-template-columns: 1.3fr 1fr 1fr;
        gap: 35px;
    }

    .fp-footer-contact {
        grid-column: 2 / 4;
    }
}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .fp-header {
        width: calc(100% - 24px);
        top: 8px;
        margin-top: 8px;
        border-radius: 0 0 22px 22px;
    }

    .fp-header-inner {
        min-height: 76px;
        padding: 8px 15px;
    }

    .fp-logo img {
        width: 155px;
        max-height: 56px;
    }

    .fp-menu-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .fp-header-action {
        display: none;
    }


    /* MOBILE NAV */

    .fp-navigation {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        padding: 15px;
        background: #ffffff;
        border: 1px solid #eadfc9;
        border-radius: 17px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: 0.3s ease;
    }

        .fp-navigation.show {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transform: translateY(0);
        }

    .fp-nav-link {
        padding: 13px 10px;
        font-size: 14px;
    }

        .fp-nav-link::after {
            display: none;
        }


    /* MOBILE DROPDOWN */

    .fp-dropdown {
        width: 100%;
    }

    .fp-dropdown-btn {
        width: 100%;
        justify-content: space-between;
        padding: 13px 10px;
        font-size: 14px;
    }

    .fp-dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        padding: 5px;
        margin-top: 3px;
        background: #fffaf0;
        border: 1px solid #f0e5d0;
        border-radius: 12px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .fp-dropdown.open .fp-dropdown-menu {
        display: block;
    }

    .fp-dropdown:hover .fp-dropdown-menu {
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .fp-dropdown.open:hover .fp-dropdown-menu {
        display: block;
    }

    .fp-dropdown-menu a {
        padding: 12px;
    }


    /* HERO */

    .fp-demo-section {
        min-height: 450px;
        padding: 60px 25px;
    }


    /* FOOTER */

    .fp-footer-container {
        width: calc(100% - 40px);
    }

    .fp-footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 22px;
        padding: 45px 0 35px;
    }

    .fp-footer-brand {
        grid-column: 1 / -1;
    }

    .fp-footer-contact {
        grid-column: auto;
    }

    .fp-footer-logo img {
        width: 210px;
        height: 75px;
    }

    .fp-footer-bottom {
        padding: 20px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .fp-footer-legal {
        flex-wrap: wrap;
        gap: 18px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 420px) {

    .fp-header-inner {
        padding: 8px 12px;
    }

    .fp-logo img {
        width: 135px;
    }

    .fp-footer-container {
        width: calc(100% - 30px);
    }

    .fp-footer-top {
        gap: 30px 15px;
    }

    .fp-footer-column {
        gap: 14px;
    }

    .fp-footer-logo img {
        width: 185px;
    }

    .fp-footer-brand p {
        font-size: 14px;
    }

    .fp-footer-legal {
        gap: 14px;
    }
}


/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
/* =========================================
   SERVICES DROPDOWN - HOVER FIX
   DESKTOP
========================================= */

@media (min-width: 769px) {

    .fp-dropdown {
        position: relative;
    }

    .fp-dropdown-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: -20px;
        width: 220px;
        padding: 10px;
        background: #ffffff;
        border: 1px solid #eee2ca;
        border-radius: 16px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.11);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(10px);
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    }

    /* Hover par dropdown show hoga */

    .fp-dropdown:hover .fp-dropdown-menu,
    .fp-dropdown:focus-within .fp-dropdown-menu,
    .fp-dropdown.open .fp-dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* Arrow animation */

    .fp-dropdown:hover .fp-arrow,
    .fp-dropdown.open .fp-arrow {
        transform: rotate(225deg);
        margin-top: 5px;
    }
}


/* =========================================
   MOBILE DROPDOWN - EXISTING BEHAVIOUR
========================================= */

@media (max-width: 768px) {

    .fp-dropdown-menu {
        display: none;
    }

    .fp-dropdown.open .fp-dropdown-menu {
        display: block;
    }
}