/* Prevent Bootstrap modal from adding padding-right to body */
body.modal-open {
    padding-right: 0 !important;
    overflow: auto !important;
}

/* header */
header {
    z-index: 1;
}

#h-login-btn img {
    transition: transform 0.3s ease;
}

#h-login-btn:hover img {
    transform: translateX(2px);
}

header .nav-link {
    font-size: 15px;
    font-weight: 500;
    color: #fffc !important;
    transition: all 0.3s ease;
    letter-spacing: -0.5px;
}

header .active .nav-link,
header .nav-link:hover {
    color: #fff;
}

header .navbar {
    position: relative;
}

header .navbar-toggler {
    border: 1px solid #d7dee6;
    border-radius: 10px;
    padding: 8px 10px;
    transition: all 0.2s ease;
    background-color: #fff;
}

header .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(16, 51, 87, 0.2);
}

header .navbar-toggler-icon {
    filter: invert(16%) sepia(33%) saturate(1271%) hue-rotate(174deg) brightness(94%) contrast(87%);
}

.color-nav {
    background-color: var(--color-primary);
    border-radius: 0 0 10px 10px;

}



.color-nav .navbar-nav .nav-link:hover {
    color: var(--color-accent)
}

.color-nav .navbar-nav .nav-link.active {
    color: var(--color-accent)
}

/* hero ban */
.hero-ban {
    padding-bottom: 120px;
}

.hero-ban .inner-section {
    padding-top: 165px;
    background-color: #4B381080;
    background-blend-mode: darken;
    background-image: url("../images/hero-bg.webp");
    background-size: cover;
    background-position: center;
}

@media (min-width: 992px) {
    .hero-ban p {
        font-size: 20px;
        line-height: 1.5em;
    }
}

.ban-stat-row {
    grid-template-columns: 2.5fr 0.6fr 1fr;
    margin-bottom: -60px;
}

.ban-stat-item {
    padding: 20px;
    border-radius: 25px;
    background: #ffffffcc;
    backdrop-filter: blur(20px);
}

.ban-stat-item:last-child {
    background-image: url("../images/ban-stat-bg.webp");
    background-size: cover;
    background-position: center;
}

.ban-stat-row h4 {
    color: var(--color-primary);
    font-size: 23px;
    font-weight: 500;
    line-height: 1.44em;
}

.ban-stat-row p {
    font-size: 14px;
    font-weight: 300;
}

.ban-stat-box {
    padding: 20px 20px 15px;
}

.ban-stat-box h6 {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5em;
    letter-spacing: -0.2px;
}

.ban-stat-num {
    color: var(--color-primary);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2em;
}

/* who we are sec */
.who-we-are-sec {
    padding-block: 120px;
}

@media (min-width: 992px) {
    .who-we-are-sec p {
        font-size: 20px;
        line-height: 1.5em;
    }
}

/* about sec */
.about-sec {
    padding-block: 120px;
}

.about-sec img {
    border-radius: 30px;
}

.about-left-col {
    padding: 30px;
    border-radius: 25px;
    min-height: 560px;
    background-image: url("../images/about-img.webp");
    background-size: cover;
    background-position: center;
}

.about-right-col {
    padding: 40px;
    border-radius: 1.55em;
    background-color: #F4EFE4;
    background-image: url("../images/about-bg.png");
    background-size: cover;
    background-position: center;
}

.about-right-col .sub-head {
    background-color: #F4EFE4;
}

.about-right-col p {
    font-weight: 300;
}

.about-content {
    padding: 30px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(10px);
}

@media (min-width: 992px) {
    .about-content p {
        font-size: 20px;
        line-height: 1.5em;
    }
}

.about-content h5 {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2em;
    letter-spacing: -0.5px;
}

.about-content .d-flex p {
    font-size: 11px;
    color: #7E7E7E;
    font-weight: 500;
    line-height: 1.8em;
    letter-spacing: -0.2px;
    text-transform: uppercase;
}

.about-inner-row div {
    border-left: 1px solid #FFFFFF33;
    padding-left: 30px;
}

.about-inner-row div:first-child {
    border-left: none;
    padding-left: 0px;
}

