:root {
    --dma-bg: #050505;
    --dma-bg-alt: #111111;
    --dma-card-bg: #151515;
    --dma-border: #2a2a2a;
    --dma-text: #f5f5f5;
    --dma-muted: #9f9f9f;
    --dma-yellow: #ffd600;
    --dma-yellow-soft: rgba(255, 214, 0, 0.16);
    --dma-danger: #ff4b4b;
    --dma-radius-lg: 18px;
    --dma-radius-xl: 24px;
    --dma-shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.6);
}



body.dma-body {
    background-color: var(--dma-bg);
    color: var(--dma-text);
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Navbar */
.dma-navbar {
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid var(--dma-border);
    backdrop-filter: blur(12px);
}

.dma-navbar .navbar-brand {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
}

.dma-logo-square {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--dma-yellow), #fff5a3);
    box-shadow: 0 0 20px rgba(255, 214, 0, 0.6);
}

.dma-navbar .nav-link {
    color: var(--dma-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dma-navbar .nav-link:hover,
.dma-navbar .nav-link.active {
    background: #111111;
    color: var(--dma-yellow);
    border-bottom: 1px solid rgba(255, 214, 0, 0.4);
    border-radius: 8px;
}

.dma-toggler {
    border-color: var(--dma-border);
}

/* Buttons */
.dma-btn-primary {
    background-color: var(--dma-yellow);
    border-color: var(--dma-yellow);
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(255, 214, 0, 0.4);
}

.border-btn{
    /* background-color: var(--dma-yellow); */
    border-color: var(--dma-yellow);
    color: var(--dma-yellow);
    font-weight: 700;
    border: 2px solid var(--dma-yellow);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(255, 214, 0, 0.4);
}

.border-btn:hover {
    background-color: #ffea55;
    border-color: #ffea55;
    color: #000;
}

.dma-btn-primary:hover {
    background-color: #ffea55;
    border-color: #ffea55;
    color: #000;
}

.dma-btn-outline {
    border-radius: 999px;
    border: 1px solid var(--dma-yellow);
    color: var(--dma-yellow);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.08em;
    background: transparent;
}

.dma-btn-outline:hover {
    background: var(--dma-yellow-soft);
    color: var(--dma-yellow);
}

/* Main spacing */
.dma-main {
    padding-top: 80px; /* to clear navbar */
}

/* HERO */
.dma-hero {
    padding: 4.5rem 0 3.5rem;
    background: radial-gradient(circle at top left, rgba(255, 214, 0, 0.18), transparent 60%),
                radial-gradient(circle at bottom right, rgba(255, 214, 0, 0.12), transparent 55%),
                linear-gradient(145deg, #030303, #050505);
}

.dma-hero-title {
    font-size: clamp(2.2rem, 4vw, 3.1rem);
    font-weight: 800;
}

.dma-highlight {
    color: var(--dma-yellow);
    text-shadow: 0 0 12px rgba(255, 214, 0, 0.6);
}

.dma-hero-subtitle {
    color: var(--dma-muted);
    font-size: 0.95rem;
    max-width: 32rem;
}

.dma-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--dma-yellow);
    background: rgba(255, 214, 0, 0.06);
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    border: 1px solid rgba(255, 214, 0, 0.4);
}

.dma-trust-row .dma-kpi-title {
    font-size: 1.5rem;
    font-weight: 800;
}

.dma-kpi-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--dma-muted);
}

/* Hero side card */
.dma-hero-card {
    background: rgba(10, 10, 10, 0.96);
    border-radius: var(--dma-radius-xl);
    padding: 1.8rem 1.6rem;
    border: 1px solid var(--dma-border);
    box-shadow: var(--dma-shadow-soft);
    position: relative;
}

.dma-hero-badge {
    position: absolute;
    top: -13px;
    left: 18px;
    background: #000;
    color: var(--dma-yellow);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 214, 0, 0.7);
}

.dma-input {
    background: #0c0c0c;
    border-radius: 999px;
    border: 1px solid var(--dma-border);
    color: var(--dma-text);
    font-size: 0.85rem;
}

.dma-input:focus {
    border-color: var(--dma-yellow);
    box-shadow: 0 0 0 0.1rem rgba(255, 214, 0, 0.25);
    background: #050505;
}

.dma-label-small {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--dma-muted);
}

