/* index.htm page-specific styles — loaded LAST on purpose
   Extracted from the inline <style> block that used to sit at the end of
   index.htm's <head>, right before </head>. It must stay linked AFTER
   open-sans-global.css, compare-services.css, compare-services-jp.css,
   editor-profiles.css and video.css so its overrides of those files keep winning
   the cascade — do not move this <link> earlier in <head>. */

/* Indonesia (index.htm ONLY): page CTAs use the enago.com blue button
   (#147fd4 + 4px #0281a8 bottom edge, lift on hover) instead of the
   red from the shared new_home_page.css. The banner CTA (.vh-btn)
   keeps its own style on purpose. */
.new_mid_cta {
    background: #147fd4;
    -webkit-box-shadow: 0 4px 0 #0281a8;
    box-shadow: 0 4px 0 #0281a8;
    transition: transform .4s ease, box-shadow .4s ease;
    -webkit-transition: transform .4s ease, box-shadow .4s ease;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 45px;
    border-bottom: none;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    z-index: 0;
    isolation: isolate;
}

/* right-to-left fill on hover, same slide technique as .vh-btn (css/video.css).
   #0f5f9f is #147fd4 darkened ~25% — a shade of the button's own blue, not
   an unrelated color. */
.new_mid_cta::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #0f5f9f;
    transform: translateX(100%);
    transition: transform .35s ease;
}

.new_mid_cta:focus::before,
.new_mid_cta:hover::before {
    transform: translateX(0);
}

.new_mid_cta:focus,
.new_mid_cta:hover {
    /* pin the blue here — new_home_page.css's .new_mid_cta:hover sets
       background-color: #b71d11 (red) and, being the same specificity,
       it would otherwise still win for this one property */
    background-color: #147fd4;
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .17);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .17);
}

/* Indonesia (index.htm ONLY): FAQ accordion restyled to match the
   enago.com home-page FAQ — no Bootstrap panel boxes, just a centered
   ~790px column of rows with a bottom hairline, semibold question and
   a +/− toggle on the right (Bootstrap toggles .collapsed on the <a>). */
.newqna #qna-accordion {
    max-width: 890px;
    margin: 0 auto;
}

.newqna #qna-accordion .panel,
.newqna #qna-accordion .panel-heading,
.newqna #qna-accordion .panel-body {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.newqna #qna-accordion .panel+.panel {
    margin-top: 0;
}

/* enago.com puts the hairline under the QUESTION row (so it sits
   between question and answer while open — not after the answer).
   padding-bottom 0 !important also undoes open-sans-global.css's
   forced 5px heading padding. */
.newqna #qna-accordion .panel-heading {
    padding-bottom: 0 !important;
    border-bottom: 1px solid #D9D8D8;
}

.newqna #qna-accordion .panel-title {
    margin: 0!important;
}

/* !importants beat open-sans-global.css's "FONT ONLY" FAQ block
   (16px/400 !important), which predates this enago.com restyle */
.newqna #qna-accordion .panel-title a {
    position: relative;
    display: block;
    padding: 18px 40px 18px 12px;
    font-size: 18px !important;
    line-height: 24px !important;
    font-weight: 600 !important;
    color: #1D1D1D;
    text-decoration: none;
    transition: background-color .15s ease;
}

/* clicking leaves the <a> focused — keep focus styling neutral so the
   row doesn't look "stuck"; no background here on purpose */
.newqna #qna-accordion .panel-title a:focus {
    color: #1D1D1D;
    text-decoration: none;
}

/* enago.com-style hover: light gray band across the whole row —
   hover only (plus keyboard focus via :focus-visible) */
.newqna #qna-accordion .panel-title a:hover,
.newqna #qna-accordion .panel-title a:focus-visible {
    color: #1D1D1D;
    text-decoration: none;
    background-color: #F5F5F5;
}

/* font-family overrides new_home_page.css's FontAwesome chevron */
.newqna #qna-accordion .panel-title a:after {
    content: "\2212";
    /* − while open */
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-family: inherit;
    font-size: 22px;
    font-weight: 400 !important;
    line-height: 1;
    color: #1D1D1D;
}

.newqna #qna-accordion .panel-title a.collapsed:after {
    content: "+";
}

.newqna #qna-accordion .panel-body {
    border-top: none;
    padding: 14px 40px 22px 12px !important;
    font-size: 16px;
    line-height: 26px;
    color: #212529;
}

