/* =====================================================
   CREDIT POWER247
   Main Stylesheet
===================================================== */


/* =====================================================
   VARIABLES
===================================================== */

:root {

    --primary: #087f5b;
    --primary-dark: #056044;
    --primary-light: #dff6ed;

    --green: #10a36f;
    --dark: #102a24;
    --dark-2: #183c33;

    --blue: #2675d9;
    --orange: #f59f35;
    --purple: #7357c7;

    --white: #ffffff;
    --off-white: #f7faf9;
    --light: #eef5f2;

    --gray: #66736f;
    --gray-light: #e4ebe8;

    --shadow:
        0 15px 45px rgba(16, 42, 36, 0.10);

    --shadow-small:
        0 8px 25px rgba(16, 42, 36, 0.08);

    --radius: 18px;

    --transition:
        all 0.3s ease;
}


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =====================================================
   CONTAINER
===================================================== */

.container {
    width: min(1180px, 92%);
    margin: auto;
}


/* =====================================================
   ANNOUNCEMENT
===================================================== */

.announcement {
    background: var(--dark);
    color: white;
    font-size: 13px;
}

.announcement-inner {
    min-height: 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.announcement i {
    color: #5ed8aa;
    margin-right: 7px;
}

.announcement a {
    color: #aee8d0;
    font-weight: 600;
}

.announcement a:hover {
    color: white;
}


/* =====================================================
   HEADER
===================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--gray-light);
}

.nav-wrapper {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    font-family: "Manrope", sans-serif;
    font-weight: 700;

    font-size: 20px;

    white-space: nowrap;
}

.logo strong {
    color: var(--primary);
}

.logo-icon {
    width: 40px;
    height: 40px;

    border-radius: 12px;

    display: grid;
    place-items: center;

    color: white;

    background:
        linear-gradient(135deg,
            var(--primary),
            #23b87e);

    box-shadow:
        0 7px 18px rgba(8, 127, 91, 0.25);
}


/* NAV */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-link {
    border: 0;
    background: transparent;

    padding: 10px 13px;

    cursor: pointer;

    color: #344943;

    font-size: 14px;
    font-weight: 600;

    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link i {
    font-size: 9px;
}


/* DROPDOWN */

.dropdown-menu {
    position: absolute;

    top: 100%;
    left: 0;

    min-width: 210px;

    background: white;

    border: 1px solid var(--gray-light);

    border-radius: 12px;

    padding: 8px;

    box-shadow: var(--shadow);

    opacity: 0;
    visibility: hidden;

    transform: translateY(8px);

    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;

    padding: 11px 13px;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: var(--primary-light);
    color: var(--primary);
}


/* HEADER ACTIONS */

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-btn {
    padding: 10px 14px;

    font-size: 14px;
    font-weight: 700;

    color: var(--dark);
}

.login-btn i {
    color: var(--primary);
    margin-right: 5px;
}

.login-btn:hover {
    color: var(--primary);
}


/* BUTTONS */

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    background:
        linear-gradient(135deg,
            var(--primary),
            var(--green));

    color: white;

    border: none;

    padding: 14px 23px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    transition: var(--transition);

    box-shadow:
        0 9px 22px rgba(8, 127, 91, 0.18);
}

.primary-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 13px 28px rgba(8, 127, 91, 0.27);
}

.small-btn {
    padding: 10px 16px;
}


/* MOBILE BUTTON */

.mobile-menu-btn {
    display: none;

    border: none;
    background: transparent;

    font-size: 23px;

    color: var(--dark);

    cursor: pointer;
}


/* MOBILE NAV */

.mobile-nav {
    display: none;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    position: relative;
    overflow: hidden;

    min-height: 620px;

    background:
        radial-gradient(circle at 90% 20%,
            rgba(21, 166, 111, 0.14),
            transparent 30%),

        linear-gradient(180deg,
            #f7fbf9 0%,
            #edf8f4 100%);

    display: flex;
    align-items: center;
}

.hero-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        1.05fr 0.95fr;

    align-items: center;

    gap: 60px;

    padding: 75px 0;
}


/* DECORATIVE SHAPES */

.hero-shape {
    position: absolute;

    border-radius: 50%;

    filter: blur(1px);
}

.shape-one {
    width: 450px;
    height: 450px;

    right: -160px;
    top: -130px;

    background:
        rgba(16, 163, 111, 0.08);
}