/* Sections */
.dma-section {
    padding: 3.5rem 0;
}

.dma-section-alt {
    background: var(--dma-bg-alt);
}

.dma-section-title {
    font-size: 1.6rem;
    font-weight: 800;
}

.dma-section-subtitle {
    color: var(--dma-muted);
    font-size: 0.95rem;
    /* max-width: 30rem; */

}

.dma-section-center {
    padding-bottom: 4.5rem;
}

/* Cards */
.dma-card {
    background: var(--dma-card-bg);
    border-radius: var(--dma-radius-lg);
    padding: 1.4rem 1.3rem;
    border: 1px solid var(--dma-border);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.dma-card-text {
    color: var(--dma-muted);
    font-size: 0.9rem;
}

.dma-card-table {
    padding: 1.3rem;
}

/* Pills & links */
.dma-pill {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--dma-muted);
}

.dma-link,
.dma-link-sm {
    color: var(--dma-yellow);
    font-weight: 600;
    text-decoration: none;
}

.dma-link-sm {
    font-size: 0.82rem;
}

.dma-link:hover,
.dma-link-sm:hover {
    color: #ffea55;
}

/* List */
.dma-list {
    list-style: none;
    padding-left: 0;
    margin: 0.6rem 0 0;
    font-size: 0.85rem;
    color: var(--dma-muted);
}

.dma-list li::before {
    content: "•";
    margin-right: 0.3rem;
    color: var(--dma-yellow);
}

/* Table */
.dma-table thead tr {
    border-bottom: 1px solid var(--dma-border);
}

.dma-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--dma-muted);
}

.dma-table td {
    font-size: 0.85rem;
}

/* Testimonials */
.dma-carousel .carousel-control-prev-icon,
.dma-carousel .carousel-control-next-icon {
    filter: invert(1);
}

.dma-testimonial {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

.dma-quote {
    font-size: 0.95rem;
    color: var(--dma-text);
}

.dma-quote-meta {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

/* CTA Strip */
.dma-cta-strip {
    background: linear-gradient(135deg, var(--dma-yellow-soft), transparent);
    border-top: 1px solid var(--dma-border);
    border-bottom: 1px solid var(--dma-border);
    padding: 2rem 0;
}

/* Coaches */
.dma-coach-card {
    text-align: left;
}

.dma-avatar {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #fff, #ffd600);
    box-shadow: 0 0 26px rgba(255, 214, 0, 0.5);
}

/* Footer */
.dma-footer {
    background: #020202;
    border-top: 1px solid var(--dma-border);
}

.dma-footer-text {
    font-size: 0.85rem;
    color: var(--dma-muted);
}

.dma-footer-link {
    font-size: 0.78rem;
    color: var(--dma-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
}

.dma-footer-link:hover {
    color: var(--dma-yellow);
}

.dma-divider {
    border-color: var(--dma-border);
}

/* AI Button & Chat */
.dma-ai-button {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1040;
    background: #000;
    color: var(--dma-text);
    border-radius: 999px;
    border: 1px solid var(--dma-border);
    padding: 0.42rem 0.9rem;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
}

.dma-ai-button:hover {
    border-color: var(--dma-yellow);
}

.dma-ai-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: radial-gradient(circle, var(--dma-yellow), #ffea55);
    box-shadow: 0 0 12px rgba(255, 214, 0, 0.7);
}

.dma-modal {
    background: #050505;
    border-radius: 18px;
    border: 1px solid var(--dma-border);
}

.dma-chat-body {
    max-height: 320px;
}

.dma-chat-message {
    padding: 0.7rem 0.9rem;
    border-radius: 14px;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
}

.dma-chat-message-ai {
    background: #0c0c0c;
    border: 1px solid var(--dma-border);
}

.dma-chat-message-user {
    background: var(--dma-yellow-soft);
    border: 1px solid rgba(255, 214, 0, 0.4);
}

/* Util */
.dma-muted {
    color: var(--dma-muted);
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
    .dma-hero {
        padding-top: 4rem;
    }
}


/* Pricing */
.dma-pricing-card {
    position: relative;
}

.dma-pricing-card-featured {
    border-color: var(--dma-yellow);
    box-shadow: 0 20px 50px rgba(255, 214, 0, 0.25);
}

.dma-pricing-tag {
    position: absolute;
    top: -10px;
    right: 16px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    background: #000;
    border: 1px solid rgba(255, 214, 0, 0.8);
    color: var(--dma-yellow);
}

.dma-price {
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
}

.dma-price-main {
    font-size: 1.4rem;
    font-weight: 800;
}

.dma-price-sub {
    font-size: 0.8rem;
    color: var(--dma-muted);
}

.dma-mini-block {
    background: #080808;
    border-radius: 14px;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--dma-border);
}

.dma-info-box {
    background: rgba(255, 214, 0, 0.06);
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    border: 1px dashed rgba(255, 214, 0, 0.4);
}

/* Dashboard layout */
.dma-dashboard {
    margin-top: 0.5rem;
}

.dma-sidebar {
    border-right: 1px solid var(--dma-border);
    background: #050505;
    min-height: calc(100vh - 80px);
}

.dma-sidebar-inner {
    display: flex;
    flex-direction: column;
    padding: 1.3rem 1.1rem;
    gap: 1rem;
    position: sticky;
    top: 80px;
}

.dma-sidebar-header h6 {
    font-weight: 700;
}

.dma-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-top: 0.5rem;
}

.dma-sidebar-link {
    display: block;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--dma-muted);
    text-decoration: none;
}