@media (max-width: 767px) {
    .newqna #qna-accordion .panel-title a {
        padding: 15px 34px 15px 10px;
        font-size: 16px !important;
        line-height: 22px !important;
    }

    .newqna #qna-accordion .panel-body {
        padding-right: 0 !important;
    }
}

/* Indonesia (index.htm ONLY): 80px of air between the editor-profiles
   pager and the beige accepted-papers band that follows it — spacing is
   a home-page layout concern, so it lives here, not in the shared
   editor-profiles component css */
.editor-2row.editor-profiles {
    margin-bottom: 80px;
}

/* Indonesia (index.htm ONLY): "Kemitraan Enago" — partner-section
   Figma redesign with bottom-right corner bleeding illustration images */
.partner-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.partner-section .lv1 {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 36px !important;
    line-height: 44px !important;
    font-weight: 600 !important;
    color: #000000 !important;
    text-align: center !important;
    margin-bottom: 12px !important;
}

.partner-section .lv3 {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 20px !important;
    line-height: 30px !important;
    font-weight: 400 !important;
    color: #283341 !important;
    text-align: center !important;
    margin-bottom: 50px !important;
}

.partner-section .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.partner-section .card {
    background: #FFFFFF;
    border: 1px solid #EFEFEF;
    border-radius: 22px;
    padding: 32px 28px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    min-height: 284px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.partner-section .card-content {
    max-width: 320px;
    z-index: 2;
    position: relative;
}

.partner-section .card h3 {
    margin: 0 0 16px !important;
}

.partner-section .card p {
    margin: 0 0 24px !important;
}

.partner-section .card a.partner-link {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 600 !important;
    color: #214CFF !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.partner-section .card-img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 250px;
    height: 220px;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    transform: scaleX(-1);
}

.partner-section .card-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: bottom right;
    display: block;
}

@media (max-width: 1199px) {
    .partner-section .card-content {
        max-width: 280px;
    }

    .partner-section .card-img {
        width: 210px;
        height: 190px;
    }
}

@media (max-width: 991px) {
    .partner-section .grid {
        grid-template-columns: 1fr;
    }

    .partner-section .card-content {
        max-width: 65%;
    }

    .partner-section .card-img {
        width: 240px;
        height: 210px;
    }
}

@media (max-width: 576px) {
    .partner-section .card {
        padding: 24px;
        min-height: auto;
    }

    .partner-section .card-content {
        max-width: 100%;
    }

    .partner-section .card-img {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        height: 180px;
        margin-top: 16px;
        justify-content: center;
    }

    .partner-section .card-img img {
        object-position: center;
    }
}

/* Indonesia (index.htm ONLY): mobile side-to-side jitter — the
   editor-profiles and accepted-papers/testimonial arrows sit outside
   their container (left/right negative offsets) and poke past the
   viewport. Same fix already applied on the service pages in
   css/services.css (the Hariom block) */
@media only screen and (max-width: 600px) {

    /* Hariom */
    .editor-2row .e2r-next {
        right: 0 !important;
    }

    .editor-2row .e2r-prev {
        left: 0 !important;
    }

    .tap-t-card {
        flex-wrap: wrap;
        justify-content: center;
    }

    .tap-nav {
        position: absolute;
        left: 0;
        right: 0;
        width: 36%;
        justify-content: center;
        margin: 0 auto;
    }

    .tap-testi {
        padding: 60px 0 50px !important;
    }

    /* End */
}

/* Indonesia (index.htm ONLY): home banner (#carouselExample) prev/next arrows.
   Same circular-button (.e2r-nav) formatting as includes/inc_editor_profiles.htm
   (css/editor-profiles.css) — white disc, soft shadow, same chevron glyphs,
   flipped for RTL the same way. One difference on purpose: the editor cards
   sit in a padded .container, so their -15px offset lands flush with the page
   edge; this hero is edge-to-edge with no side gutter, so the same -15px
   would push the buttons past the viewport and cause horizontal scroll —
   pulled in to 15px inside the edge instead, aligned left and right. */
#carouselExample {
    position: relative;
}

#carouselExample .hero-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    padding: 0 0 4px 0;
}

#carouselExample .hero-carousel-prev {
    inset-inline-start: 15px;
}

#carouselExample .hero-carousel-next {
    inset-inline-end: 15px;
}

[dir="rtl"] #carouselExample .hero-carousel-nav {
    transform: translateY(-50%) scaleX(-1);
}

@media only screen and (max-width: 600px) {
    #carouselExample .hero-carousel-prev {
        inset-inline-start: 8px;
    }

    #carouselExample .hero-carousel-next {
        inset-inline-end: 8px;
    }
}