.shape-two {
    width: 260px;
    height: 260px;

    left: -140px;
    bottom: -120px;

    border: 60px solid rgba(38, 117, 217, 0.05);
}


/* HERO CONTENT */

.hero-badge {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 7px 12px;

    border-radius: 30px;

    background: white;

    border: 1px solid #d8eee6;

    color: var(--primary);

    font-size: 12px;
    font-weight: 700;

    margin-bottom: 20px;
}

.hero-content h1 {
    font-family: "Manrope", sans-serif;

    font-size:
        clamp(42px, 5vw, 67px);

    line-height: 1.05;

    letter-spacing: -2.5px;

    margin-bottom: 24px;
}

.hero-content h1 span {
    display: block;
    color: var(--primary);
}

.hero-content>p {
    max-width: 620px;

    color: var(--gray);

    font-size: 17px;

    line-height: 1.75;

    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 12px;

    flex-wrap: wrap;
}

.secondary-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 14px 23px;

    border-radius: 10px;

    background: white;

    border: 1px solid #cbdcd6;

    color: var(--dark);

    font-weight: 700;

    font-size: 14px;

    transition: var(--transition);
}

.secondary-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}


/* HERO TRUST */

.hero-trust {
    display: flex;

    gap: 28px;

    margin-top: 38px;

    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;

    gap: 10px;
}

.trust-item>i {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    background: var(--primary-light);

    color: var(--primary);

    border-radius: 10px;
}

.trust-item div {
    display: flex;
    flex-direction: column;
}

.trust-item strong {
    font-size: 12px;
}

.trust-item span {
    font-size: 11px;
    color: var(--gray);
}


/* =====================================================
   HERO CARD
===================================================== */

.hero-card-wrapper {
    position: relative;

    min-height: 400px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.hero-card {
    width: min(430px, 100%);

    height: 260px;

    padding: 30px;

    border-radius: 25px;

    color: white;

    position: relative;

    overflow: hidden;

    transform:
        perspective(900px) rotateY(-8deg) rotateX(3deg);

    background:
        linear-gradient(135deg,
            #086d50,
            #0da873 55%,
            #087c5a);

    box-shadow:
        0 35px 60px rgba(8, 82, 61, 0.30);
}

.hero-card::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -110px;
    top: -140px;

    border-radius: 50%;

    border: 50px solid rgba(255, 255, 255, 0.08);
}

.hero-card::after {
    content: "";

    position: absolute;

    width: 200px;
    height: 200px;

    left: -90px;
    bottom: -120px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.07);
}

.card-top {
    display: flex;
    justify-content: space-between;

    position: relative;
    z-index: 2;

    font-size: 14px;
    font-weight: 700;
}

.card-chip {
    width: 43px;
    height: 30px;

    border-radius: 7px;

    background:
        linear-gradient(135deg,
            #f8e6a0,
            #c7a94b);

    display: grid;
    place-items: center;

    color: #80671e;
}

.card-chip i {
    transform: rotate(90deg);
}

.card-number {
    position: relative;
    z-index: 2;

    margin-top: 58px;

    font-size: 20px;

    letter-spacing: 2px;

    font-family: monospace;
}

.card-bottom {
    position: absolute;

    left: 30px;
    right: 30px;
    bottom: 27px;

    z-index: 2;

    display: flex;
    align-items: end;

    gap: 30px;
}

.card-bottom div {
    display: flex;
    flex-direction: column;
}

.card-bottom small {
    font-size: 8px;
    opacity: .65;
}

.card-bottom strong {
    font-size: 11px;
}

.card-brand {
    margin-left: auto;

    flex-direction: row !important;

    position: relative;

    width: 52px;
}

.card-brand span {
    width: 29px;
    height: 29px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .55);

    position: absolute;
}

.card-brand span:nth-child(2) {
    left: 18px;

    background: rgba(255, 220, 120, .65);
}


/* FLOATING BALANCE */

.floating-balance {
    position: absolute;

    right: -25px;
    bottom: 30px;

    background: white;

    padding: 16px 17px;

    border-radius: 14px;

    box-shadow: var(--shadow);

    display: flex;
    align-items: center;

    gap: 10px;

    min-width: 220px;
}

.balance-icon {
    width: 38px;
    height: 38px;

    border-radius: 10px;

    display: grid;
    place-items: center;

    background: var(--primary-light);

    color: var(--primary);
}