.dma-sidebar-link:hover {
    background: #101010;
    color: var(--dma-text);
}

.dma-sidebar-link.active {
    background: #111111;
    color: var(--dma-yellow);
    border: 1px solid rgba(255, 214, 0, 0.4);
}

.dma-sidebar-footer {
    font-size: 0.85rem;
}

/* Dashboard main */
.dma-dashboard-main {
    min-height: calc(100vh - 80px);
    padding-left: 0;
    padding-right: 0;
}

.dma-topbar {
    padding: 1.2rem 1.5rem 0.8rem;
    border-bottom: 1px solid var(--dma-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: #050505;
    position: sticky;
    top: 80px;
    z-index: 10;
}

.dma-user-pill {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--dma-border);
    background: #0a0a0a;
    font-size: 0.8rem;
}

/* Stat cards */
.dma-stat-card {
    background: #0a0a0a;
    border-radius: 16px;
    padding: 0.9rem 1rem;
    border: 1px solid var(--dma-border);
}

.dma-stat-value {
    font-size: 1.3rem;
    font-weight: 800;
}

.dma-stat-badge {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--dma-muted);
}

/* Mini pipes */
.dma-mini-pipe {
    background: #080808;
    border-radius: 14px;
    padding: 0.7rem 0.8rem;
    border: 1px solid var(--dma-border);
}

/* AI panel */
.dma-ai-panel {
    background: #080808;
}

/* Responsive */
@media (max-width: 991.98px) {
    .dma-sidebar-inner {
        position: static;
        min-height: auto;
    }
    .dma-topbar {
        position: static;
    }
}

input{
    background: #0c0c0c !important;
    border-radius: 999px !important;
    border: 1px solid var(--dma-border) !important;
    color: var(--dma-text) !important;
    font-size: 0.85rem !important;
}

textarea{
    background: #0c0c0c !important;
    border-radius: 16px !important;
    border: 1px solid var(--dma-border) !important;
    color: var(--dma-text) !important;
    font-size: 0.85rem !important;
}


::placeholder {
    color: #8a8a8a !important;  
    opacity: 1; 
}


/* Scrollbar Track (background area) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* Background of the scrollbar track */
::-webkit-scrollbar-track {
    background: #0a0a0a; /* Dark track */
    border-radius: 10px;
}

/* Scrollbar thumb (the handle) */
::-webkit-scrollbar-thumb {
    background: #ffd600; /* Yellow thumb */
    border-radius: 10px;
    border: 2px solid #0a0a0a; /* adds gap effect */
}

/* On hover */
::-webkit-scrollbar-thumb:hover {
    background: #ffea55; /* lighter yellow */
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #ffd600 #0a0a0a;
}

.dma-kanban-col {
    background: #0a0a0a;
    border: 1px solid var(--dma-border);
    border-radius: 16px;
    padding: 0.8rem;
    min-height: 380px;
    box-shadow: var(--dma-shadow-soft);
}