@media (min-width: 1379px) {
    html[lang="de"] .about-inner-row div:first-child {
        max-width: 178px;
    }
}

.about-inner-row h4 {
    font-size: 25px;
    font-weight: 500;
    line-height: 1.2em;
    border-radius: 7px;
    background: #D2B47B;
    max-width: max-content;
    padding: 8px 12px;
}

.about-inner-row p {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.18px;
    line-height: 1.5em;
    text-transform: capitalize;
}

/* what we do sec */
.what-we-do-sec {
    padding-block: 120px;
}

.what-we-do-card {
    border-radius: 15px;
    background-color: var(--color-accent);
}

.what-we-do-card h4 {
    font-size: 22px;
    font-weight: 500;
}

.what-we-do-card img {
    max-width: 250px;
}

@media (min-width: 768px) {
    .what-we-do-card p {
        font-size: 16px;
        line-height: 1.4em;
    }
}

/* production sec */
.production-sec {
    padding-block: 120px;
}

.production-sec .inner-container {
    padding: 70px 50px 90px;
    border-radius: 25px;
    background-image: url("../images/production-bg.webp");
    background-color: #00000066;
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
}

.production-card {
    padding: 20px;
    border-radius: 22px;
    background-size: cover;
    background: #f6f5f299;
    backdrop-filter: blur(13.5px);
}

.production-card img {
    border-radius: 18px;
    aspect-ratio: 1.311;
    object-fit: cover;
}

.production-card h4 {
    font-size: 24px;
    width: 100%;
    font-weight: 500;
    color: var(--color-primary);
}

/* strategy-sec */
.strategy-sec {
    padding-block: 120px;
}

.strategy-box {
    padding: 20px;
    border-radius: 24px;
    background: #FAFAFA;
    box-shadow: 0 0 6px 0 #0000000f;
}

.strategy-box.middle {
    background-color: var(--color-accent);
    background-image: url("../images/goldstone-watermark.svg");
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 60% auto;
    padding-block: 50px;
}

.strategy-box img {
    width: 100%;
    aspect-ratio: 1.28;
    border-radius: 16px;
    border: 1px solid #FFFFFF4D;
    object-fit: cover;
    object-position: center;
}

.strategy-box h4 {
    font-size: 24px;
    font-weight: 500;
    color: var(--color-primary);
}

@media (min-width: 768px) {
    .strategy-box p {
        font-size: 16px;
        line-height: 1.4em;
    }
}

.strategy-box h3 {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2em;
}

/* investment sec */
.sustainability-sec {
    padding-block: 150px 120px;
}

@media (min-width: 768px) {
    .sustainability-sec p {
        font-size: 16px;
        line-height: 1.4em;
    }
}

.sustainability-sec li {
    color: var(--color-primary);
    font-size: 22px;
    font-weight: 500;
    line-height: normal;
    padding: 20px 15px;
    border-bottom: 1px solid #00000033;
}

/* exploration sec */
.exploration-sec {
    padding-block: 120px;
}

.exploration-sec h2 {
    line-height: 1.2em;
}

.growth-card {
    min-height: 400px;
    padding: 40px 20px 20px;
    border-radius: 24px;
    background: #FAFAFA;
    box-shadow: 0 0 6px 0 #0000000f;
    border: none;
}

.growth-card div {
    padding: 30px 18px 30px 18px;
    border-radius: 16px;
    background-color: #FFFFFF;
}

.growth-card h4 {
    font-size: 21px;
    font-weight: 500;
    color: var(--color-primary);
}

.growth-card p {
    font-size: 14px;
    line-height: 1.4em;
}

/* technology sec */
.technology-sec {
    padding-block: 120px;
}

@media (min-width: 768px) {
    .technology-sec p {
        font-size: 16px;
        line-height: 1.4em;
    }
}

.tech-grid {
    grid-template-columns: 1fr 1fr;
}

.tech-box {
    padding: 30px;
    border-radius: 12px;
    background-position: center;
    background-size: cover;
}

.tech-box h4 {
    font-size: 18px;
    font-weight: 600;
}