.floating-balance div:nth-child(2) {
    display: flex;
    flex-direction: column;

    flex: 1;
}

.floating-balance small,
.floating-growth small {
    color: var(--gray);

    font-size: 10px;
}

.floating-balance strong {
    font-size: 17px;
}

.floating-balance>i {
    color: #9aa8a3;
}


/* FLOATING GROWTH */

.floating-growth {
    position: absolute;

    left: 0;
    top: 50px;

    display: flex;
    align-items: center;

    gap: 10px;

    background: white;

    padding: 13px 16px;

    border-radius: 12px;

    box-shadow: var(--shadow-small);
}

.floating-growth>i {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    background: #e5f8ef;

    color: var(--primary);

    border-radius: 9px;
}

.floating-growth div {
    display: flex;
    flex-direction: column;
}

.floating-growth strong {
    color: var(--primary);

    font-size: 15px;
}


/* =====================================================
   QUICK SERVICES
===================================================== */

.quick-services {
    background: white;

    padding: 28px 0;

    position: relative;

    z-index: 10;

    border-bottom: 1px solid var(--gray-light);
}

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;
}

.service-card {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px;

    border-radius: 13px;

    transition: var(--transition);
}

.service-card:hover {
    background: var(--off-white);

    transform: translateY(-2px);
}

.service-card>div:nth-child(2) {
    flex: 1;
}

.service-card h3 {
    font-size: 13px;
}

.service-card p {
    color: var(--gray);

    font-size: 11px;
}

.service-icon {
    width: 42px;
    height: 42px;

    border-radius: 11px;

    display: grid;
    place-items: center;

    flex-shrink: 0;
}

.service-icon.green {
    color: var(--primary);
    background: var(--primary-light);
}

.service-icon.blue {
    color: var(--blue);
    background: #e9f1ff;
}

.service-icon.orange {
    color: #d98512;
    background: #fff3df;
}

.service-icon.purple {
    color: var(--purple);
    background: #f0ecff;
}

.arrow {
    font-size: 11px;
    color: #9ba9a4;
}


/* =====================================================
   DIGITAL BANKING
===================================================== */

.digital-section {
    padding: 110px 0;

    background: var(--off-white);
}

.digital-grid {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    align-items: center;

    gap: 100px;
}


/* PHONE */

.digital-image {
    min-height: 530px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(circle,
            #d9f2e8,
            transparent 62%);
}

.phone {
    width: 275px;

    padding: 9px;

    border-radius: 38px;

    background: #102a24;

    box-shadow:
        0 30px 70px rgba(16, 42, 36, 0.25);
}

