/* =========================================================
   Eternal Ghostwriting — Indent / Exit-Intent Form
   Brand: blue #0846b1 + gold #ffc412 + black
   File: assets/css/indent-custom.css
   Purani file DELETE / REPLACE → ye poori file PASTE
   ========================================================= */

:root {
    --egw-blue: #0846b1;
    --egw-blue-soft: #83b1ff;
    --egw-gold: #ffc412;
    --egw-black: #000000;
    --egw-ink: #0b1a33;
}

#ddexitpopwrapper {
    display: flex;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10000000000;
    pointer-events: none;
    align-items: center !important;
    justify-content: center !important;
}

#ddexitpopwrapper .veil {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(8, 18, 40, 0.82) !important;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    content: "";
    z-index: 1;
    display: none;
    cursor: default;
}

.ddexitpop,
#ddexitpop.ddexitpop {
    width: 100% !important;
    max-width: 1140px !important;
    padding: 0 !important;
    z-index: 2;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative !important;
    background: transparent !important;
    left: 0;
    top: 0;
    -webkit-animation-duration: .5s;
    animation-duration: .5s;
    visibility: hidden;
    height: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.ddexitpop .calltoaction {
    display: block;
    text-decoration: none;
    border-radius: 5px;
    padding: 15px;
    background: var(--egw-blue);
    width: 80%;
    margin: 10px auto;
    text-align: center;
    color: #fff !important;
}

/* Close — popup CARD ke top-right pe (viewport corner nahi) */
.ddexitpop div.closeexitpop,
#ddexitpop div.closeexitpop,
#ddexitpopwrapper.open div.closeexitpop,
#ddexitpopwrapper.open .ddexitpop div.closeexitpop {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--egw-black) !important;
    background-image: none !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 50% !important;
    border: 2px solid var(--egw-gold) !important;
    text-indent: 0 !important;
    overflow: visible !important;
    position: absolute !important;
    cursor: pointer;
    z-index: 20 !important;
    top: 16px !important;
    right: 16px !important;
    left: auto !important;
    bottom: auto !important;
    opacity: 1 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    pointer-events: auto !important;
}
.ddexitpop div.closeexitpop::before,
#ddexitpop div.closeexitpop::before {
    content: "×" !important;
    position: absolute !important;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -54%);
    color: #fff !important;
    font-size: 28px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    font-family: Arial, sans-serif !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
}
.ddexitpop div.closeexitpop::after,
#ddexitpop div.closeexitpop::after {
    content: none !important;
    display: none !important;
}
.ddexitpop div.closeexitpop:hover,
#ddexitpopwrapper.open .ddexitpop div.closeexitpop:hover {
    background: var(--egw-gold) !important;
    border-color: var(--egw-gold) !important;
}
.ddexitpop div.closeexitpop:hover::before {
    color: var(--egw-black) !important;
}

#ddexitpopwrapper:not(.open) div.closeexitpop {
    display: none !important;
}

#ddexitpopwrapper.open {
    pointer-events: auto;
}
#ddexitpopwrapper.open .veil {
    display: block;
}
#ddexitpopwrapper.open .ddexitpop {
    visibility: visible;
}

/* ---------------------------------------------------------
   CARD
   --------------------------------------------------------- */
.indent_inn {
    position: relative;
    width: 100% !important;
    max-width: 1140px !important;
    min-height: 420px;
    padding: 68px 64px 56px !important;
    background:
        radial-gradient(820px 300px at 12% -10%, rgba(255, 196, 18, 0.22), transparent 52%),
        radial-gradient(980px 360px at 88% 0%, rgba(8, 70, 177, 0.85), transparent 58%),
        radial-gradient(560px 240px at 50% 120%, rgba(8, 70, 177, 0.4), transparent 50%),
        linear-gradient(180deg, #0c3d9e 0%, #0846b1 42%, #041e55 100%) !important;
    border: 1px solid rgba(255, 196, 18, 0.45) !important;
    border-radius: 28px !important;
    box-shadow:
        0 50px 120px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 80px rgba(8, 70, 177, 0.45);
    overflow: hidden;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}
.indent_inn::before {
    content: "Exclusive Offer";
    display: block;
    text-align: center;
    font-family: Inter, 'Poppins', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--egw-gold) !important;
    margin: 0 0 20px;
}
.indent_inn::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 240px;
    height: 4px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--egw-gold), var(--egw-blue-soft), transparent);
    box-shadow: 0 0 18px rgba(255, 196, 18, 0.55);
}

