/* index top mutual funds start */
/* Fund Cards */
.fund-container{
    display:grid;
}

.fund-card{
    background:#fff;
    padding:15px;
    border-radius:10px;
    box-shadow:0 2px 8px rgba(0,0,0,0.06);
    cursor:pointer;
    transition:0.3s;
    border:2px solid transparent;
}

.fund-card:hover{
    transform:translateY(-3px);
}

.fund-card.active{
    /*border:2px solid #16a34a;*/
    border:2px solid #E69200;
}

.fund-name{
    font-weight:600;
    font-size:14px;
    margin-bottom:8px;
}

.nav{
    font-size:13px;
    color:#555;
    margin-bottom:10px;
}

.return-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:6px;
    font-size:12px;
    margin-bottom:12px;
}

.return-box{
    text-align:center;
    background:#f0fdf4;
    padding:6px;
    border-radius:6px;
}

.return-box span{
    display:block;
    font-weight:600;
    color:#16a34a;
}

.invest-btn{
    display:block;
    text-align:center;
    padding:8px;
    background:#16a34a;
    color:#fff;
    border-radius:6px;
    text-decoration:none;
    font-size:13px;
}

/* Chart Section */
.chart-section{
    margin-top:40px;
    max-width:800px;
}

.chart-container{
    height:350px;
}

/* index top mutual funds end */
/* index page start */
:root{
    --primary:#15385F;
    --primary-light:#1e4c7a;
    --bg:#f2f5f9;
    --card:#ffffff;
    --success:#18a957;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'Segoe UI', sans-serif;
}

body{
    background:var(--bg);
    color:#333;
}

/* HEADER */