.phone-screen {
    min-height: 540px;

    border-radius: 30px;

    padding: 23px 18px;

    background:
        linear-gradient(180deg,
            #f9fcfb,
            #edf8f4);
}

.phone-header {
    display: flex;

    justify-content: space-between;

    font-size: 11px;

    color: var(--gray);
}

.phone-screen>h3 {
    font-size: 22px;

    margin-top: 3px;
}

.phone-balance {
    margin-top: 25px;

    padding: 20px;

    border-radius: 16px;

    color: white;

    background:
        linear-gradient(135deg,
            var(--primary),
            #12aa75);
}

.phone-balance small {
    font-size: 9px;

    opacity: .8;
}

.phone-balance strong {
    display: block;

    font-size: 24px;

    margin-top: 3px;
}

.phone-actions {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 8px;

    margin: 15px 0;
}

.phone-actions div {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 5px;

    padding: 9px;

    background: white;

    border-radius: 10px;

    font-size: 9px;
}

.phone-actions i {
    color: var(--primary);
}

.transactions {
    background: white;

    border-radius: 15px;

    padding: 12px;
}

.transactions>div {
    display: flex;

    align-items: center;

    gap: 8px;

    padding: 10px 0;

    border-bottom: 1px solid #edf1ef;
}

.transactions>div:last-child {
    border-bottom: none;
}

.transaction-icon {
    width: 30px;
    height: 30px;

    border-radius: 8px;

    display: grid;
    place-items: center;

    background: var(--light);

    color: var(--primary);

    font-size: 10px;
}

.transactions div div {
    flex: 1;

    display: flex;

    flex-direction: column;
}

.transactions strong {
    font-size: 10px;
}

.transactions small {
    font-size: 8px;

    color: var(--gray);
}

.transactions b {
    font-size: 9px;
}

.transactions .income {
    color: var(--primary);
}


/* DIGITAL CONTENT */

.section-label {
    display: inline-block;

    color: var(--primary);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.8px;

    margin-bottom: 13px;
}

.digital-content h2,
.section-heading h2,
.testimonial-heading h2 {
    font-family: "Manrope", sans-serif;

    font-size:
        clamp(32px, 4vw, 47px);

    line-height: 1.12;

    letter-spacing: -1.5px;

    margin-bottom: 20px;
}

.digital-content h2 span,
.section-heading h2 span,
.testimonial-heading h2 span {
    color: var(--primary);
}

.digital-content>p {
    color: var(--gray);

    max-width: 540px;

    margin-bottom: 27px;

    line-height: 1.8;
}

.feature-list {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 13px;

    margin-bottom: 30px;
}

.feature-list div {
    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 13px;

    font-weight: 600;
}

.feature-list i {
    width: 20px;
    height: 20px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 9px;
}


/* =====================================================
   PRODUCTS
===================================================== */

.products-section {
    padding: 110px 0;
}

.section-heading {
    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 50px;

    margin-bottom: 45px;
}

.section-heading>p {
    max-width: 400px;

    color: var(--gray);

    font-size: 14px;

    line-height: 1.8;
}

.products-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.product-card {
    position: relative;

    overflow: hidden;

    padding: 30px;

    min-height: 320px;

    border: 1px solid var(--gray-light);

    border-radius: var(--radius);

    transition: var(--transition);

    background: white;
}

.product-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow);

    border-color: transparent;
}

.product-card.featured {
    background:
        linear-gradient(145deg,
            #087f5b,
            #0ca16f);

    color: white;

    border: none;
}

.product-card::after {
    content: "";

    position: absolute;

    width: 130px;
    height: 130px;

    border-radius: 50%;

    right: -60px;
    bottom: -60px;

    background: rgba(255, 255, 255, .06);
}

.product-icon {
    width: 50px;
    height: 50px;

    border-radius: 13px;

    display: grid;
    place-items: center;

    background: #dff6ed;

    color: var(--primary);

    margin-bottom: 27px;
}

.product-card.featured .product-icon {
    background: rgba(255, 255, 255, .14);
    color: white;
}

.blue-icon {
    background: #e8f0ff;
    color: var(--blue);
}

.orange-icon {
    background: #fff1db;
    color: #dc8718;
}

.product-tag {
    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.4px;

    color: var(--primary);
}

.product-card.featured .product-tag {
    color: #b7f0d8;
}

.product-card h3 {
    font-family: "Manrope", sans-serif;

    font-size: 22px;

    margin: 9px 0 10px;
}

.product-card p {
    color: var(--gray);

    font-size: 13px;

    line-height: 1.7;

    max-width: 290px;
}

.product-card.featured p {
    color: rgba(255, 255, 255, .78);
}

.product-card a {
    position: absolute;

    bottom: 28px;

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 12px;

    font-weight: 800;

    color: var(--primary);
}

.product-card.featured a {
    color: white;
}


/* =====================================================
   LOANS
===================================================== */

.loan-section {
    padding: 100px 0;

    color: white;

    background:
        linear-gradient(135deg,
            #102f27,
            #075f45);

    position: relative;

    overflow: hidden;
}

.loan-section::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    border-radius: 50%;

    right: -250px;
    top: -250px;

    border: 100px solid rgba(255, 255, 255, .035);
}

.loan-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;

    position: relative;

    z-index: 2;
}

.light-label {
    color: #8ce0bc;
}

.loan-content h2 {
    font-family: "Manrope", sans-serif;

    font-size:
        clamp(35px, 4vw, 51px);

    line-height: 1.1;

    letter-spacing: -1.5px;

    margin-bottom: 22px;
}

.loan-content h2 span {
    display: block;

    color: #74dcae;
}

.loan-content p {
    color: rgba(255, 255, 255, .72);

    max-width: 500px;

    line-height: 1.8;

    margin-bottom: 30px;
}

.white-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 14px 22px;

    background: white;

    color: var(--dark);

    border-radius: 10px;

    font-weight: 800;

    font-size: 13px;

    transition: var(--transition);
}

