@font-face {
    font-family: 'SolaimanLipi';
    src: url('/assets/font/SolaimanLipi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --brand-primary-color: #076468;
    --primary-bg-color: rgb(214, 214, 214);
    --slider-hero-height: 500px;
}

html, body {
    overflow-x: hidden !important;
}

html[lang="en"] body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html[lang="bn"] body,
html[lang="bn"] p,
html[lang="bn"] span,
html[lang="bn"] td,
html[lang="bn"] th {
    font-family: "SolaimanLipi", "Noto Sans Bengali", "Tiro Bangla", sans-serif;
    font-size: 1.4rem !important;
    line-height: 1.2 !important;
}

html[lang="bn"] .form-control { font-size: 1.4rem !important; }
html[lang="bn"] .btn { font-size: 1.4rem !important; }
html[lang="bn"] select { font-size: 1.4rem !important; }
html[lang="bn"] input[type="text"] { font-size: 1.4rem !important; }

html[lang="bn"] h1 { font-size: 1.8rem !important; }
html[lang="bn"] h2 { font-size: 1.7rem !important; }
html[lang="bn"] h3 { font-size: 1.6rem !important; }
html[lang="bn"] h4 { font-size: 1.5rem !important; }
html[lang="bn"] h5 { font-size: 1.4rem !important; }


body {
    padding-top: 75px;
    background-color: var(--bs-bg-primary);
}
.bg-brand {
    background-color: var(--brand-primary-color) !important;
}
.bg-prime {
    background-color: var(--primary-bg-color) !important;
}
.text-brand {
    color: var(--brand-primary-color) !important;
}
.navbar {
    border-bottom: 5px solid var(--brand-primary-color);
}
.navbar .nav-link, .navbar-brand {
    transition: color 0.3s;
    display: flex;
    align-items: center;
}
.navbar .nav-link:hover {
    color: var(--brand-primary-color) !important;
}
.navbar .nav-link {
    position: relative;
    transition: all 0.3s;
}
.navbar .nav-link.active {
    border-bottom: 2px solid #ffdd00;
}
.dropdown-item.active {
    font-weight: bold;
}
.slider-hero {
    height: var(--slider-hero-height);
}
.header-hero {
    position: relative;
    overflow: hidden;
    padding: 10px;
}
.header-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
}
.hero-content {
  position: relative;
  z-index: 1;
}
.heading-separator::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #dc3545;
  margin: 10px auto;
  border-radius: 2px;
}
.section-title {
    color: var(--brand-primary-color) !important;
    font-weight: 700 !important;
    text-align: center;
    margin-bottom: 3rem;
}

.about-image-wrapper {
    overflow: visible;
}
.highlight-card {
    transition: transform 0.3s, box-shadow 0.3s;
    background: #fff;
}
.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
@media(max-width:991px) {
    .col-lg-6 { text-align: center; }
    .ps-lg-5 { padding-left:0 !important; }
    .highlight-card { justify-content: center; text-align: center; }
    .highlight-card .icon { margin-bottom:0.5rem; }
}

.fund-box {
    background: #f9f9f9;
    transition: transform 0.3s, box-shadow 0.3s;
}
.fund-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.icon-circle {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background: #007bff; /* default, will override per color */
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-outline-primary { border-color:#007bff; color:#007bff; }
.btn-outline-success { border-color:#28a745; color:#28a745; }
.btn-outline-danger  { border-color:#dc3545; color:#dc3545; }

/* Override circle background per fund color */
.fund-box:nth-child(1) .icon-circle { background:#007bff; }
.fund-box:nth-child(2) .icon-circle { background:#28a745; }
.fund-box:nth-child(3) .icon-circle { background:#dc3545; }

/* Responsive tweaks */
@media(max-width:767px) {
    .fund-box { text-align:center; }
}

.card {
    background-color: #9e9e9e1a;
    border-radius: 1rem;
}
.card-feature {
    border: none;
    border-top: 5px solid var(--brand-primary-color);
    border-radius: 0.75rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.card-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
/* contact us info card */
.info-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}


/* Toast Notification style */
#toast-container {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
    z-index: 2000;
}
.toast-msg {
    min-width: 300px;
    max-width: 400px;
    padding: 10px 13px;
    border-radius: 11px;
    color: #fff;
    font-weight: 500;
    position: relative;
    opacity: 0;
    transform: translateY(-40px);
    animation: toastSlideIn 0.4s forwards;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: start;
}
.toast-msg.alert-success { background-color: #198754; }
.toast-msg.alert-danger  { background-color: #dc3545; }
.toast-msg .btn-close {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 10px;
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.8;
    border: none;
}
.toast-msg .btn-close:hover {
    opacity: 1;
}
@keyframes toastSlideIn {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes toastSlideOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-40px); }
}

/* Image zoom on hover */ 
.position-relative:hover img {
    transform: scale(1.05);
}
.position-relative:hover .overlay-content {
    background: rgba(0,0,0,0.7);
}