/* Carousel */

.carousel-item img {
    height: fit-content;
    object-fit: contain;
}

/* Quick Action Section */

.quick-actions-title {
    font-size: 25px;
}

.quick-action-btn {
    background: linear-gradient(90deg, #e3f0fb 0%, #e6fff3 100%);
    color: #0056b3;
    border: 2px solid #51d88a;
    border-radius: 10px;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 86, 179, 0.07);
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.15s;
}

.quick-action-btn:hover,
.quick-action-btn:focus {
    background: linear-gradient(90deg, #51d88a 0%, #0056b3 100%);
    color: #fff;
    border-color: #0056b3;
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 6px 24px 0 rgba(0, 86, 179, 0.13), 0 3px 12px 0 rgba(81, 216, 138, 0.13);
}

.quick-action-btn i {
    transition: transform 0.2s;
}

.quick-action-btn:hover i,
.quick-action-btn:focus i {
    transform: scale(1.2) rotate(-8deg);
}

/* Explore Section */

.explore-btn {
    border-radius: 2rem;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(0, 86, 179, 0.07);
    font-size: 14px;
}

.explore-btn:hover,
.explore-btn:focus {
    background: white !important;
    color: black !important;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 6px 24px 0 rgba(0, 86, 179, 0.13), 0 3px 12px 0 rgba(81, 216, 138, 0.13);
    border-color: #fff !important;
}

.explore-title {
    font-size: 25px;
}


/* Card Section */

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-img-hover {
    transition: transform 0.4s ease-in-out;
}

.card-hover:hover .card-img-hover {
    transform: scale(1.05);
}

.btn-animate {
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}

.btn-animate::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0%;
    left: 0;
    bottom: 0;
    background: rgba(13, 110, 253, 0.1);
    /* Light blue ripple */
    transition: height 0.3s ease;
    z-index: 0;
}

.btn-animate:hover::after {
    height: 100%;
}

.btn-animate:hover {
    color: white;
}

.btn-animate span {
    position: relative;
    z-index: 1;
}

.card-main-title {
    font-size: 16px;
    color: #006FBA;
}

.card-desc {
    font-size: 14px;
}

/* Offer Section */
.offer-banner {
    background: url('../assets/images/home/offer_banner.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 400px;
}

.btn-offer{
    font-size: 14px;
}

/* Personal Banking Section */

.bg-light-grey {
    background-color: #e9e5e5;
}

.text-heading {
    color: black;
    font-weight: bold;
    font-size: 25px;
    margin-bottom: 30px;
}

.tab-pane {
    padding-top: 20px;
}

.sub-tab-content {
    min-height: 150px;
    font-size: 13px;
}

.tell-more-btn {
    margin-top: 15px;
    transition: background 0.3s ease, transform 0.3s ease;
    font-size: 13px;
}

.tell-more-btn:hover {
    background-color: #006FBA;
    color: white;
    transform: scale(1.05);
}

.zoom-img {
    width: 100%;
    transition: transform 0.4s ease;
}

.zoom-img:hover {
    transform: scale(1.05);
}

.section-img {
    max-width: 350px;
}

.nav-tabs {
    border-bottom: 1px solid #4CB748;
}

.tab-section-title {
    color: #006FBA;
    font-size: 20px;
}

.nav-tabs .nav-link.active {
    background-color: #4CB748;
    color: white !important;
}

.nav-tabs .nav-link {
    color: #4CB748;
}

/* Disclosure Modal */
.hover-zoom {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-zoom:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2);
}