.white-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .2);
}

.loan-options {
    display: flex;

    flex-direction: column;

    gap: 12px;

    justify-content: center;
}

.loan-option {
    display: grid;

    grid-template-columns:
        40px 1fr 20px;

    align-items: center;

    gap: 15px;

    padding: 18px;

    border-radius: 13px;

    background:
        rgba(255, 255, 255, .07);

    border: 1px solid rgba(255, 255, 255, .08);

    transition: var(--transition);
}

.loan-option:hover {
    background:
        rgba(255, 255, 255, .12);

    transform: translateX(5px);
}

.loan-option>i:first-child {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    background: rgba(255, 255, 255, .10);

    border-radius: 10px;

    color: #82dfb6;
}

.loan-option h3 {
    font-size: 14px;

    margin-bottom: 2px;
}

.loan-option p {
    color: rgba(255, 255, 255, .58);

    font-size: 11px;
}


/* =====================================================
   TESTIMONIALS
===================================================== */

.testimonial-section {
    padding: 105px 0;

    background: var(--off-white);

    text-align: center;
}

.testimonial-heading {
    max-width: 650px;

    margin: auto auto 40px;
}

.testimonial-slider {
    position: relative;

    max-width: 750px;

    min-height: 245px;

    margin: auto;
}

.testimonial {
    display: none;

    animation: fadeSlide .5s ease;
}

.testimonial.active {
    display: block;
}

@keyframes fadeSlide {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote-icon {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    margin: auto auto 20px;

    border-radius: 50%;

    color: var(--primary);

    background: var(--primary-light);
}

.testimonial p {
    font-family: "Manrope", sans-serif;

    font-size: 21px;

    line-height: 1.65;

    margin-bottom: 25px;
}

.customer {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;
}

.avatar {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: white;

    background: var(--primary);

    font-size: 11px;

    font-weight: 800;
}

.customer div:last-child {
    display: flex;

    flex-direction: column;

    text-align: left;
}

.customer strong {
    font-size: 12px;
}

.customer span {
    font-size: 10px;

    color: var(--gray);
}

.slider-controls {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    margin-top: 20px;
}

.slider-controls button {
    width: 38px;
    height: 38px;

    border: 1px solid var(--gray-light);

    background: white;

    border-radius: 50%;

    cursor: pointer;

    color: var(--dark);

    transition: var(--transition);
}

.slider-controls button:hover {
    background: var(--primary);

    color: white;

    border-color: var(--primary);
}

.slider-dots {
    display: flex;

    gap: 6px;
}

.slider-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #ccd8d3;

    cursor: pointer;
}

.slider-dot.active {
    width: 22px;

    border-radius: 10px;

    background: var(--primary);
}


/* =====================================================
   CTA
===================================================== */

.cta-section {
    padding: 80px 0;

    background:
        linear-gradient(135deg,
            #087f5b,
            #13a975);

    color: white;
}

.cta-content {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;
}

.cta-content h2 {
    font-family: "Manrope", sans-serif;

    font-size:
        clamp(35px, 4vw, 49px);

    line-height: 1.1;

    margin-bottom: 14px;
}

.cta-content h2 span {
    color: #b5f2d7;
}

.cta-content p {
    color: rgba(255, 255, 255, .78);

    max-width: 570px;
}

.cta-buttons {
    display: flex;

    gap: 10px;

    flex-shrink: 0;
}

.outline-white-btn {
    padding: 14px 22px;

    border: 1px solid rgba(255, 255, 255, .55);

    border-radius: 10px;

    font-size: 13px;

    font-weight: 800;

    color: white;

    transition: var(--transition);
}

.outline-white-btn:hover {
    background: rgba(255, 255, 255, .12);
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    background: #0b211c;

    color: white;

    padding-top: 70px;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr 1.5fr;

    gap: 45px;

    padding-bottom: 55px;
}

.footer-brand p {
    color: #8da49d;

    max-width: 300px;

    font-size: 13px;

    line-height: 1.8;

    margin: 18px 0;
}

.footer-logo {
    color: white;
}

.footer-logo strong {
    color: #6fd4a7;
}

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 9px;
}

.footer-column h4 {
    color: white;

    font-size: 13px;

    margin-bottom: 8px;
}

.footer-column a {
    color: #8da49d;

    font-size: 12px;

    transition: var(--transition);
}