.tech-box p {
    font-size: 14px;
    line-height: 1.4em;
    font-weight: 300;
}

.tech-box.left {
    min-height: 455px;
    background-image: url("../images/tech-bg-1.png");
}

.tech-box.left h4 {
    font-size: 24px;
}

.tech-box.left p {
    max-width: 350px;
}

.tech-right {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.tech-box.top-right {
    padding: 25px;
    grid-column: 1 / -1;
    background-image: url("../images/tech-bg-2.png");
}

.tech-box.top-right h4 {
    font-size: 20px;
}

.tech-box.bottom-right-1,
.tech-box.bottom-right-2 {
    padding: 25px;
}

.tech-box.bottom-right-1 {
    background-image: url("../images/tech-bg-3.png");
}

.tech-box.bottom-right-2 {
    background-image: url("../images/tech-bg-4.png");
}

.tech-box.bottom-right-1 p,
.tech-box.bottom-right-2 p {
    font-size: 14px;
}

/* tech-card - new 4-column layout */
.tech-card {
    padding: 30px;
    border-radius: 15px;
    background-color: var(--color-accent);
    background-size: cover;
    background-position: center;
    min-height: 320px;
}

.tech-card:nth-child(1) .tech-card,
.technology-sec .row>div:nth-child(1) .tech-card {
    background-image: url("../images/tech-bg-1.png");
}

.technology-sec .row>div:nth-child(2) .tech-card {
    background-image: url("../images/tech-bg-2.png");
}

.technology-sec .row>div:nth-child(3) .tech-card {
    background-image: url("../images/tech-bg-3.png");
}

.technology-sec .row>div:nth-child(4) .tech-card {
    background-image: url("../images/tech-bg-4.png");
}

.tech-card h4 {
    font-size: 22px;
    font-weight: 500;
}

.tech-card p {
    font-size: 14px;
    line-height: 1.5em;
    font-weight: 300;
}

@media (min-width: 768px) {
    .tech-card p {
        font-size: 16px;
        line-height: 1.4em;
    }
}

/* innovation sec */
.innovation-sec {
    padding-block: 120px;
}

.inn-box {
    width: 25%;
    padding: 25px;
    min-height: 440px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.6s ease-in-out;
}

.inn-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#00000000, #00000080);
    z-index: 1;
}

.inn-box:hover,
.inn-box.active {
    width: 55%;
}

.inn-box h5 {
    font-size: 14px;
    font-weight: 400;
    padding: 20px 12px;
    border-radius: 13px;
    line-height: 1.12em;
    text-align: center;
    background-color: var(--color-accent);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 20px;
    right: 20px;
    bottom: 20px;
    margin-inline: auto;
    z-index: 1;
    max-width: 200px;
}

.inn-box:hover h5,
.inn-box.active h5 {
    display: none;
}

.inn-box div {
    opacity: 0;
    position: relative;
    z-index: 1;
}

.inn-box:hover div,
.inn-box.active div {
    opacity: 1;
}

.inn-box h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.38em;
    display: flex;
    align-items: start;
    max-width: 200px;
    justify-content: start;
}

.inn-box p {
    font-size: 14px;
    line-height: 1.4em;
    max-width: 355px;
    height: 58.78px;
    overflow: hidden;
}

/* footer */
footer {
    background-color: #F4EFE4;
    background-size: cover;
    background-position: center;
    padding-top: 72px;
}

footer .row:last-child {
    font-size: 14px;
}

footer .row .row {
    font-size: 16px;
}

footer .row .row a {
    color: var(--color-primary);
}

footer .btn {
    min-width: 170px;
    background-color: #AA8946 !important;
    border-radius: 30px;
}

footer .form-control {
    border-color: #00000033;
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 14px;
}

footer label {
    font-size: 14px;
    margin-bottom: 3px;
}

footer .form-control::placeholder {
    color: #000000CC;
}

