:root {
    --heemagar-blue: #0f96ff;
    --heemagar-deep: #001a4d;
    --heemagar-ice: #eef7ff;
    --heemagar-ink: #233a63;
    --heemagar-gradient: linear-gradient(135deg, #e9f7ff 0%, #dff1ff 45%, #cfeaff 100%);
}

.heemagar-section {
    padding: 80px 0;
    position: relative;
}

.heemagar-section::before {
    background: radial-gradient(circle at top right, rgba(15, 150, 255, 0.1), transparent 45%);
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.heemagar-section > .container {
    position: relative;
    z-index: 1;
}

.heemagar-eyebrow {
    color: var(--heemagar-blue);
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.heemagar-title,
.heemagar-section-title {
    color: var(--heemagar-deep);
    font-size: clamp(30px, 3.3vw, 54px);
    line-height: 1.15;
    margin-bottom: 18px;
    text-transform: none;
}

.heemagar-section-title {
    font-size: clamp(28px, 2.8vw, 42px);
}

.heemagar-description,
.heemagar-section-description {
    color: var(--heemagar-ink);
    font-size: 17px;
    margin-bottom: 20px;
}

.heemagar-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.heemagar-btn-primary {
    background: linear-gradient(120deg, var(--heemagar-deep) 0%, #002f8f 40%, var(--heemagar-blue) 100%);
}

.heemagar-btn-primary::before {
    background: rgba(255, 255, 255, 0.2);
}

.heemagar-btn-secondary {
    border-color: rgba(0, 53, 145, 0.3);
    color: var(--heemagar-deep);
}

.heemagar-benefit-strip {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.heemagar-benefit-strip span {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 104, 198, 0.2);
    border-radius: 999px;
    color: var(--heemagar-deep);
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
}

.heemagar-image-card {
    background: var(--heemagar-gradient);
    border: 1px solid rgba(0, 66, 165, 0.15);
    border-radius: 26px;
    box-shadow: 0 20px 70px rgba(0, 57, 156, 0.15);
    overflow: hidden;
    padding: 14px;
    transform: translateY(0);
    transition: transform 0.35s ease;
}

.heemagar-image-card:hover {
    transform: translateY(-4px);
}

.heemagar-image-card img {
    border-radius: 18px;
    display: block;
    width: 100%;
}

.heemagar-card,
.heemagar-list-card,
.heemagar-metric-card,
.heemagar-faq-item,
.heemagar-form-card {
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 83, 170, 0.14);
    border-radius: 18px;
    box-shadow: 0 14px 45px rgba(0, 45, 122, 0.1);
}

.heemagar-card {
    height: 100%;
    padding: 22px;
}

.heemagar-card h3,
.heemagar-list-card h3 {
    color: var(--heemagar-deep);
    font-size: 21px;
    margin-bottom: 8px;
    text-transform: none;
}

.heemagar-card p,
.heemagar-list-card p {
    color: #37527d;
    margin-bottom: 0;
}

.heemagar-card-icon {
    align-items: center;
    background: rgba(15, 150, 255, 0.12);
    border-radius: 12px;
    color: var(--heemagar-blue);
    display: inline-flex;
    font-size: 22px;
    height: 48px;
    justify-content: center;
    margin-bottom: 12px;
    width: 48px;
}

.heemagar-list-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.heemagar-list-card {
    padding: 20px;
}

.heemagar-dashboard-image-card {
    padding: 10px;
}

.heemagar-metric-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.heemagar-metric-card {
    padding: 18px;
}

.heemagar-metric-card strong {
    color: var(--heemagar-deep);
    display: block;
    font-size: 24px;
    line-height: 1;
}

.heemagar-metric-card span {
    color: #4d6691;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
    text-transform: uppercase;
}

.heemagar-checklist {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.heemagar-checklist li {
    background: rgba(15, 150, 255, 0.08);
    border-left: 4px solid var(--heemagar-blue);
    border-radius: 10px;
    color: var(--heemagar-deep);
    font-weight: 600;
    padding: 12px 14px;
}

.heemagar-cta {
    padding-bottom: 95px;
    padding-top: 95px;
}

.heemagar-cta-box {
    background: linear-gradient(140deg, rgba(0, 24, 72, 0.9), rgba(1, 44, 120, 0.9));
    border: 1px solid rgba(196, 225, 255, 0.3);
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(0, 19, 51, 0.35);
    padding: 42px;
    text-align: center;
}

.heemagar-cta-box .heemagar-eyebrow,
.heemagar-cta-box .heemagar-section-title,
.heemagar-cta-box .heemagar-section-description {
    color: #fff;
}

.heemagar-cta-box .heemagar-section-description {
    margin: 0 auto;
    max-width: 860px;
}

.heemagar-cta-box .heemagar-button-row {
    justify-content: center;
}

.heemagar-faq .accordion-button {
    border-radius: 16px !important;
    box-shadow: none !important;
    color: var(--heemagar-deep);
    font-weight: 700;
}

.heemagar-faq .accordion-button:not(.collapsed) {
    background: rgba(15, 150, 255, 0.1);
}

.heemagar-faq .accordion-body {
    color: #38517b;
}

.heemagar-form-card {
    padding: 20px;
}

.heemagar-form-card .contact-form .contact-form-input,
.heemagar-form-card .contact-form textarea {
    background: #fff;
    border: 1px solid rgba(0, 90, 190, 0.22);
    border-radius: 10px;
}

.heemagar-form-card .contact-form .contact-button {
    background: linear-gradient(120deg, var(--heemagar-deep), var(--heemagar-blue));
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.heemagar-form-card .contact-form .contact-button:hover {
    background: linear-gradient(120deg, #003298, #28acff);
}

.heemagar-reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

.heemagar-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 991.98px) {
    .heemagar-section {
        padding: 60px 0;
    }

    .heemagar-list-grid,
    .heemagar-metric-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .heemagar-cta-box {
        padding: 28px;
    }
}

@media (max-width: 575.98px) {
    .heemagar-button-row {
        display: grid;
        width: 100%;
    }

    .heemagar-button-row .btn {
        justify-content: space-between;
        width: 100%;
    }
}

/* Mobile overflow guard for long Bangla labels and headings */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.main,
.main .ck-content,
.main .ck-content section,
.main .ck-content .container {
    max-width: 100%;
    overflow-x: hidden;
}

.breadcrumb-content .title,
.heemagar-section-title,
.heemagar-title {
    overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
    .container,
    .custom-container,
    .custom-container-two,
    .custom-container-three {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (max-width: 575.98px) {
    .header-style-three .menu-area .row,
    .header-style-three .menu-area .col-12.custom-header {
        --bs-gutter-x: 0;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
}