.footer-column a:hover {
    color: #6fd4a7;
}

.footer-column p {
    display: flex;

    gap: 8px;

    color: #8da49d;

    font-size: 11px;
}

.footer-column p i {
    color: #61c99e;

    margin-top: 4px;
}

.social-links {
    display: flex;

    gap: 8px;
}

.social-links a {
    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    color: #a4b8b2;

    background: rgba(255, 255, 255, .06);

    font-size: 12px;

    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);

    color: white;
}

.footer-bottom {
    min-height: 65px;

    border-top: 1px solid rgba(255, 255, 255, .08);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    color: #708780;

    font-size: 10px;
}

.footer-bottom div {
    display: flex;

    gap: 20px;
}

.footer-bottom a:hover {
    color: white;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1050px) {

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-actions {
        margin-left: auto;
    }

    .mobile-nav {
        padding: 20px 4% 25px;

        background: white;

        border-top: 1px solid var(--gray-light);

        box-shadow: var(--shadow);

        flex-direction: column;

        gap: 5px;
    }

    .mobile-nav.active {
        display: flex;
    }

    .mobile-nav>a {
        padding: 12px;

        border-radius: 8px;

        font-weight: 600;

        font-size: 14px;
    }

    .mobile-nav>a:hover {
        background: var(--primary-light);

        color: var(--primary);
    }

    .mobile-buttons {
        display: flex;

        gap: 10px;

        padding-top: 10px;
    }

    .mobile-buttons .login-btn {
        border: 1px solid var(--gray-light);

        border-radius: 10px;

        flex: 1;

        text-align: center;
    }

    .mobile-buttons .primary-btn {
        flex: 1;
    }

    .hero-grid {
        gap: 30px;
    }

    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns:
            2fr 1fr 1fr;
    }

    .footer-column:last-child {
        grid-column: span 2;
    }
}


@media (max-width: 800px) {

    .header-actions {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        text-align: center;

        padding: 65px 0;
    }

    .hero-content>p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-card-wrapper {
        min-height: 370px;

        margin-top: 15px;
    }

    .hero-card {
        transform:
            perspective(900px) rotateY(-3deg);
    }

    .digital-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .digital-image {
        min-height: auto;
    }

    .digital-content {
        text-align: center;
    }

    .digital-content>p {
        margin-left: auto;
        margin-right: auto;
    }

    .feature-list {
        text-align: left;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        min-height: 290px;
    }

    .section-heading {
        display: block;

        text-align: center;
    }

    .section-heading>p {
        margin: 15px auto 0;
    }

    .loan-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .loan-content {
        text-align: center;
    }

    .loan-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-content {
        flex-direction: column;

        text-align: center;
    }

    .cta-content p {
        margin: auto;
    }
}


@media (max-width: 600px) {

    .announcement-inner {
        justify-content: center;
    }

    .announcement-inner a {
        display: none;
    }

    .nav-wrapper {
        min-height: 70px;
    }

    .logo {
        font-size: 17px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
    }

    .hero-content h1 {
        letter-spacing: -1.8px;
    }

    .hero-content>p {
        font-size: 15px;
    }

    .hero-card {
        width: 94%;

        height: 230px;

        padding: 23px;
    }

    .card-number {
        margin-top: 45px;

        font-size: 16px;
    }

    .card-bottom {
        left: 23px;
        right: 23px;
    }

    .floating-balance {
        right: 0;
        bottom: 10px;

        min-width: 195px;
    }

    .floating-growth {
        left: 0;
        top: 25px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .digital-section,
    .products-section,
    .testimonial-section {
        padding: 75px 0;
    }

    .loan-section {
        padding: 75px 0;
    }

    .testimonial p {
        font-size: 17px;
    }

    .cta-buttons {
        width: 100%;

        flex-direction: column;
    }

    .cta-buttons a {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 35px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-column:last-child {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;

        justify-content: center;

        padding: 20px 0;

        text-align: center;
    }

    .footer-bottom div {
        flex-wrap: wrap;

        justify-content: center;
    }
}


/*
authentication
authentication
authentication
authentication
authentication
authentication
authentication
authentication
authentication
*/


/* =========================================
   CREDIT POWER247 - AUTHENTICATION STYLES
   Login and Open Account pages
========================================= */

:root {
    --auth-green: #16803d;
    --auth-green-dark: #10632f;
    --auth-green-light: #e8f5e9;
    --auth-text: #24352a;
    --auth-muted: #667085;
    --auth-border: #d5dfd7;
    --auth-white: #ffffff;
    --auth-background: #f3f8f4;
    --auth-danger: #b42318;
    --auth-radius: 12px;
    --auth-shadow: 0 12px 35px rgba(0, 70, 35, 0.10);
}

/* General page styling */
body.auth-body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--auth-text);
    background: linear-gradient(135deg,
            var(--auth-green-light),
            var(--auth-background));
}

