:root {
    --bg-main: #071421;
    --bg-soft: #0d1c2b;
    --bg-card: rgba(13, 28, 43, 0.88);
    --brand: #1db56c;
    --brand-dark: #13965a;
    --text-main: #f2f7fb;
    --text-muted: #a9bdc9;
    --border-soft: rgba(255, 255, 255, 0.08);
    --shadow-main: 0 24px 50px rgba(0, 0, 0, 0.25);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, #06111c 0%, #091826 100%);
    color: var(--text-main);
}

a {
    text-decoration: none;
}

.site-header {
    background: rgba(5, 16, 26, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-brand {
    color: var(--text-main);
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), #41d18d);
    box-shadow: 0 12px 30px rgba(29, 181, 108, 0.35);
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-text {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff;
}

.brand-subtext {
    color: var(--text-muted);
    font-size: 0.76rem;
}

.navbar .nav-link {
    color: #dce8f0;
    font-weight: 500;
    padding: 0.7rem 0.95rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--brand);
}

.btn-brand,
.btn-outline-brand,
.btn-login {
    border-radius: 12px;
    padding: 0.8rem 1.3rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

.btn-brand {
    background: linear-gradient(135deg, var(--brand), #35c97f);
    border: 1px solid transparent;
    color: #fff;
}

.btn-brand:hover {
    background: linear-gradient(135deg, #21c777, var(--brand-dark));
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-brand {
    border: 1px solid rgba(29, 181, 108, 0.5);
    color: #dff8eb;
    background: transparent;
}

.btn-outline-brand:hover {
    background: rgba(29, 181, 108, 0.1);
    color: #fff;
}

.btn-login {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-login:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.11);
}

.hero-section {
    padding: 92px 0 74px;
    position: relative;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.35;
    pointer-events: none;
}

.hero-shape-1 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(29, 181, 108, 0.45), transparent 65%);
    top: 10px;
    right: 9%;
}

.hero-shape-2 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(62, 112, 255, 0.25), transparent 70%);
    left: 4%;
    bottom: 20px;
}

.eyebrow-badge,
.section-label {
    display: inline-block;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(29, 181, 108, 0.12);
    border: 1px solid rgba(29, 181, 108, 0.2);
    color: #9ce7bf;
    font-weight: 700;
    font-size: 0.84rem;
    letter-spacing: 0.03em;
}

.hero-title,
.section-title,
.cta-title {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1.08;
    font-weight: 800;
    margin: 0;
}

.section-title,
.cta-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.hero-text,
.section-text,
.cta-text {
    color: var(--text-muted);
    font-size: 1.04rem;
    line-height: 1.8;
    max-width: 640px;
}

.hero-visual-card,
.problem-solution-card,
.module-card,
.impact-card,
.cta-panel {
    background: linear-gradient(180deg, rgba(15, 31, 47, 0.95), rgba(10, 22, 35, 0.98));
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-main);
}

.hero-visual-card {
    border-radius: 26px;
    padding: 20px;
}

.showcase-slide {
    min-height: 420px;
    border-radius: 22px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.showcase-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 17, 28, 0.1), rgba(6, 17, 28, 0.72));
}

.showcase-slide > * {
    position: relative;
    z-index: 2;
}

.sales-slide {
    background: linear-gradient(135deg, rgba(29, 181, 108, 0.15), rgba(8, 22, 35, 0.9)), radial-gradient(circle at top right, rgba(53, 201, 127, 0.35), transparent 35%), #0c1c2b;
}

.service-slide {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(8, 22, 35, 0.9)), radial-gradient(circle at top right, rgba(59, 130, 246, 0.28), transparent 35%), #0c1c2b;
}

.finance-slide {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(8, 22, 35, 0.9)), radial-gradient(circle at top right, rgba(245, 158, 11, 0.22), transparent 35%), #0c1c2b;
}

.hr-slide {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.16), rgba(8, 22, 35, 0.9)), radial-gradient(circle at top right, rgba(168, 85, 247, 0.24), transparent 35%), #0c1c2b;
}

.slide-tag {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.84rem;
    font-weight: 700;
    color: #fff;
}

.showcase-slide h3 {
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    max-width: 490px;
}

.showcase-slide p {
    color: #dde8ef;
    font-size: 1rem;
    max-width: 490px;
    line-height: 1.7;
}

.slide-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.slide-metrics span {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 0.95rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
}

.custom-indicators {
    bottom: -8px;
}

.custom-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background-color: rgba(255, 255, 255, 0.35);
}

.hero-points .mini-stat-card {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.mini-stat-number {
    font-size: 1.55rem;
    font-weight: 800;
    color: #fff;
}

.mini-stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.section-block {
    padding: 82px 0;
}

.section-dark-alt {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

.section-heading {
    max-width: 780px;
}

.problem-solution-card,
.module-card,
.impact-card {
    border-radius: 22px;
    padding: 28px;
    height: 100%;
}

.problem-solution-card h3,
.module-card h3,
.impact-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.problem-solution-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-muted);
    line-height: 1.9;
}

.solution-card {
    border-color: rgba(29, 181, 108, 0.25);
}

.module-card {
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.module-card:hover {
    transform: translateY(-5px);
    border-color: rgba(29, 181, 108, 0.35);
}

.module-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(29, 181, 108, 0.12);
    border: 1px solid rgba(29, 181, 108, 0.22);
    color: #9ce7bf;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.module-card p,
.impact-card p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.module-link {
    color: #a7f0c8;
    font-weight: 700;
}

.module-card-addmore {
    border-style: dashed;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.impact-number {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--brand);
    font-weight: 800;
    letter-spacing: 0.08em;
}

.cta-panel {
    border-radius: 26px;
    padding: 38px;
    position: relative;
    overflow: hidden;
}

.cta-panel::before {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    right: -80px;
    top: -70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29, 181, 108, 0.18), transparent 70%);
}

.site-footer {
    padding: 36px 0 28px;
    background: #050f18;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copy,
.footer-bottom,
.footer-bottom a {
    color: var(--text-muted);
}

.footer-links a,
.linkedin-link {
    color: #dce8f0;
}

.footer-links a:hover,
.linkedin-link:hover,
.footer-bottom a:hover {
    color: var(--brand);
}

.linkedin-link {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 68px;
    }

    .showcase-slide {
        min-height: 350px;
        padding: 26px;
    }

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

@media (max-width: 767.98px) {
    .hero-title,
    .section-title,
    .cta-title {
        line-height: 1.15;
    }

    .hero-visual-card {
        padding: 14px;
    }

    .showcase-slide {
        min-height: 320px;
        border-radius: 18px;
    }

    .section-block {
        padding: 64px 0;
    }

    .problem-solution-card,
    .module-card,
    .impact-card,
    .cta-panel {
        padding: 22px;
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
}


/* ===== Module Selector Cards (Admin > Organizations) ===== */

.modules-box {
    grid-column: 1 / -1;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 20px;
}

.modules-box .section-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: block;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.module-card-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-soft);
    cursor: pointer;
    transition: all .2s ease;
    font-weight: 600;
    color: var(--text-main);
}

.module-card-option:hover {
    border-color: var(--brand);
    background: rgba(29,181,108,0.08);
}

.module-card-option input {
    width: 18px;
    height: 18px;
    accent-color: var(--brand);
    flex: 0 0 auto;
}

.module-card-option span {
    display: block;
    line-height: 1.2;
}

@media (max-width: 991.98px) {
    .module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .module-grid {
        grid-template-columns: 1fr;
    }
}