.dma-kanban-card {
    background: #111;
    border-radius: 14px;
    border: 1px solid var(--dma-border);
    padding: 0.9rem 1rem;
    margin-bottom: 0.8rem;
    box-shadow: 0 10px 22px rgba(0,0,0,0.6);
    cursor: grab;
}
.dma-kanban-card:hover {
    border-color: var(--dma-yellow);
}



/* slider */
    /* Horizontal scroll container */
.dma-testimonial-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: auto; /* JS দিয়ে আমরা নিজে behaviour control করব */
    cursor: grab;
    padding-bottom: 0.5rem;
}

/* Card width গুলো */
.dma-testimonial-card {
    flex: 0 0 320px;   /* roughly React er w-[280-340px] মত */
    min-width: 320px;
}

/* Drag করলে cursor change */
.dma-testimonial-scroll.is-dragging {
    cursor: grabbing;
}

/* Scrollbar hide */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;  /* IE/Edge */
    scrollbar-width: none;     /* Firefox */
}

/* Responsive: মোবাইলে কার্ড ছোট হতে পারে */
@media (max-width: 576px) {
    .dma-testimonial-card {
        flex: 0 0 260px;
        min-width: 260px;
    }
}
.dma-testimonial-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    cursor: grab;
    scroll-behavior: auto; /* JS দিয়ে আমরা own behavior দিচ্ছি */
    padding-bottom: 0.5rem;
}

.dma-testimonial-scroll.is-dragging {
    cursor: grabbing;
}

/* Card width */
.dma-testimonial-card {
    flex: 0 0 320px;
    min-width: 320px;
}







/* ==========================
   DMA CUSTOM ALERT SYSTEM
   ========================== */

.dma-alert-container {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 70px;
}

/* Base alert box */
.dma-alert {
    min-width: 280px;
    max-width: 380px;
    padding: 14px 18px;
    border-radius: 18px;
    color: #fefefe;
    font-family: "Montserrat", system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: dmaAlertIn 0.45s ease forwards;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
    background: var(--dma-yellow-soft);
    backdrop-filter: blur(16px);
}

/* Left yellow accent bar */
.dma-alert::before {
    content: "";
    position: absolute;
    left: 0;
    top: -10px;
    bottom: -10px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffd600, #ffea70);
    box-shadow: 0 0 16px rgba(255, 214, 0, 0.65);
}

/* Icon circle */
.dma-alert-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Text block */
.dma-alert span {
    flex: 1;
    line-height: 1.45;
}

/* Close button */
.dma-alert .dma-close {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    opacity: 0.65;
    transition: 0.18s;
    padding-left: 4px;
}
.dma-alert .dma-close:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Types – শুধু subtle tint change + icon bg change */
.dma-alert-success .dma-alert-icon {
    background: rgba(46, 204, 113, 0.18);
    color: #2ecc71;
}
.dma-alert-error .dma-alert-icon {
    background: rgba(231, 76, 60, 0.18);
    color: #ff7675;
}
.dma-alert-warning .dma-alert-icon {
    background: rgba(255, 214, 0, 0.18);
    color: #ffd600;
}
.dma-alert-info .dma-alert-icon {
    background: rgba(52, 152, 219, 0.18);
    color: #74b9ff;
}

.dma-alert-success {
    box-shadow: 0 20px 45px rgba(39, 174, 96, 0.5);
}
.dma-alert-error {
    box-shadow: 0 20px 45px rgba(192, 57, 43, 0.55);
}
.dma-alert-warning {
    box-shadow: 0 20px 45px rgba(255, 214, 0, 0.55);
}
.dma-alert-info {
    box-shadow: 0 20px 45px rgba(41, 128, 185, 0.55);
}

/* Slide + fade */
@keyframes dmaAlertIn {
    from {
        opacity: 0;
        transform: translateX(40px) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes dmaAlertOut {
    from {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(40px) translateY(-10px);
    }
}

/* Mobile tweak */
@media (max-width: 576px) {
    .dma-alert-container {
        left: 12px;
        right: 12px;
        top: 12px;
    }
    .dma-alert {
        max-width: 100%;
    }
    .nav-btn{
        margin-top: 10px;
    }
}


@keyframes dmaAlertIn {
    0% {
        opacity: 0;
        transform: translateX(50px) translateY(-10px) scale(0.92);
        filter: blur(4px);
    }
    60% {
        opacity: 1;
        transform: translateX(-6px) translateY(0) scale(1.03);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}