.lang-selector li {
    font-size: 14px;
    color: var(--color-accent);
    cursor: pointer;
    text-transform: uppercase;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.lang-selector li a {
    color: inherit;
    text-decoration: none;
}

.lang-selector li.active {
    color: var(--color-accent);
    opacity: 1;
}

.lang-selector li:hover {
    opacity: 0.8;
}

/* Form Error Styling */
.err_input {
    border: 2px solid #dc3545 !important;
    background-color: #fff5f5 !important;
}

.err_input:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Toastr Custom Positioning */
#toast-container>div {
    opacity: 1;
}

.legal-content h3,
.legal-content h4,
.legal-content h2 {
    color: var(--color-accent);
}

.legal-content strong {
    color: var(--color-primary);
}

/* Modal - Glassmorphism Effect */
.modal-backdrop {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Modal Glassmorphism Styles */
.modal-content {
    background: rgb(255 255 255 / 37%);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 35px 35px 30px 30px;
    box-shadow: 0 8px 32px rgb(0 0 0 / 21%);
}

/* Disable wobble/shake animation on static backdrop click */
.modal.modal-static .modal-dialog {
    transform: none !important;
}

.modal-header {
    background: transparent;
    padding: 25px 20px;
    border: 0 !important;
    border-radius: 35px 35px 0 0;
    justify-content: space-between !important;
}

/* Fix modal close button positioning - ensure it's always clickable above the logo */
.modal-header .btn-close {
    filter: invert(1);
    position: absolute !important;
    right: 15px !important;
    top: 15px !important;
    z-index: 1060 !important;
    padding: 0.5rem !important;
    margin: 0 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Ensure modal logo doesn't block clicks on close button */
.modal-header img {
    pointer-events: none;
    z-index: 1;
}

.modal-body {
    background: transparent;
    padding-top: 30px;
}

.modal-footer {
    background: transparent;
    border-top: none;
    border-radius: 0 0 30px 30px;
    padding: 20px 30px;
}

.modal-content h2,
.modal-content h1,
.modal-content .modal-title,
.modal-content .section-head {
    color: white;
}

.modal-content label,
.modal-content p,
.modal-content h6 {
    color: white;
}

.modal-content a {
    transition: all 0.3s ease;
}

.modal-content a:hover {
    color: var(--color-primary);
}

.modal-footer .btn {
    width: 250px;
}

/* Modal Form Controls */
.modal .modal-content .form-control,
.modal .modal-content .form-select,
.modal .modal-content select,
.modal .modal-content input[type="text"],
.modal .modal-content input[type="email"],
.modal .modal-content input[type="password"],
.modal .modal-content input[type="number"],
.modal .modal-content input.form-control,
.modal-dialog .modal-content .form-control,
.modal-dialog .modal-content input {
    background: rgb(255 255 255 / 80%);
    border: 1px solid rgb(183 134 41);
    border-radius: 10px !important;
    padding: 12px 16px !important;
    color: #333 !important;
    height: auto !important;
    width: 100% !important;
    margin: 5px 0 !important;
    font-size: 18px !important;
}

.modal .modal-content input:disabled,
.modal .modal-content input[disabled],
.modal .modal-content .form-control:disabled {
    background: rgb(255 255 255 / 50%) !important;
    border: 1px solid rgb(183 134 41 / 50%) !important;
    color: #666 !important;
    cursor: not-allowed;
}

.modal .modal-content .form-control:focus,
.modal .modal-content .form-select:focus,
.modal .modal-content select:focus,
.modal .modal-content input:focus {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgb(183 134 41) !important;
    box-shadow: 0 0 0 0.2rem rgba(183, 134, 41, 0.25) !important;
}

.modal .modal-content .form-control::placeholder,
.modal .modal-content input::placeholder {
    color: #666 !important;
}

.modal-content .position-relative span[for="usd"],
.modal-content .position-relative>span:last-child {
    color: #333;
    font-weight: 500;
    padding-right: 15px;
}

/* Modal Buttons */
.modal-content .btn-primary,
.modal-content .golden-btn {
    background: linear-gradient(180deg, #d7a94f 0%, #b68d43 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 30px !important;
}

.modal-content .btn-primary:hover,
.modal-content .golden-btn:hover {
    box-shadow: 0 4px 15px rgba(183, 134, 41, 0.4);
    transform: translateY(-1px);
}

.modal-content .btn-secondary {
    background: rgba(108, 117, 125, 0.8);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;

}

.modal-content .btn-secondary:hover {
    background: rgba(108, 117, 125, 1);
}

/* Modal Form Elements */
.modal-content .form-check-label {
    color: white;
}

.modal-content .form-group label {
    color: white;
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.modal-content #dynamic-minimum-display,
.modal-content #discount-code-info {
    color: var(--color-primary)
}

/* Modal Switch Toggle */
.modal-content .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    margin-right: 10px;
}

.modal-content .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.modal-content .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
    transition: 0.4s;
}

.modal-content .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
}

