/* ===== Look & feel from the design ===== */

.amr-wrap {
    padding: 44px 0 28px;
}

.amr-frame {
    max-width: 100%;
    margin: 0 auto;
    background: #cfc8ee;
    border-radius: 40px;
    padding: 14px;
}

.amr-panel {
    background: #ffffff;
    border-radius: 28px;
    padding: 10px 15px;
}

.amr-row {
    display: flex;
    align-items: center;
}


/* Filters as dropdown toggles */

.amr-filter.dropdown-toggle {
    font-size: 17px;
    font-weight: 300;
    color: #8c90a1;
    line-height: 1;
    padding: 6px 28px;
    white-space: nowrap;
    position: relative;
    cursor: pointer;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.amr-filter:first-child {
    padding-left: 18px;
}

.amr-filter:focus {
    outline: none;
    box-shadow: none;
}

.amr-filter::after {
    display: none;
}


/* hide BS caret */

.amr-filter .caret {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 10px;
    border-right: 2px solid #b8bcc8;
    border-bottom: 2px solid #b8bcc8;
    transform: rotate(45deg);
    position: relative;
    top: -2px;
}


/* Dividers */

.amr-div {
    width: 1px;
    height: 32px;
    background: #d9dbe5;
    opacity: .95;
}


/* Dropdown menus */

.amr-dd {
    min-width: 260px;
    border: 1px solid #e7e8f0;
    border-radius: 12px;
    padding: 8px;
}

.amr-dd .dropdown-item {
    font-size: 16px;
    color: #4a4e59;
    border-radius: 8px;
}

.amr-dd .dropdown-item:hover,
.amr-dd .dropdown-item:focus {
    background: #f2f5ff;
    color: #1a1f2b;
}

.amr-dd .dropdown-item.active {
    background: #e7f4ff;
    color: #0095DA;
}


/* Search button */

.amr-searchbtn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0095DA;
    color: #fff;
    border: 0;
    padding: 18px 44px;
    border-radius: 18px;
    font-size: 17px;
    line-height: 1;
    transition: transform .05s ease-in-out;
}

.amr-searchbtn:active {
    transform: translateY(1px);
}

.amr-searchbtn svg {
    width: 26px;
    height: 26px;
    margin-right: 14px;
}


/* Popular searches */

.amr-pop {
    max-width: 1320px;
    margin: 16px auto 0;
    text-align: left;
    font-size: 16px;
    font-weight: 300;
}

.amr-pop b {
    font-weight: 600;
}

.amr-pop a {
    color: #fff;
    text-decoration: underline;
}

.amr-pop a:hover {
    color: #d6efff;
    text-decoration: none;
}

.amr-pop .sep {
    color: #cfd2ff;
    padding: 0 .1rem;
}


/* Responsive */

@media (max-width:1199.98px) {
    .amr-filter {
        font-size: 20px;
        padding: 6px 20px;
    }
    .amr-searchbtn {
        font-size: 20px;
        padding: 16px 34px;
    }
}

@media (max-width:767.98px) {
    .amr-panel {
        padding: 16px;
    }
    .amr-row {
        flex-wrap: wrap;
    }
    .amr-div {
        display: none;
    }
    .amr-filter {
        padding: 10px 12px;
        font-size: 18px;
    }
    .amr-searchbtn {
        width: 100%;
        margin-top: 8px;
    }
    .amr-pop {
        text-align: center;
        font-size: 18px;
    }
}

.amr-blue-bg {
    background-color: #2E3192;
    color: #fff;
}

.tp-text-common-blue-1 {
    color: #2E3192;
}

.tp-faq-cst-tag .cst-btn-1,
.tp-faq-cst-tag .cst-btn-2,
.tp-faq-cst-tag .cst-btn-3,
.tp-faq-cst-tag .cst-btn-4,
.tp-faq-cst-tag .cst-btn-5 {
    background: #2E3192;
    color: #fff;
}

.tp-bg-gray {
    background: #e9eaed;
}

.amr-tools {
    padding: 100px 0 80px;
    color: #2E3192;
}

.amr-tools .container {
    max-width: 1220px;
}


/* keeps left margin similar to comp */


/* Heading + intro (left aligned) */

.amr-tools .heading {
    font-weight: 800;
    font-size: 40px;
    line-height: 1.05;
    margin-bottom: 18px;
    letter-spacing: .2px;
    color: #2E3192;
}