header{
    background:#fff;
    padding:18px 60px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.logo{
    font-size:26px;
    font-weight:600;
    color:var(--primary);
}

.nav-buttons button{
    padding:10px 22px;
    border-radius:8px;
    border:2px solid var(--primary);
    background:none;
    color:var(--primary);
    font-weight:500;
    cursor:pointer;
    margin-left:10px;
    transition:0.3s;
}

.nav-buttons .signup{
    background:var(--primary);
    color:#fff;
}

.nav-buttons button:hover{
    opacity:0.85;
}

/* HERO SECTION */

.hero{
    background:linear-gradient(to right, var(--primary), var(--primary-light));
    color:#fff;
    text-align:center;
    padding:80px 20px 100px;
}

.hero h1{
    font-size:42px;
    font-weight:700;
    margin-bottom:10px;
}

.hero p{
    font-size:18px;
    opacity:0.9;
    margin-bottom:40px;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.hero-buttons button{
    background:#fff;
    color:var(--primary);
    padding:14px 28px;
    border:none;
    border-radius:12px;
    font-weight:600;
    cursor:pointer;
    box-shadow:0 6px 15px rgba(0,0,0,0.15);
    transition:0.3s;
}

.hero-buttons button:hover{
    transform:translateY(-3px);
}

/* MAIN CONTENT */

.container{
    max-width:1200px;
    margin:-70px auto 60px;
    display:flex;
    gap:30px;
    padding:0 20px;
}
.container-inner-page{
    margin:-70px auto 60px;
    max-width:100%;
    display:inherit;
    gap:30px;
    padding:0 20px;
}
.card{
    flex:1;
    background:var(--card);
    padding:35px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.card h2{
    color:var(--primary);
    margin-bottom:25px;
    font-size:24px;
}

/* FORM */

.form-group{
    margin-bottom:20px;
}

.form-group label{
    display:block;
    margin-bottom:8px;
    font-weight:500;
}

.form-group input{
    width:100%;
    padding:14px;
    border-radius:8px;
    border:1px solid #E69200;
    font-size:15px;
}

/* FUND LIST */

.fund{
    display:flex;
    justify-content:space-between;
    padding:18px 0;
    border-bottom:1px solid #eee;
}

.fund:last-child{
    border-bottom:none;
}

.fund-title{
    font-weight:600;
    margin-bottom:5px;
}

.fund-meta{
    font-size:14px;
    color:#666;
}

.fund-return{
    color:var(--success);
    font-weight:700;
    font-size:18px;
}

/* RESPONSIVE */

@media(max-width:950px){
    .container{
        flex-direction:column;
        margin-top:-50px;
    }

    .hero h1{
        font-size:32px;
    }
}


/* index page end */
:root {
    --primary-color: #0f2e4f;    
}

body {
    background-color: #f0f2f5;
    font-family: "IBM Plex Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1f2937;
    line-height: 1.5;
}

.custom-navbar {
    background: linear-gradient(to right, #0f2e4f, #163a63);
    padding: 12px 20px;
    border-bottom: 3px solid #1d4ed8;
}

.custom-navbar .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 10px 40px !important;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.custom-navbar .nav-item:last-child{
    border-right: none;
}

.custom-navbar .nav-item {
    border-right: 1px solid rgba(255, 255, 255, 0.274);
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
}

.custom-dropdown {
    background-color: #ffffff;
    border: none;
    border-top: 3px solid #1d4ed8;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 6px 6px;
    padding: 5px 0;
    margin-top: 12px;
}

.custom-dropdown .dropdown-item {
    color: #0f2e4f;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.2s ease;
}

.custom-dropdown .dropdown-item:hover {
    background-color: #1d4ed8;
    color: white;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.navbar-toggler-icon {
    filter: invert(1) grayscale(100%) brightness(200%);
}

@media (max-width:991px) {
    .custom-navbar .nav-item:first-child{
        margin-top: 20px;
    }

    .custom-navbar .nav-link{
        padding: 15px 0 !important;
    }

    .custom-navbar .nav-item {
        border-right: none;
    }

    .custom-dropdown.show {
        animation: fadeIn 0.3s ease;
    }
}

@media (min-width: 992px) {
    .nav-item.dropdown:hover .custom-dropdown {
        display: block;
        margin-top: 0; 
        animation: fadeIn 0.3s ease;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border: 1px solid rgb(177, 174, 174);
}

.main-card .heading{
    background-color: #0a233f;
    color: white;
}

.main-card .m-3 {
    margin: 20px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 15px;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover {
    background-color: #0a233f !important;
    color: white !important;
    border-color: #0a233f;
}

.nav-tabs .nav-link {
    color: #000000;
    border: none;
    border-bottom: 1px solid #000000;
    border-radius: 0;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    transition: all .3s ease;
}

.nav-tabs .nav-link:nth-child(1){
    border-top: 1px solid black;
}

.nav-tabs {
    flex-direction: column;
    border-bottom: none;
}

.nav-tabs .nav-item {
    width: 100%;
}

@media (min-width: 992px) {
    .nav-tabs {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .nav-tabs .nav-item {
        flex: 1;
        width: auto;
    }

    .nav-tabs .nav-link {
        border: 1px solid #030303;
    }
}

.accordion {
    margin: 20px;
}

.accordion-item {
    border: 1px solid #9d9ea0;
    border-radius: 6px;
    margin-bottom: 12px;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.accordion-button {
    background-color: #d6e6f7;
    border: 1px solid #b6b6b6;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 20px;
    box-shadow: none;
    border-radius: 0;
    transition: background-color 0.2s;
}

.accordion-button:not(.collapsed) {
    background-color: rgb(15, 46, 79);
    color: white;
    border-bottom: 1px solid rgba(15, 46, 79, 0.1);
}

.accordion-button::after {
    display: none;
}

.accordion-body {
    padding: 25px;
    background-color: #fff;
    overflow-x: scroll;
}

.custom-arrow {
    position: absolute;
    right: 20px;
    font-size: 10px;
    color: #6b7280;
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed) .custom-arrow {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 500;
    color: #1f2937;
}

.form-control, 
.form-select {
    background-color: #f9fafb;
    border: 1px solid #c8c9ca;
    border-radius: 4px;
    color: #1f2937;
    font-size: 13px;
    padding: 8px 12px;
    min-height: 38px;
    margin-top: 6px;
    transition: all 0.2s ease-in-out;
}

.form-control:focus, 
.form-select:focus {
    background-color: #ffffff;
    border-color: #1d4ed8;
    box-shadow: none !important;
    outline: none !important;
}

::placeholder {
    color: #9ca3af;
    font-size: 12px;
}

.astriek {
    color: #dc2626;
    font-weight: bold;
    margin-left: 2px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #0a233f; 
    border-color: #0a233f;
    box-shadow: 0 4px 6px rgba(15, 46, 79, 0.2);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.main-card .m-3 .btn {
    margin-right: 10px;
    min-width: 80px;
}

.table {
    margin-bottom: 20px;
    border-color: #e5e7eb;
}

.header-datatable {
    background-color: #ddeaf7; 
    border-bottom: 2px solid var(--primary-color);
}

.header-datatable th {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    padding: 12px 8px;
    border-bottom: none;
    vertical-align: middle;
}

.table tbody td {
    padding: 8px;
    vertical-align: middle;
}

input[type="radio"], 
input[type="checkbox"] {
    margin-right: 5px;
    margin-top: 8px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

label {
    margin-right: 15px;
    cursor: pointer;
}

p.mt-3 {
    font-size: 12px;
    color: #6b7280;
    background: #fffbeb;
    padding: 10px;
    border-radius: 4px;
    border-left: 3px solid #f59e0b;
}

.box {
    border: 1px solid #b6b6b6;
    margin: 20px;
    padding: 10px;
}

.display-none{
    display: none;
}

/* form validations */

/*.required::after {*/
/*    content: " *";*/
/*    color: red;*/
/*}*/

.is-invalid {
    border: 1px solid red !important;
}


/* client register page style start */
/*.disabled-tab {*/
/*  pointer-events: none;*/
/*  opacity: 0.5;*/
/*  cursor: not-allowed;*/
/*} */
/*.hide{*/
/*    display: none;*/
/*}*/
/*.show{*/
/*    display: block;*/
/*}*/
/* client register page style end */