.modal-content input:checked+.slider {
    background-color: var(--color-primary);
}

.modal-content input:checked+.slider:before {
    transform: translateX(24px);
}

.modal-content .slider.round {
    border-radius: 26px;
}

.modal-content .slider.round:before {
    border-radius: 50%;
}

.form-control,
.form-select,
.select2-selection {
    border-radius: 10px !important;
    padding: 17px 16px;
    margin: 10px 0;
    font-size: 14px;
    background: rgb(255 255 255 / 80%);
    border: 1px solid rgb(183 134 41);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.856);
    border-color: rgb(183 134 41);
    box-shadow: 0 0 0 0.2rem rgba(var(--color-primary-rgb), 0.15);
}

/* Password Toggle Eye Icon */
.eye-icon,
.form-group.eye-icon {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--color-accent);
    width: 20px;
    text-align: center;
    font-size: 16px;
    line-height: 1;
    transition: color 0.2s ease;
    z-index: 10;
}

.toggle-password:hover {
    color: var(--color-primary);
}

/* Custom Dropdown Arrow - Remove default and use down-chevron.svg */
select,
.form-select,
select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("../images/down-chevron.svg");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 20px;
    padding-right: 40px;
    cursor: pointer;
}

/* Select2 Custom Arrow */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none;
}

.select2-container--default .select2-selection--single {
    background-image: url("../images/down-chevron.svg");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 20px;
    padding-right: 40px !important;
}

/* Select2 Focus Styles - Golden color */
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default .select2-selection--single:focus {
    border-color: rgb(183 134 41) !important;
    box-shadow: 0 0 0 0.2rem rgba(183, 134, 41, 0.15) !important;
}

/* Remove Number Input Spinners */
input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"]::-moz-inner-spin-button,
input[type="number"]::-moz-outer-spin-button {
    -moz-appearance: none;
    margin: 0;
}