.amr-tools .intro {
    max-width: 820px;
    font-size: 16px;
    line-height: 1.65;
    color: #2E3192;
    margin-bottom: 48px;
    margin-top: 40px
}


/* Cards row */

.amr-tools .tool-card {
    border: 1px solid #c9ccd7;
    border-radius: 22px;
    padding: 34px 28px;
    height: 100%;
    transition: box-shadow .15s ease, transform .15s ease;
}

.amr-tools .tool-card:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
    transform: translateY(-2px);
}

.amr-tools .card-line {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}


/* Icon, title, meta */

.amr-tools .tool-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex: 0 0 auto;
}

.amr-tools .tool-title {
    font-size: 18px;
    color: #22246d;
    margin: 4px 0 8px;
}

.amr-tools .tool-meta {
    font-size: 14px;
    color: #2E3192;
}


/* Spacing between cards like comp */

@media (min-width: 992px) {
    .amr-tools .g-custom {
        row-gap: 28px;
    }
}

@media (max-width: 991.98px) {
    .amr-tools {
        padding: 70px 0;
    }
    .amr-tools .heading {
        font-size: 44px;
    }
    .amr-tools .intro {
        margin-bottom: 36px;
    }
}


.amr-bg-img{
    background-image: url(../images/AMR.png);
    background-repeat: no-repeat;
    background-position: 0 85%;
    background-size: 70%;
}

.tp-text-common-blue-2{
    color:#0095DA;
}


.amr-subscribe {
    --panel-bg: #bfe3ff;      /* light blue panel */
    --ink: #2e2f87;           /* deep indigo text */
    --cta: #2d2e86;           /* CTA pill color */
    --radius: 24px;

    color: var(--ink);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}
.amr-subscribe .panel {
    background: var(--panel-bg);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

/* Left content */
.amr-subscribe .title {
    font-weight: 800;
    font-size: 40px;
    line-height: 1.05;
    margin-bottom: 10px;
    color: #2E3192;

}
.amr-subscribe .lead {
    font-size: 20px;
    line-height: 1.6;
    color: var(--ink);
    opacity: .95;
    margin-bottom: 36px;
}

/* CTA Pill */
.amr-subscribe .btn-cta {
    background: var(--cta);
    color: #fff;
    border: 0;
    padding: 16px 28px;
    border-radius: 999px;
    letter-spacing: .3px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    box-shadow: none;
}
.amr-subscribe .btn-cta:focus { box-shadow: 0 0 0 .2rem rgba(45,46,134,.2); }
.amr-subscribe .btn-cta svg {
    width: 22px; height: 22px; flex: 0 0 auto;
    transition: transform .12s ease-in-out;
}
.amr-subscribe .btn-cta:hover svg { transform: translateX(4px); }

/* Right illustration area */
.amr-subscribe .illustration {
    min-height: 220px;        /* maintains height; image defines final height on lg */
    border-radius: calc(var(--radius) - 6px);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
}

.amr-subscribe .stay-up-to-date{
    padding: 56px 56px;
}

.amr-subscribe .illustration {
    background-image: url('../images/image-11.png');
    background-size: cover;
}

/* Tighten layout on smaller screens */
@media (max-width: 991.98px){
    .amr-subscribe .panel { padding: 40px 28px; }
    .amr-subscribe .title { font-size: 40px; }
    .amr-subscribe .lead  { font-size: 18px; margin-bottom: 28px; }
    .amr-subscribe .illustration { display:none; } /* hide image to prioritize text */
}


.amr-submenu {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;                        /* covers part of the width, aligned to right */
    background: #0095DA;               /* blue background */
    z-index: 10;
    padding: 1.5em 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-bottom-left-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* === Navigation items === */
.amr-submenu .nav {
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.amr-submenu .nav-link {
    color: #fff;
    font-size: 17px;
    position: relative;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    opacity: 0.95;
}

.amr-submenu .nav-link:hover,
.amr-submenu .nav-link:focus {
    opacity: 1;
}

/* === Active white underline === */
.amr-submenu .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: -24px;
    height: 4px;
    background: #fff;
    border-radius: 2px;
}

/* === Responsive adjustments === */
@media (max-width: 991.98px) {
    .amr-submenu {
        width: 100%;
        border-radius: 0;
        overflow-x: auto;
        white-space: nowrap;
    }
}