/* Pandit Shyam Sharma Theme v1.1.72
   Approved Midnight Ghats footer — artwork remains independently replaceable in Design Studio.
   All UI is real HTML; the background contains no text, icons, or fake links. */
.fx-footer-exact,
.fx-footer-exact[data-pj-section],
.fx-footer-exact[data-pj-section][style*="--section-bg-image"]{
    position:relative!important;
    isolation:isolate;
    overflow:hidden;
    background:#061120!important;
    background-image:none!important;
    color:#f4ead6!important;
    padding:0!important;
}
.fx-footer-exact::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
    opacity:1!important;
    background-image:linear-gradient(90deg,rgba(2,10,26,.07) 0%,rgba(2,10,26,.07) 20%,rgba(2,10,26,.17) 50%,rgba(2,10,26,.10) 82%,rgba(2,10,26,.03) 100%),var(--section-bg-image,url('../images/final/footer-ghats-clean.png'))!important;
    background-position:center,var(--section-bg-pos,center center)!important;
    background-size:cover,var(--section-bg-size,cover)!important;
    background-repeat:no-repeat!important;
}
.fx-footer-exact::after{content:none!important}
.fx-footer-exact>*{position:relative;z-index:1}
.fx-footer-exact .fx-footer-main{
    display:flex;
    align-items:center;
    width:100%;
    min-height:535px;
    padding:66px 0 50px!important;
    border-bottom:1px solid rgba(225,173,71,.67)!important;
    background:transparent!important;
}
.fx-footer-exact .fx-footer-exact-grid{
    display:grid!important;
    grid-template-columns:minmax(220px,1.08fr) minmax(170px,.81fr) minmax(203px,1fr) minmax(244px,1.12fr) minmax(365px,1.46fr)!important;
    align-items:start;
    gap:0!important;
    width:min(calc(100% - 64px),1560px)!important;
    max-width:1560px!important;
    margin-left:auto;
    margin-right:auto;
    padding:0!important;
}
.fx-footer-exact .fx-footer-brand,
.fx-footer-exact .fx-footer-col,
.fx-footer-exact .fx-footer-newsletter{min-width:0;max-width:none;height:auto}
.fx-footer-exact .fx-footer-brand{
    display:flex;
    align-items:center;
    flex-direction:column;
    justify-content:flex-start;
    padding:0 24px 0 0!important;
    text-align:center;
}
.fx-footer-exact .fx-footer-brandcrest{
    width:85px;
    height:86px;
    margin:0 auto 4px;
    display:grid;
    place-items:center;
    color:#edb947;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    border-radius:0;
}
.fx-footer-exact .fx-footer-brandcrest .pj-icon{
    width:69px;
    height:69px;
    stroke-width:1.25;
    filter:drop-shadow(0 2px 8px rgba(247,178,41,.12));
}
.fx-footer-exact .fx-footer-brandname{
    max-width:270px;
    margin:0 0 7px;
    font-family:var(--pj-serif,Georgia,serif);
    font-size:clamp(28px,2.05vw,39px)!important;
    line-height:1.02;
    font-weight:700;
    letter-spacing:-.012em;
    text-align:center;
    color:#f3d47b!important;
    text-wrap:balance;
}
.fx-footer-exact .fx-footer-tagline{
    max-width:270px;
    margin:0;
    font-family:var(--pj-serif,Georgia,serif);
    font-size:clamp(13px,.94vw,17px)!important;
    line-height:1.4;
    text-align:center;
    color:#eee1c5!important;
}
.fx-footer-exact .fx-footer-socials{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:nowrap;
    gap:10px;
    margin:22px auto 0;
}
.fx-footer-exact .fx-footer-socials a,
.fx-footer-exact .fx-footer-socials>span{
    display:grid;
    place-items:center;
    width:40px;
    height:40px;
    flex:0 0 40px;
    border:1px solid #e5ad3f;
    border-radius:50%;
    background:rgba(3,12,28,.54);
    color:#f2c55a!important;
    box-shadow:none;
    transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.fx-footer-exact .fx-footer-socials a:hover,
.fx-footer-exact .fx-footer-socials a:focus-visible{
    transform:translateY(-2px);
    border-color:#ffe28d;
    background:rgba(235,177,55,.16);
}
.fx-footer-exact .fx-footer-socials .pj-icon{width:21px;height:21px;stroke-width:1.7}
.fx-footer-exact .fx-footer-col{
    display:block;
    padding:8px 18px 8px 22px!important;
    border-left:1px solid rgba(204,150,61,.43);
    background:none!important;
}
.fx-footer-exact .fx-footer-col h2,
.fx-footer-exact .fx-footer-newsletter h2{
    margin:0 0 21px!important;
    color:#ecc261!important;
    font-family:var(--pj-serif,Georgia,serif);
    font-size:clamp(18px,1.27vw,24px)!important;
    font-weight:700;
    line-height:1.2;
    text-align:left;
}
.fx-footer-exact .fx-footer-col .footer-menu{
    display:flex!important;
    flex-direction:column;
    gap:10px!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
}
.fx-footer-exact .fx-footer-col .footer-menu li{margin:0!important;padding:0!important;list-style:none!important}
.fx-footer-exact .fx-footer-col .footer-menu a{
    display:inline-flex;
    align-items:flex-start;
    gap:12px;
    color:#f2e9dc!important;
    font-family:var(--pj-serif,Georgia,serif);
    font-size:clamp(13px,.97vw,17px)!important;
    line-height:1.4;
    font-weight:400;
    text-decoration:none;
    overflow-wrap:anywhere;
    transition:color .2s ease,transform .2s ease;
}
.fx-footer-exact .fx-footer-col .footer-menu a:hover,
.fx-footer-exact .fx-footer-col .footer-menu a:focus-visible{transform:translateX(2px);color:#f5c95e!important}
.fx-footer-exact .fx-footer-col .footer-menu .pj-icon{
    display:block;
    width:23px;
    height:23px;
    min-width:23px;
    color:#eab548;
    flex:0 0 23px;
    stroke-width:1.7;
}
.fx-footer-exact .fx-footer-col-contact .footer-menu{gap:18px!important}
.fx-footer-exact .fx-footer-col-contact .footer-menu .pj-icon{width:25px;height:25px;min-width:25px;flex-basis:25px}
.fx-footer-exact .fx-footer-newsletter{
    margin:30px 0 0 18px;
    padding:26px 27px 22px!important;
    border:1px solid #c99539!important;
    border-radius:20px!important;
    background:linear-gradient(115deg,rgba(4,14,30,.86),rgba(7,17,32,.91))!important;
    box-shadow:0 18px 34px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.05)!important;
    backdrop-filter:blur(2px);
}
.fx-footer-exact .fx-footer-newsletter h2{
    font-size:clamp(19px,1.45vw,26px)!important;
    margin-bottom:15px!important;
    line-height:1.12;
}
.fx-footer-exact .fx-footer-newsletter p{
    margin:0 0 28px!important;
    color:#f3e7d8!important;
    font-family:var(--pj-serif,Georgia,serif);
    font-size:clamp(14px,1.02vw,18px)!important;
    line-height:1.5;
}
.fx-footer-exact .fx-footer-newsletter form{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 65px!important;
    align-items:center;
    gap:0!important;
    width:100%;
    height:65px;
    margin:0;
    padding:0!important;
    overflow:hidden;
    border-radius:16px!important;
    border:1px solid rgba(169,145,110,.56)!important;
    background:rgba(8,20,36,.72)!important;
}
.fx-footer-exact .fx-footer-newsletter input{
    display:block;
    width:100%;
    min-width:0;
    height:100%;
    padding:0 18px;
    background:transparent!important;
    border:0!important;
    outline-offset:-2px;
    box-shadow:none!important;
    color:#f7eada!important;
    font-size:15px;
}
.fx-footer-exact .fx-footer-newsletter input::placeholder{color:#cbbbad;opacity:1}
.fx-footer-exact .fx-footer-newsletter button{
    display:grid;
    place-items:center;
    width:65px;
    height:65px;
    min-height:0;
    margin:0;
    padding:0!important;
    color:#1a140a!important;
    background:linear-gradient(145deg,#ffd881,#efad43)!important;
    border:0!important;
    border-radius:15px;
    cursor:pointer;
    transition:filter .2s ease;
}
.fx-footer-exact .fx-footer-newsletter button:hover{filter:brightness(1.07)}
.fx-footer-exact .fx-footer-newsletter button .pj-icon{width:25px;height:25px}
.fx-footer-exact .fx-footer-bottom{
    min-height:74px;
    padding:0!important;
    border-top:0!important;
    background:rgba(3,10,22,.81)!important;
}
.fx-footer-exact .fx-footer-bottom-inner{
    display:grid!important;
    grid-template-columns:auto 1fr auto;
    width:min(calc(100% - 76px),1775px)!important;
    max-width:1775px!important;
    min-height:74px!important;
    margin:auto;
    padding:12px 0;
    gap:23px;
    align-items:center;
    justify-content:space-between;
}
.fx-footer-exact .fx-footer-bottom-inner>span{
    color:#e7e2d8!important;
    white-space:nowrap;
    font-family:var(--pj-serif,Georgia,serif);
    font-size:clamp(12px,.92vw,16px)!important;
    text-align:left;
}
.fx-footer-exact .fx-footer-legal{
    display:flex!important;
    gap:0!important;
    align-items:center;
    justify-content:flex-start!important;
    margin:0!important;
}
.fx-footer-exact .fx-footer-legal a{
    display:inline-block;
    padding:0 19px;
    border-left:1px solid #b5853b;
    color:#e7e2d8!important;
    font-family:var(--pj-serif,Georgia,serif);
    font-size:clamp(12px,.87vw,15px)!important;
    white-space:nowrap;
}
.fx-footer-exact .fx-footer-mantra{
    display:flex;
    gap:12px;
    justify-content:flex-end;
    align-items:center;
    white-space:nowrap;
    color:#e7ad3f!important;
}
.fx-footer-exact .fx-footer-mantra .pj-icon{width:28px;height:28px;color:#eab245}
.fx-footer-exact .fx-footer-mantra em{font-size:clamp(12px,.9vw,16px);font-family:var(--pj-serif,Georgia,serif);font-style:normal;color:#eee7df!important}
.fx-footer-exact .pj-theme-credit-row{
    padding:10px 0 20px!important;
    background:#071122!important;
    border-top:1px solid rgba(232,184,84,.14);
}
/* Preserve existing DigiProfitLab logo badge and small credit unchanged. */
.fx-footer-exact .pj-theme-credit{color:#17233b!important}
@media(min-width:1800px){
    .fx-footer-exact .fx-footer-exact-grid{margin-left:auto;margin-right:4.7vw}
}
@media(max-width:1540px){
    .fx-footer-exact .fx-footer-exact-grid{
        width:min(calc(100% - 46px),1450px)!important;
        grid-template-columns:minmax(195px,1fr) minmax(140px,.75fr) minmax(188px,1fr) minmax(208px,1.1fr) minmax(286px,1.25fr)!important;
    }
    .fx-footer-exact .fx-footer-brand{padding-right:14px!important}
    .fx-footer-exact .fx-footer-col{padding-left:18px!important;padding-right:13px!important}
    .fx-footer-exact .fx-footer-newsletter{margin-left:10px;padding:22px 20px!important}
    .fx-footer-exact .fx-footer-socials{gap:7px}
    .fx-footer-exact .fx-footer-socials a,.fx-footer-exact .fx-footer-socials>span{width:36px;height:36px;flex-basis:36px}
}
@media(max-width:1250px){
    .fx-footer-exact .fx-footer-main{min-height:0;padding:52px 0 44px!important}
    .fx-footer-exact .fx-footer-exact-grid{width:min(calc(100% - 48px),1000px)!important;grid-template-columns:minmax(240px,1fr) minmax(180px,1fr) minmax(220px,1fr)!important;row-gap:30px!important}
    .fx-footer-exact .fx-footer-brand{grid-column:1;grid-row:1}
    .fx-footer-exact .fx-footer-col-links{grid-column:2;grid-row:1}
    .fx-footer-exact .fx-footer-col-services{grid-column:3;grid-row:1}
    .fx-footer-exact .fx-footer-col-contact{grid-column:1/3;grid-row:2}
    .fx-footer-exact .fx-footer-newsletter{grid-column:3;grid-row:2;margin:0;padding:20px!important}
    .fx-footer-exact .fx-footer-bottom-inner{width:min(calc(100% - 48px),1050px)!important;grid-template-columns:1fr auto;row-gap:8px}
    .fx-footer-exact .fx-footer-mantra{grid-column:1/-1;justify-content:center}
}
@media(max-width:760px){
    .fx-footer-exact::before{background-size:auto 100%,auto 100%!important;background-position:center,center center!important}
    .fx-footer-exact .fx-footer-main{padding:40px 0 34px!important}
    .fx-footer-exact .fx-footer-exact-grid{width:min(calc(100% - 32px),640px)!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 15px!important}
    .fx-footer-exact .fx-footer-brand{grid-column:1/-1;grid-row:auto;padding:0!important}
    .fx-footer-exact .fx-footer-col-links{grid-column:1;grid-row:auto}
    .fx-footer-exact .fx-footer-col-services{grid-column:2;grid-row:auto}
    .fx-footer-exact .fx-footer-col-contact{grid-column:1/-1;grid-row:auto}
    .fx-footer-exact .fx-footer-newsletter{grid-column:1/-1;grid-row:auto;margin:0;padding:22px 20px!important}
    .fx-footer-exact .fx-footer-col{border-left:0;padding:0!important}
    .fx-footer-exact .fx-footer-brandname{font-size:34px!important}
    .fx-footer-exact .fx-footer-tagline{font-size:14px!important}
    .fx-footer-exact .fx-footer-col h2{font-size:20px!important;margin:0 0 14px!important}
    .fx-footer-exact .fx-footer-col .footer-menu{gap:9px!important}
    .fx-footer-exact .fx-footer-col .footer-menu a{font-size:14px!important}
    .fx-footer-exact .fx-footer-newsletter h2{font-size:23px!important}
    .fx-footer-exact .fx-footer-newsletter p{font-size:15px!important}
    .fx-footer-exact .fx-footer-bottom-inner{width:min(calc(100% - 32px),640px)!important;grid-template-columns:1fr!important;gap:15px!important;padding:20px 0!important}
    .fx-footer-exact .fx-footer-bottom-inner>span{text-align:center;font-size:13px!important;white-space:normal}
    .fx-footer-exact .fx-footer-legal{justify-content:center!important;flex-wrap:wrap}
    .fx-footer-exact .fx-footer-legal a{font-size:13px!important}
    .fx-footer-exact .fx-footer-legal a:first-child{border-left:0}
    .fx-footer-exact .fx-footer-mantra{justify-content:center;white-space:normal;text-align:center}
    .fx-footer-exact .fx-footer-mantra em{font-size:13px!important}
    .fx-footer-exact .pj-theme-credit-row{padding-bottom:88px!important}
}
@media(max-width:390px){
    .fx-footer-exact .fx-footer-exact-grid{grid-template-columns:1fr!important}
    .fx-footer-exact .fx-footer-brand,.fx-footer-exact .fx-footer-col-links,.fx-footer-exact .fx-footer-col-services,.fx-footer-exact .fx-footer-col-contact,.fx-footer-exact .fx-footer-newsletter{grid-column:1/-1}
    .fx-footer-exact .fx-footer-col{border-top:1px solid rgba(234,181,71,.28);padding-top:18px!important}
    .fx-footer-exact .fx-footer-newsletter form{grid-template-columns:minmax(0,1fr) 60px!important}
    .fx-footer-exact .fx-footer-newsletter input,.fx-footer-exact .fx-footer-newsletter button{height:60px}
}
@media(prefers-reduced-motion:reduce){.fx-footer-exact .fx-footer-socials a,.fx-footer-exact .fx-footer-col .footer-menu a{transition:none!important}}