/* Registration Page Background */
.registration-banner {
    background-image: url("../images/register_bg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

.registration-section {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding-top: 120px !important;
}

/* Registration Card - Glassmorphism Effect */
.registration-card {
    background: rgb(255 255 255 / 37%);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 35px;
    box-shadow: 0 8px 32px rgb(0 0 0 / 21%);
    padding-top: 50px;
}

.registration-logo {
    top: -50px;
}

.registration-content h2 {
    color: white;
    font-size: 28px;
    font-weight: 500;
}

.registration-content .form-control {
    background: rgb(255 255 255 / 80%);
}

.registration-content .form-control,
.registration-content .form-select {
    padding: 17px 16px !important;
    border-radius: 10px !important;
    border: 1px solid rgb(183 134 41) !important;
}

.registration-content .form-select {
    padding-right: 40px;
}

.registration-content .form-select,
.registration-content select.form-control {
    background: rgb(255 255 255 / 80%) url(../images/down-chevron.svg) no-repeat right 8px center;
    background-size: 20px;
    border: 1px solid rgb(183 134 41);
}

.registration-content .form-control:focus {
    background: rgba(255, 255, 255, 0.856);
    border-color: rgb(183 134 41);
}

.registration-content .form-select:focus,
.registration-content select.form-control:focus {
    background: rgba(255, 255, 255, 0.856) url(../images/down-chevron.svg) no-repeat right 8px center;
    background-size: 20px;
    border-color: rgb(183 134 41);
}

.registration-content .golden-btn,
.registration-content .btn-primary {
    background-color: var(--color-primary);
    border: none;
    padding: 12px 40px;

    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.registration-content .golden-btn:hover,
.registration-content .btn-primary:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}


/* Dashboard Section Background */

section.dashboard.container-lg {
    background-image: url(../images/dashboard_bg.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 160px !important;
    max-height: 300px !important;
    border-radius: 18px;
    margin-top: 30px;
    padding: 20px;
    margin-bottom: -200px;
    position: relative;
    overflow: hidden;
    z-index: 0;
}


section.dashboard.container-lg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #fdfeffa3 -51%, #0a1166e8 82%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}




section.dashboard.container-lg>* {
    position: relative;
    z-index: 2;
}

.toast-message {
    line-height: 1.2 !important;
}


.dashboard-page .nav-item.active .nav-link {
    font-weight: 500 !important;
}

.dashboard-title {
    color: white;
    font-size: 35px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Dashboard Buy Button in Header */
.dashboard-buy-btn {
    margin-top: 50px;
    padding: 12px 30px;
    font-size: 16px;
}

/* Dashboard Overview Blocks */
.overview-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.overview-block {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    border-radius: 20px;
    padding: 20px 25px;
    flex: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    align-items: center;
    gap: 15px;
    min-width: 410px;
}

.overview-icon img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    border-radius: 15px;
}





.overview-text {
    flex: 1;
}

.overview-label {
    font-size: 18px;
    color: var(--color-primary);
    font-weight: 600;
}

.overview-value {
    font-size: 30px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.overview-value .profitePer {
    font-size: 14px;
    margin-left: 8px;
}

/* Profile Blocks - Same style as Overview */
.profile-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.profile-block {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px 25px;
    min-width: 280px;
    flex: 1;

    align-items: flex-start;
    gap: 15px;
}

.profile-icon {
    flex-shrink: 0;
}

.profile-icon img {
    width: 60px;
    height: 60px;
}

.profile-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    gap: 15px;
}

.profile-label {
    font-size: 20px;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 10px;
}

.profile-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 5px;
}

.profile-status.approved {
    background: #d4edda;
    color: #155724;
}

.profile-status.uploaded {
    background: #d1ecf1;
    color: #0c5460;
}

.profile-status.pending-db {
    background: #fff3cd;
    color: #856404;
}

.profile-status.rejected {
    background: #f8d7da;
    color: #721c24;
}

.profile-btn {
    padding: 8px 20px;
    font-size: 14px;
    width: fit-content;
}

/* Investment Phases / Tranche Grid */
.tranche-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.tranche-box {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 28px;
    min-width: 280px;
    border: 1px solid rgba(183, 134, 41, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}


.tranche-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(183, 134, 41, 0.15);
    border-color: rgba(183, 134, 41, 0.3);
}

.tranche-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-accent);
    margin: 0;
    letter-spacing: -0.5px;
}

.tranche-box hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(183, 134, 41, 0.3), transparent);
    margin: 18px 0;
}

.tranche-box p {
    margin-bottom: 6px;
    color: #555;
    font-size: 15px;
}

.tranche-box .fw-bold {
    color: var(--color-accent);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-div {
    display: flex;
    align-items: center;
}

.status-span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status-span.closed-status {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

.status-span.open-status {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: white;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 2px 8px rgba(183, 134, 41, 0.3);
    }

    50% {
        box-shadow: 0 4px 20px rgba(183, 134, 41, 0.5);
    }
}

/* Dashboard Bottom Bar */




.transactions-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn:first-child:active:focus-visible,
.nav-link:focus-visible,
.btn:focus-visible {
    box-shadow: none !important;
}

.dashboard-bottom-bar {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-top: 40px !important;
    margin-bottom: 0 !important;
    margin-bottom: 30px;
    border-top: 1px solid #80808078;
}

/* Glass Effect Class */
.glass-panel {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    border-radius: 20px;
}

/* Investor page */

.investor-page .nav-tabs .nav-item .nav-link {
    width: auto !important;
}

.investor-page .dashboard.container-lg::before {
    background: linear-gradient(0deg, #fdfeffa3 -51%, #3f2900 82%) !important;
}