.indent_inn h4 {
    font-family: 'PT Serif', 'Playfair Display', Georgia, serif !important;
    font-size: 58px !important;
    font-weight: 700 !important;
    line-height: 1.16 !important;
    text-align: center !important;
    color: #ffffff !important;
    margin: 0 !important;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
    padding-right: 36px;
}
.indent_inn h4 > span {
    color: var(--egw-gold) !important;
    font-style: italic !important;
    display: inline !important;
}
.indent_inn h4 b,
.indent_inn h4 b * {
    vertical-align: baseline !important;
}
.indent_inn h4 b {
    display: block !important;
    margin-top: 22px !important;
    color: #eef3fb !important;
    font-family: Inter, 'Poppins', sans-serif !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    font-style: normal !important;
    line-height: 1.5 !important;
    letter-spacing: 0.01em;
}
.indent_inn h4 b > span {
    background: linear-gradient(180deg, var(--egw-gold) 0%, #e0ad00 100%) !important;
    color: var(--egw-black) !important;
    font-weight: 700 !important;
    display: inline-block !important;
    padding: 5px 14px !important;
    border-radius: 8px;
    margin: 0 6px;
    font-size: 22px !important;
    box-shadow: 0 6px 16px rgba(255, 196, 18, 0.4);
}

.indent_inn small {
    display: block !important;
    text-align: center !important;
    color: #e8eef8 !important;
    font-family: Inter, 'Poppins', sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    margin: 22px 0 0 !important;
    opacity: 1 !important;
}

.ddexitForm {
    margin-top: 36px !important;
}

.indent-pop ul {
    display: flex !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    gap: 16px;
    align-items: stretch;
    flex-wrap: nowrap;
}
.indent-pop ul li.ind-line {
    position: relative;
    width: auto !important;
    flex: 1 1 0;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
.indent-pop ul li.ind-line.last {
    width: auto !important;
    flex: 0 0 210px;
}

.indent-pop ul li.ind-line i.fa {
    display: block !important;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: var(--egw-gold) !important;
    font-size: 17px;
    pointer-events: none;
    font-style: normal !important;
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands", FontAwesome !important;
}
.indent-pop ul li.ind-line i.fa-envelope-o::before,
.indent-pop ul li.ind-line i.fa-envelope::before,
.indent-pop ul li.ind-line:has(input[type="email"]) i.fa::before {
    content: "\f0e0" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
}
.indent-pop ul li.ind-line:has(input[type="email"]):not(:has(i.fa))::before {
    content: "\f0e0";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: var(--egw-gold);
    font-size: 17px;
    pointer-events: none;
}
.indent-pop ul li.ind-line.last i.fa {
    display: none !important;
}

.indent-pop ul li.ind-line input {
    display: block !important;
    width: 100% !important;
    height: 64px !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #fff;
    font-family: Inter, 'Poppins', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    padding: 18px 18px 18px 50px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    outline: none !important;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.indent-pop ul li.ind-line input::placeholder {
    color: rgba(255, 255, 255, 0.78) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.78) !important;
    opacity: 1;
}
.indent-pop ul li.ind-line input:focus {
    border-color: var(--egw-gold) !important;
    background: rgba(8, 70, 177, 0.28) !important;
    box-shadow: 0 0 0 4px rgba(255, 196, 18, 0.22) !important;
}

.indent-pop ul li.ind-line input[type="submit"] {
    height: 64px !important;
    padding: 0 22px !important;
    background: var(--egw-black) !important;
    border: 2px solid var(--egw-gold) !important;
    border-bottom: 2px solid var(--egw-gold) !important;
    border-radius: 14px !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-family: Inter, 'Poppins', sans-serif !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35) !important;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
}
.indent-pop ul li.ind-line input[type="submit"]:hover {
    background: var(--egw-gold) !important;
    color: var(--egw-black) !important;
    -webkit-text-fill-color: var(--egw-black) !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(255, 196, 18, 0.38) !important;
}

@media (max-width: 991px) {
    .indent_inn {
        min-height: 0;
        padding: 52px 26px 32px !important;
        border-radius: 22px !important;
    }
    .indent_inn h4 {
        font-size: 36px !important;
        padding-right: 28px;
    }
    .indent_inn h4 b {
        font-size: 18px !important;
    }
    .indent_inn h4 b > span {
        font-size: 17px !important;
    }
    .indent_inn small {
        font-size: 16px !important;
    }
    .indent-pop ul {
        flex-wrap: wrap !important;
    }
    .indent-pop ul li.ind-line,
    .indent-pop ul li.ind-line.last {
        flex: 1 1 100% !important;
        width: 100% !important;
    }
    .indent-pop ul li.ind-line input[type="submit"] {
        width: 100% !important;
    }
    .ddexitpop div.closeexitpop,
    #ddexitpopwrapper.open div.closeexitpop {
        top: 10px !important;
        right: 10px !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }
}

@media (max-width: 575px) {
    .indent_inn {
        padding: 44px 18px 26px !important;
    }
    .indent_inn h4 {
        font-size: 28px !important;
    }
    .indent_inn small {
        font-size: 15px !important;
    }
}
