/*===========================================================

   Template Name: Payyed
   Description: Money Transfer and Online Payments HTML Template
   Template URI: http://demo.harnishdesign.net/html/payyed
   Author: Harnish Design
   Author URI: https://themeforest.net/user/harnishdesign

=========================================
  Table of Contents
=========================================

	- Basic
	- Helpers Classes
	- Layouts
	- Header
		- Logo
		- Primary Menu
		- Secondary Nav
		- Page Header
	- Profile
		- Dashboard
		- Cards & Bank Account Page
	- Blog
	- Elements
		- Featured Box
		- Team
		- Accordion
		- Tabs
		- Easy Responsive Tab Accordion
		- Custom Background
		- Owl Carousel
		- Brands Grid
		- Banner
		- Simple ul
		- Steps Progress bar
	- Footer
		- Social Icons
		- Back to Top
	- Extra

-------------------------------------------------------------*/
/* =================================== */
/*  Basic Style
/* =================================== */

/* Cards & Bank Accounts*/
.account-card {
    position: relative;
    background: -webkit-linear-gradient(135deg, #6c6c6b, #9e9e9c);
    background: -moz-linear-gradient(135deg, #6c6c6b, #9e9e9c);
    background: -o-linear-gradient(135deg, #6c6c6b, #9e9e9c);
    background: -ms-linear-gradient(135deg, #6c6c6b, #9e9e9c);
    background: linear-gradient(-45deg, #6c6c6b, #9e9e9c);
}

.account-card.account-card-primary {
    background: -webkit-linear-gradient(135deg, #0f5e9d, #418fce);
    background: -moz-linear-gradient(135deg, #0f5e9d, #418fce);
    background: -o-linear-gradient(135deg, #0f5e9d, #418fce);
    background: -ms-linear-gradient(135deg, #0f5e9d, #418fce);
    background: linear-gradient(-45deg, #0f5e9d, #418fce);
}

.account-card .account-card-expire {
    font-size: 8px;
    line-height: 10px;
}

.account-card .account-card-overlay {
    position: absolute;
    background: rgba(0, 0, 0, 0.85);
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: -ms-flexbox;
    display: flex;
    opacity: 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.account-card:hover .account-card-overlay {
    opacity: 1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.account-card-new {
    background: #f1f5f6;
    border: 1px solid #ebebeb;
}

.account-card .border-start, .account-card .border-end {
    border-color: rgba(250, 250, 250, 0.1) !important;
}



 .card-bx {
     position: relative;
 }

.card-img img {
    width: 100%;
    height: auto;
    display: block;
}

.card-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    color: white;
    background: rgba(0, 0, 0, 0.5); /* Optional: for better contrast */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-info p, .card-info h2 {
    margin: 0;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.text-white {
    color: white;
}

