/* Style for the hover dropdown */
.dropdown:hover .dropdown-menu {
    display: block;
}

a,
.resendOTP {
    cursor: pointer !important;
}

.resendOTP:hover {
    cursor: pointer !important;
    border:1px solid var(--background-color);
    background-image: var(--background-image);
    background-color: var(--background-color-menu);
}

.top-bar {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

.logo-img-fluid {
    max-width: 100%;
    height: 45px;
}

.sb_flat_icon {
    width: 23px;
    height: 23px;
}

.btn-outline-info {
    --bs-btn-color: #e2ac46 !important;
    --bs-btn-border-color: #e2ac46 !important;
    --bs-btn-hover-color: #ffffff !important;
    --bs-btn-hover-bg: #ffffff !important;
    --bs-btn-hover-border-color: #eff78b !important;
    --bs-btn-focus-shadow-rgb: 13, 202, 240 !important;
    --bs-btn-active-color: #000 !important;
    --bs-btn-active-bg: #e2ac46 !important;
    --bs-btn-active-border-color: #f2ff29 !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;
    --bs-btn-disabled-color: #f00 !important;
    --bs-btn-disabled-bg: transparent !important;
    --bs-btn-disabled-border-color: #bcd341 !important;
    --bs-gradient: none !important;
    color: white;
    --bs-bg-opacity: 1;
    background-color: var(--main-bg-color) !important;

}

.btn-outline-info:hover {
    --bs-btn-border-color: #e2ac46 !important;
    --bs-btn-hover-color: #ffffff !important;
    color: rgb(0, 0, 0);
    --bs-bg-opacity: 1;
    background-color: var(--background-color-menu) !important;
    background-image: var(--background-image) !important;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    border-radius: .25rem !important;
    border: 1px solid #dee2e6 !important;
}

:root {
    --main-bg-color: #e2ac46;
    --main-text-color: #e2ac46;
    --background-color: #8EC5FC;
    --background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
    --background-color-menu: rgb(220 223 225) !important;
}

.btn-outline-info {
    border-color: transparent !important;
}

.bg-body-secondary-menu {
    background-color: var(--background-color-menu);
}


.top-bar.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: top 0.3s;
}

.hidden {
    top: -80px;
}

.banner {
    background-color: var(--background-color);
    background-image: var(--background-image);
    padding: 50px 0;
    text-align: center;
}

.banner img {
    max-width: 100%;
    height: auto;
}

.features {
    text-align: center;
    padding: 30px 0;
}

.features i {
    font-size: 30px;
    margin-bottom: 10px;
}

.feature_img {
    max-width: 35%;
    height: auto;
}

.card-deck .card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    margin-bottom: 20px;
}

footer {
    background-color: var(--background-color);
    background-image: var(--background-image);
}

/* footer css  */
.footer {
    background-color: #f8f9fa;
    color: #212529;
    padding: 20px 0;
    overflow: hidden;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0;
    /* Reset margin */
}

.footer-column {
    flex: 1 1 calc(25% - 1rem);
    height: 240px;
    display: flex;
    flex-direction: column;
    border: 1px solid #ced4da;
    border-radius: 5px;
    background-color: #ffffff;
    overflow: hidden;
    box-sizing: border-box;
    padding: 10px;
    max-width: 100%;
}

.footer-column h4 {
    margin: 0;
    padding: 10px;
    background-color: #e9ecef;
    color: #495057;
    border-bottom: 1px solid #ced4da;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.footer-column-content {
    flex: 1;
    overflow-y: auto;
    padding-top: 5px;
}

.frame-responsive {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    margin-top: auto;
    margin-bottom: auto;
}

.frame-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.footer-bottom {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background-color: #e9ecef;
    color: #495057;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom img {
    max-height: 40px;
}

@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-column {
        height: 310px;
        max-width: 100%;
        flex: none !important;

    }
}

/* message chat boot  */
.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: var(--main-bg-color);
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
}

.chat-box {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    height: 400px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.chat-header {
    background-color: var(--main-bg-color);
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.chat-header button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.chat-body {
    padding: 15px;
    overflow-y: auto;
    height: 300px;
}

.chat-input {
    padding: 3px;
    border-top: 1px solid #ccc;
}

.chat-input input {
    width: calc(100% - 60px);
    padding: 3px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.chat-input button {
    margin-left: 5px;
}

.form-container {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.form-container input {
    margin-bottom: 10px;
}

/* carosel items  */
.carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.carousel-track {
    display: flex;
    flex-direction: row;
    transition: transform 0.5s ease-in-out;
}

.sb_carousel-item {
    flex: 0 0 16.66%;
    /* Default for large screens */
    box-sizing: border-box;
    padding: 10px;
}

.sb_carousel-item .share ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.sb_carousel-item .share ul li {
    margin: 0 5px;
}

.sb_carousel-item .share ul li a {
    text-decoration: none;
    color: #333;
}

/* Responsive styles */
@media (max-width: 1199px) {
    .sb_carousel-item {
        flex: 0 0 33.33%;
        /* 2 items on medium screens */
    }
}

@media (max-width: 767px) {
    .sb_carousel-item {
        flex: 0 0 100%;
    }

    .tradingview-widget-container {
        width: 466px !important;

    }
}

.bottom-dzbd7lyV {
    display: none !important;
}

/* platform icon  */
.img-fluid-flatform {
    max-width: 50%;
    height: auto;
}

/* Adjust widget container to maintain proportions */
.tradingview-widget-container {
    max-width: 100%;
}

/* Make the entire section responsive */
@media (max-width: 768px) {

    .tradingview-widget-container,
    #technical-analysis-chart-demo {
        height: 300px;
    }
}

@media (min-width: 769px) {
    #technical-analysis-chart-demo {
        height: 800px;
    }
}

.body_package_card {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.body_package_card .body_container {
    position: relative;
    max-width: 100%;
    height: auto;
    overflow: hidden;
}

.body_container img {
    object-fit: cover;
}

.centered-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}