/* Main container */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px 18px;
    box-sizing: border-box;
}

/* Form card */
.auth-card {
    width: 100%;
    max-width: 480px;
    padding: 36px;
    background: var(--auth-white);
    border-radius: var(--auth-radius);
    box-shadow: var(--auth-shadow);
    box-sizing: border-box;
}

/* Wider card for registration */
.auth-card.auth-card-wide {
    max-width: 600px;
}

/* Brand name */
.auth-brand {
    margin-bottom: 8px;
    color: var(--auth-green);
    font-size: 27px;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.5px;
}

/* Introductory text */
.auth-subtitle {
    margin: 0 0 28px;
    color: var(--auth-muted);
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
}

/* Page heading */
.auth-card h1,
.auth-card h2 {
    margin: 0 0 25px;
    color: var(--auth-text);
    text-align: center;
    font-size: 24px;
}

/* Labels */
.auth-card label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
}

/* Form groups */
.auth-form .form-group {
    margin-bottom: 18px;
}

/* Input fields */
.auth-card input,
.auth-card select,
.auth-card textarea {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid var(--auth-border);
    border-radius: 7px;
    background: var(--auth-white);
    color: var(--auth-text);
    font-family: inherit;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-card input:focus,
.auth-card select:focus,
.auth-card textarea:focus {
    outline: none;
    border-color: var(--auth-green);
    box-shadow: 0 0 0 3px rgba(22, 128, 61, 0.12);
}

/* Placeholder text */
.auth-card input::placeholder {
    color: #98a39b;
}

/* Submit button */
.auth-card button[type="submit"],
.auth-submit {
    display: block;
    width: 100%;
    min-height: 48px;
    margin-top: 10px;
    padding: 13px 18px;
    border: none;
    border-radius: 7px;
    background: var(--auth-green);
    color: var(--auth-white);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.auth-card button[type="submit"]:hover,
.auth-submit:hover {
    background: var(--auth-green-dark);
}

.auth-card button[type="submit"]:active,
.auth-submit:active {
    transform: translateY(1px);
}

/* Links below forms */
.auth-links {
    margin-top: 24px;
    color: var(--auth-muted);
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
}

.auth-card a {
    color: var(--auth-green);
    font-weight: 700;
    text-decoration: none;
}

.auth-card a:hover {
    color: var(--auth-green-dark);
    text-decoration: underline;
}

/* Back to homepage */
.auth-back {
    display: block;
    margin-top: 20px;
    color: var(--auth-muted) !important;
    text-align: center;
    font-size: 14px;
    font-weight: 400 !important;
}

/* Error and success messages */
.auth-error,
.error-message {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid #f1b6b3;
    border-radius: 7px;
    background: #fff1f0;
    color: var(--auth-danger);
    font-size: 14px;
    line-height: 1.5;
}

.auth-success,
.success-message {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid #a6d8b3;
    border-radius: 7px;
    background: #effaf1;
    color: var(--auth-green-dark);
    font-size: 14px;
    line-height: 1.5;
}

/* Optional two-column registration layout */
.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
}

.auth-grid .full-width {
    grid-column: 1 / -1;
}

/* Small helper text */
.auth-help,
.password-note {
    margin: 6px 0 0;
    color: var(--auth-muted);
    font-size: 12px;
    line-height: 1.5;
}

/* Mobile responsiveness */
@media (max-width: 520px) {
    .auth-container {
        padding: 20px 12px;
    }

    .auth-card {
        padding: 26px 20px;
    }

    .auth-brand {
        font-size: 24px;
    }

    .auth-card h1,
    .auth-card h2 {
        font-size: 21px;
    }

    .auth-grid {
        grid-template-columns: 1fr;
    }

    .auth-grid .full-width {
        grid-column: auto;
    }
}