
/* NABIC HOME V4 - WHMCS PREVIEW ONLY */
body.nabic-home-v4-active > :not(#nabic-home-v4):not(script):not(style):not(link){
  display:none!important
}
body.nabic-home-v4-active{
  margin:0!important;padding:0!important;background:#f8fcff!important;
  overflow-x:hidden!important
}
body.nabic-home-v4-active > #nabic-home-v4{
  display:block!important
}
.nb4,.nb4 *{box-sizing:border-box}
.nb4{
  --blue:#00aeef;--dark:#142746;
  direction:rtl;width:100%;max-width:1500px;margin:0 auto;
  color:var(--dark);font-family:Vazirmatn,Tahoma,sans-serif;
  font-size:15px;line-height:1.8
}
.nb4 a{text-decoration:none}
.nb4-header{
  min-height:86px;padding:12px 5%;display:flex;align-items:center;
  justify-content:space-between;gap:24px;background:#fff;position:relative;z-index:20
}
.nb4-brand{display:flex;flex-direction:column;line-height:1.3}
.nb4-brand-name{font-size:33px;font-weight:900;color:#00aeef}
.nb4-brand small{font-size:10px;color:#6f94ad}
.nb4-nav,.nb4-header-actions{display:flex;align-items:center;gap:24px}
.nb4-nav a{color:#233654;font-size:13px;font-weight:750;white-space:nowrap}
.nb4-nav .active{color:#008fe5;border-bottom:3px solid #008fe5;padding-bottom:12px}
.nb4-header-actions{gap:10px}
.nb4-header-actions a{border-radius:30px;padding:9px 19px;white-space:nowrap;
  font-size:13px;font-weight:750}
.nb4-login{border:1px solid #b8d7fa;color:#234b79}
.nb4-order{background:linear-gradient(100deg,#0058d5,#00aeef);color:#fff}
.nb4-dropdown{position:relative}
.nb4-dropdown-items{
  display:none;position:absolute;top:100%;right:0;width:200px;
  background:white;padding:12px;border:1px solid #d8e9f7;
  border-radius:15px;box-shadow:0 12px 25px #18385a20
}
.nb4-dropdown:hover .nb4-dropdown-items,
.nb4-dropdown:focus-within .nb4-dropdown-items{display:flex;flex-direction:column;gap:12px}

.nb4-hero{
  position:relative;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;
  align-items:center;gap:25px;min-height:450px;
  background:
    radial-gradient(ellipse at 76% 28%,#c4eaff 0,transparent 44%),
    linear-gradient(125deg,#e6f4ff 0,#f4fbff 50%,#eaf7ff 100%);
  padding:42px 6% 53px;border-radius:0 0 46% 9%/0 0 13% 5%
}
.nb4-hero:before{content:"";position:absolute;width:380px;height:380px;
  border:28px solid #b9e2ff55;border-radius:50%;left:-230px;top:-220px}
.nb4-hero-copy{position:relative;z-index:2}
.nb4-kicker{font-size:16px;font-weight:550;color:#334866}
.nb4-hero h1{
  font-size:clamp(29px,3vw,48px);font-weight:900;line-height:1.5;
  letter-spacing:-.8px;margin:17px 0;color:#122643
}
.nb4-hero h1 span{display:block;color:#086fe0}
.nb4-hero p{font-size:16px;line-height:2;color:#34465e;max-width:530px}
.nb4-hero-actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:27px}
.nb4-btn{display:inline-flex;align-items:center;gap:13px;justify-content:center;
  border-radius:30px;padding:12px 25px;font-size:14px;font-weight:800}
.nb4-btn-primary{color:white;background:linear-gradient(100deg,#005ddd,#00aeef);
  box-shadow:0 10px 22px #039af12b}
.nb4-btn-white{color:#152a47;background:white;border:1px solid #8bc7fb;
  box-shadow:0 5px 13px #005ec418}
.nb4-hero-image{position:relative}
.nb4-hero-image img{display:block;width:100%;height:auto;
  max-height:405px;object-fit:contain;filter:drop-shadow(0 20px 18px #087bd726)}
.nb4-services,.nb4-why{padding:35px 5% 25px}
.nb4-heading{text-align:center;margin-bottom:27px}
.nb4-heading h2{font-size:30px;font-weight:900;margin:0;color:#122643}
.nb4-heading>span{display:block;background:#009ef3;width:48px;height:4px;
  border-radius:4px;margin:6px auto 12px}
.nb4-heading p{font-size:14px;color:#56677d;margin:0}
.nb4-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.nb4-service-card{
  background:#fff;border:1px solid #e6eef7;border-radius:22px;
  box-shadow:0 7px 22px #174c7c10;padding:32px 20px 26px;
  display:flex;flex-direction:column;align-items:center;text-align:center;
  min-height:234px;transition:transform .2s
}
.nb4-service-card:hover{transform:translateY(-4px)}
.nb4-service-card.featured{
  background:linear-gradient(#e5f5ff,#f7fcff);
  border-color:#42b7ff;box-shadow:0 10px 23px #00aeef25
}
.nb4-service-icon{height:55px;color:#078ef0}
.nb4-service-icon svg{height:50px;width:50px}
.nb4-service-card h3{font-weight:850;font-size:21px;margin:9px 0}
.nb4-service-card p{font-size:14px;line-height:1.8;color:#334963;
  max-width:270px;margin:0 auto 13px}
.nb4-service-card strong{font-size:14px;color:#007be7;margin-top:auto}
.nb4-monitor{
  margin:32px 5%;padding:25px 35px;display:grid;grid-template-columns:1.7fr 1fr;
  gap:22px;align-items:center;border:2px solid white;border-radius:26px;
  box-shadow:0 8px 25px #134d8320;
  background:linear-gradient(110deg,#f1faff,#fff)
}
.nb4-monitor h2{font-size:26px;font-weight:850;margin:0 0 4px}
.nb4-monitor p{color:#566a7c;font-size:14px;margin:0}
.nb4-monitor-form{display:flex;gap:10px;margin-top:17px}
.nb4-monitor-form label{position:absolute;width:1px;height:1px;overflow:hidden}
.nb4-monitor-form input{
  flex:1;min-width:0;background:white;border:1px solid #c5ddf6;
  height:47px;border-radius:26px;padding:0 18px;font-family:inherit;
  font-size:13px;text-align:right
}
.nb4-monitor-form button{
  border:0;border-radius:26px;background:linear-gradient(90deg,#0566e3,#00aeef);
  color:white;font-family:inherit;font-weight:800;padding:0 25px;cursor:pointer
}
.nb4-check-result{font-size:12px!important;margin-top:8px!important}
.nb4-monitor-art svg{width:100%}
.nb4-why{padding-top:10px}
.nb4-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.nb4-benefits>div{text-align:center;border-left:1px solid #e2eaf2;padding:16px 8px}
.nb4-benefits>div:last-child{border-left:0}
.nb4-benefit-icon{color:#008fee;font-size:45px;line-height:1}
.nb4-benefits h3{font-size:17px;font-weight:850;margin:13px 0 4px}
.nb4-benefits p{font-size:13px;color:#56677d;margin:0}
.nb4-cta{
  margin:28px 4% 45px;background:linear-gradient(105deg,#005bc7,#00a8f2);
  color:white;border-radius:20px;padding:28px 35px;
  display:flex;justify-content:space-around;align-items:center;gap:20px;
  box-shadow:0 9px 20px #026fcb20
}
.nb4-cta h2{font-size:22px;font-weight:850;color:white;margin:0}
.nb4-cta p{color:#e8f5ff;font-size:14px;margin:4px 0}
.nb4-cta a{color:#152d4a;background:white;border-radius:30px;
  padding:11px 27px;font-weight:850;white-space:nowrap}
.nb4-footer{border-top:1px solid #e0eaf3;background:#fff;padding:35px 5% 18px}
.nb4-footer-columns{display:grid;grid-template-columns:1.5fr repeat(4,1fr);
  gap:28px}
.nb4-footer-columns>div{display:flex;flex-direction:column;gap:9px;align-items:flex-start}
.nb4-footer h3{font-size:15px;font-weight:800;margin:0 0 7px}
.nb4-footer a,.nb4-footer p,.nb4-footer span{font-size:12px;color:#576c83}
.nb4-footer-brand strong{font-size:30px;line-height:1.3;color:#00aeef}
.nb4-footer-brand small{font-size:10px;color:#8094a8}
.nb4-footer-brand p{line-height:2}
.nb4-footer-bottom{display:flex;justify-content:space-between;
  padding-top:20px;margin-top:30px;border-top:1px solid #e7edf3;
  color:#617286;font-size:12px}
@media(max-width:1100px){
 .nb4-header{flex-wrap:wrap}
 .nb4-nav{order:3;width:100%;overflow-x:auto;gap:22px}
 .nb4-footer-columns{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:800px){
 .nb4-hero{grid-template-columns:1fr}
 .nb4-hero-image{max-width:430px;margin:auto}
 .nb4-service-grid{grid-template-columns:1fr}
 .nb4-monitor{grid-template-columns:1fr}
 .nb4-benefits{grid-template-columns:repeat(2,1fr)}
 .nb4-footer-columns{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:520px){
 .nb4-header{padding:12px 4%}
 .nb4-header-actions{gap:6px}
 .nb4-header-actions a{font-size:11px;padding:8px 11px}
 .nb4-hero{padding:32px 5%;border-radius:0 0 30px 30px}
 .nb4-hero h1{font-size:28px}
 .nb4-hero p{font-size:14px}
 .nb4-monitor{padding:20px 14px}
 .nb4-monitor-form{flex-direction:column}
 .nb4-monitor-form button{min-height:44px}
 .nb4-cta{flex-direction:column;text-align:center;padding:24px 15px}
 .nb4-footer-columns{grid-template-columns:1fr 1fr;gap:20px}
 .nb4-footer-bottom{flex-direction:column}
}


/* NABIC_HERO_SOFT_FADE_V1 */

/* Smooth background with no sharp edges */
.nb4 .nb4-hero {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background:
        radial-gradient(
            ellipse at 0% 0%,
            rgba(0,174,239,.11) 0%,
            rgba(0,174,239,.045) 30%,
            transparent 66%
        ),
        radial-gradient(
            ellipse at 100% 100%,
            rgba(0,174,239,.09) 0%,
            rgba(0,174,239,.035) 33%,
            transparent 70%
        ),
        radial-gradient(
            ellipse at 100% 0%,
            rgba(0,174,239,.065) 0%,
            transparent 60%
        ),
        radial-gradient(
            ellipse at 0% 100%,
            rgba(0,174,239,.06) 0%,
            transparent 65%
        ),
        linear-gradient(
            180deg,
            #eef8ff 0%,
            #f5fbff 68%,
            #f8fcff 100%
        ) !important;

    -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 74%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 74%,
        transparent 100%
    );
}

/* Remove old circular corner decorations */
.nb4 .nb4-hero::before,
.nb4 .nb4-hero::after {
    content: none !important;
    display: none !important;
}

/* Preserve hero text and image */
.nb4 .nb4-hero > * {
    position: relative;
    z-index: 1;
}


/* NABIC_HOME_NAV_PILL_V2 */

.nb4 .nb4-header.nb4-header-v2 {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    min-height: 94px !important;
    padding: 12px 28px !important;
    margin: 0 !important;
    border-radius: 0 0 28px 28px !important;
    border: 1px solid #e4eef5 !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: 0 9px 32px rgba(31,82,125,.08) !important;
    position: relative !important;
    z-index: 30 !important;
}

/* Brand */
.nb4 .nb4-header-v2 .nb4-brand {
    flex: 0 0 auto;
    min-width: 112px;
    align-items: flex-start;
    text-decoration: none !important;
}

.nb4 .nb4-header-v2 .nb4-brand-name {
    font-size: 32px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    color: #00aeef !important;
}

.nb4 .nb4-header-v2 .nb4-brand small {
    font-size: 10px !important;
    color: #7b95a8 !important;
}

/* Center rounded menu */
.nb4 .nb4-header-v2 .nb4-nav {
    display: flex !important;
    flex: 0 1 auto !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 4px !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    order: initial !important;
    overflow: visible !important;
    padding: 8px !important;
    margin: 0 !important;
    background: #f4faff !important;
    border: 1px solid #e0edf6 !important;
    border-radius: 22px !important;
}

.nb4 .nb4-header-v2 .nb4-nav > a,
.nb4 .nb4-header-v2 .nb4-dropdown > a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 10px 13px !important;
    border: 0 !important;
    border-radius: 13px !important;
    color: #455e75 !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}

.nb4 .nb4-header-v2 .nb4-nav > a:hover,
.nb4 .nb4-header-v2 .nb4-dropdown > a:hover {
    background: #e5f5ff !important;
    color: #008bd0 !important;
}

.nb4 .nb4-header-v2 .nb4-nav > a.active {
    background: #e4f7ff !important;
    color: #00aeef !important;
}

.nb4 .nb4-header-v2 .nb4-arrow {
    font-size: 17px;
    line-height: 1;
}

/* Keep dropdown above hero */
.nb4 .nb4-header-v2 .nb4-dropdown {
    position: relative;
    flex-shrink: 0;
}

.nb4 .nb4-header-v2 .nb4-dropdown-items {
    top: calc(100% + 9px) !important;
    z-index: 40 !important;
}

.nb4 .nb4-header-v2 .nb4-dropdown:hover .nb4-dropdown-items,
.nb4 .nb4-header-v2 .nb4-dropdown:focus-within .nb4-dropdown-items {
    display: flex !important;
}

/* Small service boxes */
.nb4 .nb4-header-v2 .nb4-header-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 9px !important;
    flex: 0 0 auto !important;
    order: initial !important;
}

.nb4 .nb4-header-v2 .nb4-mini-info {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    padding: 10px 12px !important;
    min-width: 114px;
    min-height: 58px;
    background: #fff !important;
    border: 1px solid #e0edf5 !important;
    border-radius: 17px !important;
    color: #263c54 !important;
    text-decoration: none !important;
}

.nb4 .nb4-header-v2 .nb4-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    border-radius: 12px;
    background: #e5f8ff;
    color: #00a5e6;
    font-size: 12px;
    font-weight: 900;
}

.nb4 .nb4-header-v2 .nb4-mini-info > span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

.nb4 .nb4-header-v2 .nb4-mini-info small {
    font-size: 10px;
    color: #8ca0b0;
}

.nb4 .nb4-header-v2 .nb4-mini-info strong {
    font-size: 13px;
    color: #193a55;
}

/* Blue account button */
.nb4 .nb4-header-v2 .nb4-panel-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    gap: 8px !important;
    min-height: 55px !important;
    padding: 12px 18px !important;
    background: linear-gradient(120deg,#0079d9,#00aeef) !important;
    border: 1px solid #00aeef !important;
    border-radius: 16px !important;
    box-shadow: 0 7px 18px rgba(0,174,239,.16) !important;
    color: white !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

/* Tablet */
@media (max-width: 1350px) {
    .nb4 .nb4-header-v2 .nb4-mini-info {
        display: none !important;
    }
}

@media (max-width: 1050px) {
    .nb4 .nb4-header.nb4-header-v2 {
        flex-wrap: wrap !important;
        gap: 10px !important;
        padding: 12px 18px !important;
    }
    .nb4 .nb4-header-v2 .nb4-nav {
        order: 3 !important;
        width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        justify-content: flex-start !important;
    }
    .nb4 .nb4-header-v2 .nb4-header-actions {
        margin-right: auto !important;
    }
}

@media (max-width: 600px) {
    .nb4 .nb4-header-v2 .nb4-brand-name {
        font-size: 27px !important;
    }
    .nb4 .nb4-header-v2 .nb4-panel-button {
        min-height: 43px !important;
        padding: 9px 12px !important;
        font-size: 12px !important;
    }
    .nb4 .nb4-header-v2 .nb4-nav > a,
    .nb4 .nb4-header-v2 .nb4-dropdown > a {
        font-size: 12px !important;
        padding: 8px 10px !important;
    }
}


/* NABIC_HERO_TOP_FADE_ONLY_V2 */

/* Change HERO only. Header stays exactly as before. */
.nb4 .nb4-hero {
    background:
        linear-gradient(
            to bottom,
            #ffffff 0%,
            #f5fbff 9%,
            #e8f7ff 28%,
            #e5f6ff 65%,
            #f8fcff 100%
        ) !important;

    border-radius: 0 !important;
}

/* No old circular decorations */
.nb4 .nb4-hero::before,
.nb4 .nb4-hero::after {
    content: none !important;
    display: none !important;
}


/* NABIC_HOME_FULL_RTL_V1 */

/* Main layout */
#nabic-home-v4 {
    direction: rtl !important;
    text-align: right;
    unicode-bidi: isolate;
}

/* Header */
#nabic-home-v4 .nb4-header {
    direction: rtl !important;
}

#nabic-home-v4 .nb4-nav,
#nabic-home-v4 .nb4-header-actions {
    direction: rtl !important;
}

/* Hero: Persian text on the right, image on the left */
#nabic-home-v4 .nb4-hero {
    direction: rtl !important;
    text-align: right !important;
}

#nabic-home-v4 .nb4-hero-copy {
    text-align: right !important;
}

#nabic-home-v4 .nb4-hero-copy h1,
#nabic-home-v4 .nb4-hero-copy p,
#nabic-home-v4 .nb4-kicker {
    text-align: right !important;
}

#nabic-home-v4 .nb4-hero-actions {
    direction: rtl !important;
    justify-content: flex-start !important;
}

/* Service cards */
#nabic-home-v4 .nb4-service-grid {
    direction: rtl !important;
}

#nabic-home-v4 .nb4-service-card {
    direction: rtl !important;
    text-align: center !important;
}

/* Monitoring */
#nabic-home-v4 .nb4-monitor {
    direction: rtl !important;
}

#nabic-home-v4 .nb4-monitor-copy {
    text-align: right !important;
}

#nabic-home-v4 .nb4-monitor-form {
    direction: rtl !important;
}

#nabic-home-v4 .nb4-monitor-form input {
    direction: rtl !important;
    text-align: right !important;
}

/* Features */
#nabic-home-v4 .nb4-benefits {
    direction: rtl !important;
}

/* CTA */
#nabic-home-v4 .nb4-cta {
    direction: rtl !important;
    text-align: right !important;
}

/* Footer */
#nabic-home-v4 .nb4-footer,
#nabic-home-v4 .nb4-footer-columns {
    direction: rtl !important;
    text-align: right !important;
}

#nabic-home-v4 .nb4-footer-columns > div {
    align-items: flex-start !important;
    text-align: right !important;
}

/* Keep Latin text readable */
#nabic-home-v4 a[href^="mailto:"],
#nabic-home-v4 input[type="email"] {
    direction: ltr;
    unicode-bidi: isolate;
}

/* Mobile */
@media (max-width: 767px) {
    #nabic-home-v4 .nb4-header,
    #nabic-home-v4 .nb4-hero,
    #nabic-home-v4 .nb4-monitor,
    #nabic-home-v4 .nb4-footer {
        direction: rtl !important;
    }
}



/* NABIC_HOME_PRODUCTS_DROPDOWN_V1 */
#nabic-home-v4 .nb4-products-dropdown {
    position: relative;
    flex: 0 0 auto;
}

#nabic-home-v4 .nb4-products-trigger {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    padding: 10px 13px;
    border-radius: 13px;
    color: #455e75 !important;
    font-size: 13px;
    font-weight: 750;
    white-space: nowrap;
}

#nabic-home-v4 .nb4-products-trigger:hover,
#nabic-home-v4 .nb4-products-dropdown:focus-within
.nb4-products-trigger {
    color: #008bd0 !important;
    background: #e5f5ff;
}

#nabic-home-v4 .nb4-products-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 285px;
    max-height: min(70vh, 510px);
    overflow-y: auto;
    display: none;
    flex-direction: column;
    padding: 8px;
    border-radius: 18px;
    border: 1px solid #e2eaf2;
    background: #fff;
    box-shadow: 0 18px 45px rgba(24,52,85,.14);
    z-index: 100;
    text-align: right;
}

#nabic-home-v4 .nb4-products-dropdown:hover
.nb4-products-menu,
#nabic-home-v4 .nb4-products-dropdown:focus-within
.nb4-products-menu {
    display: flex;
}

#nabic-home-v4 .nb4-products-menu a {
    display: block;
    flex: 0 0 auto;
    padding: 11px 14px;
    border-radius: 10px;
    color: #283b51 !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
    white-space: normal;
    text-align: right;
}

#nabic-home-v4 .nb4-products-menu a:hover {
    background: #eff9ff;
    color: #00aeef !important;
}

#nabic-home-v4 .nb4-products-menu
.nb4-products-all {
    border-bottom: 1px solid #e8edf2;
    border-radius: 10px 10px 0 0;
    font-weight: 800;
    color: #008bd5 !important;
    margin-bottom: 5px;
}

@media (max-width: 1050px) {
    #nabic-home-v4 .nb4-products-menu {
        width: 260px;
        max-height: 55vh;
    }
}


/* NABIC_BRAND_TYPOGRAPHY_V2 */

/* Brand wrapper */
#nabic-home-v4 .nb4-header .nb4-brand {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 2px !important;
    flex-shrink: 0 !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
}

/* Nabic wordmark */
#nabic-home-v4 .nb4-header .nb4-brand-name {
    display: block !important;
    font-family: Vazirmatn, Tahoma, sans-serif !important;
    font-size: 35px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    letter-spacing: -1.4px !important;
    color: #00AEEF !important;
    text-shadow: 0 3px 12px rgba(0,174,239,.11) !important;
}

/* Company subtitle */
#nabic-home-v4 .nb4-header .nb4-brand small {
    display: block !important;
    font-family: Vazirmatn, Tahoma, sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    letter-spacing: -.2px !important;
    color: #738da6 !important;
    white-space: nowrap !important;
}

/* Small blue decorative underline */
#nabic-home-v4 .nb4-header .nb4-brand::after {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    margin-top: 2px;
    border-radius: 5px;
    background: linear-gradient(90deg,#00AEEF,#91e8ff);
    opacity: .8;
}

/* Mobile */
@media (max-width: 600px) {
    #nabic-home-v4 .nb4-header .nb4-brand-name {
        font-size: 29px !important;
    }
    #nabic-home-v4 .nb4-header .nb4-brand small {
        font-size: 9px !important;
    }
}


/* NABIC_BRAND_COMPACT_POSITION_V1 */

/* Move the brand inward from the right edge */
#nabic-home-v4 .nb4-header .nb4-brand {
    margin-right: 20px !important;
    margin-left: 0 !important;
    gap: 1px !important;
}

/* Smaller brand wordmark */
#nabic-home-v4 .nb4-header .nb4-brand-name {
    font-size: 28px !important;
    letter-spacing: -0.8px !important;
    line-height: 1.2 !important;
}

/* Smaller subtitle */
#nabic-home-v4 .nb4-header .nb4-brand small {
    font-size: 9px !important;
}

/* Remove decorative underline */
#nabic-home-v4 .nb4-header .nb4-brand::after {
    display: none !important;
}

@media (max-width: 600px) {
    #nabic-home-v4 .nb4-header .nb4-brand {
        margin-right: 10px !important;
    }

    #nabic-home-v4 .nb4-header .nb4-brand-name {
        font-size: 25px !important;
    }
}


/* NABIC_BRAND_GRADIENT_LINE_V1 */

#nabic-home-v4 .nb4-header .nb4-brand::after {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 3px !important;
    flex: 0 0 3px !important;
    margin-top: 5px !important;
    border-radius: 20px !important;
    background: linear-gradient(
        90deg,
        #8BE7FF 0%,
        #00AEEF 55%,
        #0074DB 100%
    ) !important;
    box-shadow: 0 2px 7px rgba(0,174,239,.15) !important;
}

/* NABIC_BRAND_LINE_WIDTH_V2 */
#nabic-home-v4 .nb4-header .nb4-brand::after {
    width: 65px !important;
}


/* NABIC REAL LOGO HEADER V1 */
#nabic-home-v4 .nb4-header .nb4-brand-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 20px !important;
    padding: 0 !important;
    width: 148px !important;
    min-width: 148px !important;
    line-height: normal !important;
}

#nabic-home-v4 .nb4-header .nb4-brand-image::after {
    display: none !important;
    content: none !important;
}

#nabic-home-v4 .nb4-header .nb4-brand-image img {
    display: block !important;
    width: 148px !important;
    height: auto !important;
    max-width: 100% !important;
    mix-blend-mode: multiply;
    object-fit: contain !important;
}

@media (max-width: 600px) {
    #nabic-home-v4 .nb4-header .nb4-brand-image,
    #nabic-home-v4 .nb4-header .nb4-brand-image img {
        width: 116px !important;
        min-width: 0 !important;
    }
}


/* NABIC_HEADER_LOGO_FADE_V1 */

/* لوگوی هدر: 20 درصد کوچک‌تر */
#nabic-home-v4 .nb4-header .nb4-brand-image {
    width: 118px !important;
    min-width: 118px !important;
    margin-right: 20px !important;
}

/* محوشدن تدریجی از راست به چپ */
#nabic-home-v4 .nb4-header .nb4-brand-image img {
    display: block !important;
    width: 118px !important;
    height: auto !important;
    max-width: 100% !important;

    -webkit-mask-image: linear-gradient(
        to left,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,.9) 35%,
        rgba(0,0,0,.55) 70%,
        rgba(0,0,0,.2) 100%
    ) !important;

    mask-image: linear-gradient(
        to left,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,.9) 35%,
        rgba(0,0,0,.55) 70%,
        rgba(0,0,0,.2) 100%
    ) !important;
}

@media (max-width: 600px) {
    #nabic-home-v4 .nb4-header .nb4-brand-image {
        width: 100px !important;
        min-width: 100px !important;
    }

    #nabic-home-v4 .nb4-header .nb4-brand-image img {
        width: 100px !important;
    }
}

/* NABIC_HEADER_LOGO_SOLID_V1 */

/* Restore original logo colors and full opacity */
#nabic-home-v4 .nb4-header .nb4-brand-image img {
    opacity: 1 !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}


/* NABIC_HERO_DESCRIPTION_COMPACT_V1 */

/* Smaller description aligned with first heading line */
#nabic-home-v4 .nb4-hero-copy > p {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 2 !important;
    letter-spacing: 0 !important;
    width: 100% !important;
    max-width: 445px !important;
    margin: 8px 0 0 !important;
    text-align: right !important;
}

/* Keep actions neatly below description */
#nabic-home-v4 .nb4-hero-actions {
    margin-top: 22px !important;
}

@media (max-width: 600px) {
    #nabic-home-v4 .nb4-hero-copy > p {
        font-size: 13px !important;
        max-width: 100% !important;
    }
}


/* NABIC_HERO_DESCRIPTION_ONE_LINE_V2 */
@media (min-width: 1100px) {
    #nabic-home-v4 .nb4-hero-copy > p {
        width: max-content !important;
        max-width: none !important;
        white-space: nowrap !important;
        font-size: 14px !important;
        line-height: 2 !important;
        text-align: right !important;
    }
}

/* Mobile and tablet: allow wrapping to avoid overflow */
@media (max-width: 1099px) {
    #nabic-home-v4 .nb4-hero-copy > p {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
    }
}


/* NABIC_HERO_BG_SOFT_V2 */
.nb4-sky{
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(180deg, #f4fbff 0%, #eef8ff 26%, #f9fcff 58%, #ffffff 100%);
}

/* هاله آبی خیلی ملایم زیر هدر */
.nb4-sky::before{
    content:"";
    position:absolute;
    top:-30px;
    left:0;
    right:0;
    height:260px;
    z-index:0;
    background:
        radial-gradient(1200px 280px at 50% 0%,
            rgba(143, 218, 255, .34) 0%,
            rgba(143, 218, 255, .20) 38%,
            rgba(143, 218, 255, .08) 58%,
            rgba(143, 218, 255, 0) 78%);
    pointer-events:none;
}

/* فرم‌های نرم گوشه‌ها و لبه پایین */
.nb4-sky::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
    background:
        radial-gradient(420px 240px at 8% 10%,
            rgba(134, 203, 255, .18) 0%,
            rgba(134, 203, 255, .10) 42%,
            rgba(134, 203, 255, 0) 72%),
        radial-gradient(500px 260px at 92% 14%,
            rgba(110, 198, 255, .16) 0%,
            rgba(110, 198, 255, .08) 40%,
            rgba(110, 198, 255, 0) 74%),
        radial-gradient(120% 180px at 50% 100%,
            rgba(255,255,255,0) 56%,
            rgba(255,255,255,.92) 73%,
            rgba(255,255,255,1) 100%);
}

/* محتوا روی بک‌گراند بماند */
.nb4-hero,
.nb4-services{
    position: relative;
    z-index: 2;
}

/* فاصله هیرو با هدر کمتر و طبیعی‌تر */
.nb4-hero{
    padding-top: 34px !important;
}

/* اگر کارت‌های خدمات زیر هیرو هستند، طبیعی‌تر بنشینند */
.nb4-services{
    margin-top: 6px !important;
}

@media (max-width: 991px){
    .nb4-sky::before{
        height: 180px;
        background:
            radial-gradient(900px 220px at 50% 0%,
                rgba(143, 218, 255, .28) 0%,
                rgba(143, 218, 255, .14) 42%,
                rgba(143, 218, 255, 0) 76%);
    }

    .nb4-hero{
        padding-top: 24px !important;
    }
}
/* END NABIC_HERO_BG_SOFT_V2 */


/* NABIC_REFERENCE_WAVES_V1 */

/* پس‌زمینه عمومی ملایم */
#nabic-home-v4 .nb4-sky {
    background: linear-gradient(
        180deg, #f8fcff 0%, #f5fbff 75%, #fff 100%
    ) !important;
}

/* منحنی‌های اصلی هیرو مطابق مرجع */
#nabic-home-v4 .nb4-hero {
    position: relative !important;
    isolation: isolate;
    overflow: visible !important;
    border-radius: 0 !important;

    background:
      url("../assets/nabic-home-v4/hero-waves.svg")
      center top / 100% 100% no-repeat !important;

    -webkit-mask-image: none !important;
    mask-image: none !important;
}

/* حذف افکت‌های دایره‌ای قبلی */
#nabic-home-v4 .nb4-hero::before,
#nabic-home-v4 .nb4-hero::after {
    content: none !important;
    display: none !important;
}

/* محتوا و ابر سه‌بعدی همیشه واضح باشند */
#nabic-home-v4 .nb4-hero > * {
    position: relative;
    z-index: 1;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

/* موبایل */
@media (max-width: 767px) {
    #nabic-home-v4 .nb4-hero {
        background-size: auto 100% !important;
        background-position: center top !important;
    }
}

/* END NABIC_REFERENCE_WAVES_V1 */


/* NABIC_HERO_NO_SHAPES_V1 */

/* Remove all visible background shapes and edges */
#nabic-home-v4 .nb4-hero {
    position: relative !important;
    overflow: hidden !important;
    border: none !important;
    border-radius: 0 !important;

    background-image:
        radial-gradient(
            ellipse 85% 85% at 65% 25%,
            rgba(151, 218, 255, .25) 0%,
            rgba(190, 234, 255, .13) 42%,
            rgba(255, 255, 255, 0) 78%
        ) !important;

    background-color: transparent !important;
    background-size: cover !important;

    -webkit-mask-image: none !important;
    mask-image: none !important;
}

/* Remove old decorative layers */
#nabic-home-v4 .nb4-hero::before,
#nabic-home-v4 .nb4-hero::after,
#nabic-home-v4 .nb4-sky::before,
#nabic-home-v4 .nb4-sky::after {
    content: none !important;
    display: none !important;
}

/* Background flows naturally from blue to white */
#nabic-home-v4 .nb4-sky {
    background:
        radial-gradient(
            ellipse 90% 65% at 53% 12%,
            rgba(170, 224, 255, .34) 0%,
            rgba(207, 238, 255, .17) 45%,
            rgba(255, 255, 255, 0) 85%
        ),
        linear-gradient(
            to bottom,
            #f5fbff 0%,
            #f8fcff 45%,
            #ffffff 100%
        ) !important;

    border: none !important;
    box-shadow: none !important;
}

/* Keep the hero content fully visible */
#nabic-home-v4 .nb4-hero > * {
    position: relative;
    z-index: 1;
    opacity: 1 !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

/* END NABIC_HERO_NO_SHAPES_V1 */


/* NABIC_SOFT_WAVES_V3 */

/* Soft overall background */
#nabic-home-v4 .nb4-sky {
    position: relative !important;
    isolation: isolate !important;
    background: linear-gradient(
        180deg,
        #f4fbff 0%,
        #f8fcff 60%,
        #ffffff 100%
    ) !important;
}

/* Remove previous background pseudo-elements */
#nabic-home-v4 .nb4-sky::before,
#nabic-home-v4 .nb4-sky::after {
    content: none !important;
    display: none !important;
}

/* Restore the waves as a transparent overlay */
#nabic-home-v4 .nb4-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    background: transparent !important;
    background-image: none !important;

    -webkit-mask-image: none !important;
    mask-image: none !important;
}

/* Waves fade out softly at all four edges */
#nabic-home-v4 .nb4-hero::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    pointer-events: none !important;

    background-image:
        url("../assets/nabic-home-v4/hero-waves.svg") !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;

    opacity: .72 !important;

    -webkit-mask-image:
        radial-gradient(
            ellipse 90% 82% at center,
            #000 40%,
            rgba(0,0,0,.85) 58%,
            rgba(0,0,0,.35) 80%,
            transparent 100%
        ) !important;

    mask-image:
        radial-gradient(
            ellipse 90% 82% at center,
            #000 40%,
            rgba(0,0,0,.85) 58%,
            rgba(0,0,0,.35) 80%,
            transparent 100%
        ) !important;
}

#nabic-home-v4 .nb4-hero::after {
    content: none !important;
    display: none !important;
}

/* Hero contents stay sharp */
#nabic-home-v4 .nb4-hero > * {
    position: relative !important;
    z-index: 1 !important;
    opacity: 1 !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

@media (max-width: 767px) {
    #nabic-home-v4 .nb4-hero::before {
        background-size: auto 100% !important;
        opacity: .55 !important;
    }
}


/* NABIC_REFERENCE_BORDERLESS_WAVES_V4 */

/* The hero and services share one continuous background */
#nabic-home-v4 .nb4-sky {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    background: linear-gradient(
        to bottom,
        #f7fcff 0%,
        #f3faff 40%,
        #ffffff 100%
    ) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Wave layer without a rectangular background */
#nabic-home-v4 .nb4-sky::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 0 auto 0 !important;
    width: 100% !important;
    height: 750px !important;
    z-index: 0 !important;
    pointer-events: none !important;

    background:
      url("../assets/nabic-home-v4/hero-waves-soft.svg")
      center top / 100% 100% no-repeat !important;

    opacity: 1 !important;
    transform: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

#nabic-home-v4 .nb4-sky::after {
    content: none !important;
    display: none !important;
}

/* Remove all previous hero-level shapes and masks */
#nabic-home-v4 .nb4-hero {
    position: relative !important;
    z-index: 1 !important;
    overflow: visible !important;
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

#nabic-home-v4 .nb4-hero::before,
#nabic-home-v4 .nb4-hero::after {
    content: none !important;
    display: none !important;
}

#nabic-home-v4 .nb4-services {
    position: relative !important;
    z-index: 1 !important;
    background: transparent !important;
}

/* Never fade the actual content or cloud */
#nabic-home-v4 .nb4-hero > *,
#nabic-home-v4 .nb4-services > * {
    opacity: 1 !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

@media (max-width: 767px) {
    #nabic-home-v4 .nb4-sky::before {
        height: 600px !important;
        background-size: auto 100% !important;
    }
}


/* NABIC_ACTUAL_WAVE_LAYER_V5 */

/* One shared canvas behind hero and services */
#nabic-home-v4 main {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
}

/* Dedicated decorative layer, not part of the hero card */
#nabic-home-v4 main > .nb4-wave-layer-v5 {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 900px !important;
    pointer-events: none !important;
    z-index: 0 !important;

    background:
      url("../assets/nabic-home-v4/hero-wave-layer.svg")
      center top / 100% 100% no-repeat !important;

    -webkit-mask-image:
      linear-gradient(to bottom,
        #000 0%, #000 57%,
        rgba(0,0,0,.78) 73%,
        transparent 100%) !important;
    mask-image:
      linear-gradient(to bottom,
        #000 0%, #000 57%,
        rgba(0,0,0,.78) 73%,
        transparent 100%) !important;
}

/* Remove previous shapes that obscure the real wave */
#nabic-home-v4 .nb4-hero,
#nabic-home-v4 .nb4-sky {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

#nabic-home-v4 .nb4-hero::before,
#nabic-home-v4 .nb4-hero::after,
#nabic-home-v4 .nb4-sky::before,
#nabic-home-v4 .nb4-sky::after {
    content: none !important;
    display: none !important;
}

/* Keep everything above the decorative SVG */
#nabic-home-v4 main > :not(.nb4-wave-layer-v5),
#nabic-home-v4 .nb4-sky > * {
    position: relative !important;
    z-index: 1 !important;
}

#nabic-home-v4 .nb4-services {
    background: transparent !important;
}

@media (max-width: 767px) {
    #nabic-home-v4 main > .nb4-wave-layer-v5 {
        height: 750px !important;
        background-size: auto 100% !important;
        background-position: center top !important;
    }
}

/* END NABIC_ACTUAL_WAVE_LAYER_V5 */



/* NABIC_REFERENCE_HERO_EXACT_V6 */

/* Clean continuous background */
#nabic-home-v4 main {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

#nabic-home-v4 main > .nb4-wave-layer-v5 {
    display: block !important;
    position: absolute !important;
    inset: 0 0 auto 0 !important;
    width: 100% !important;
    height: 760px !important;
    z-index: 0 !important;
    pointer-events: none !important;
    background: url("../assets/nabic-home-v4/hero-wave-layer.svg")
      center top / 100% 100% no-repeat !important;
    opacity: 1 !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

/* Light and airy; no hero rectangle */
#nabic-home-v4 .nb4-sky,
#nabic-home-v4 .nb4-hero {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

#nabic-home-v4 .nb4-sky::before,
#nabic-home-v4 .nb4-sky::after,
#nabic-home-v4 .nb4-hero::before,
#nabic-home-v4 .nb4-hero::after {
    content: none !important;
    display: none !important;
}

/* Mirror reference composition: copy left, cloud right */
@media (min-width: 992px) {
    #nabic-home-v4 .nb4-hero {
        direction: ltr !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        align-items: center !important;
    }

    #nabic-home-v4 .nb4-hero-copy {
        direction: rtl !important;
        text-align: right !important;
    }

    #nabic-home-v4 .nb4-hero-image {
        direction: rtl !important;
    }
}

/* Keep services above waves */
#nabic-home-v4 main > :not(.nb4-wave-layer-v5),
#nabic-home-v4 .nb4-sky > * {
    position: relative !important;
    z-index: 1 !important;
}

#nabic-home-v4 .nb4-services {
    background: transparent !important;
}

/* Prevent hard visual boundaries */
#nabic-home-v4 .nb4-hero,
#nabic-home-v4 .nb4-services {
    overflow: visible !important;
}



/* NABIC_REFERENCE_HERO_LAYOUT_V7 */

/* Shared background: no rectangular hero panel */
#nabic-home-v4 main {
    position: relative !important;
    isolation: isolate !important;
    background: #fafdff !important;
    overflow: hidden !important;
}

/* Remove the previous experimental wave layer */
#nabic-home-v4 main > .nb4-wave-layer-v5 {
    display: none !important;
}

/* New wave layer spans hero and services */
#nabic-home-v4 main::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 0 auto 0 !important;
    width: 100% !important;
    height: 790px !important;
    z-index: 0 !important;
    pointer-events: none !important;
    background:
        url("../assets/nabic-home-v4/hero-reference-v7.svg")
        center top / 100% 100% no-repeat !important;
}

/* Keep the rest of the page above the background */
#nabic-home-v4 main > :not(.nb4-wave-layer-v5) {
    position: relative !important;
    z-index: 1 !important;
}

#nabic-home-v4 .nb4-sky,
#nabic-home-v4 .nb4-services {
    background: transparent !important;
    background-image: none !important;
}

#nabic-home-v4 .nb4-sky::before,
#nabic-home-v4 .nb4-sky::after,
#nabic-home-v4 .nb4-hero::before,
#nabic-home-v4 .nb4-hero::after {
    content: none !important;
    display: none !important;
}

/* Text left, 3D cloud right — reference layout */
@media (min-width: 992px) {
    #nabic-home-v4 .nb4-hero {
        display: flex !important;
        flex-direction: row !important;
        direction: ltr !important;
        align-items: center !important;
        gap: 32px !important;
        min-height: 490px !important;
        padding: 35px 5% 40px !important;
    }

    #nabic-home-v4 .nb4-hero-copy {
        order: 1 !important;
        flex: 1 1 50% !important;
        min-width: 0 !important;
        direction: rtl !important;
        text-align: right !important;
    }

    #nabic-home-v4 .nb4-hero-image {
        order: 2 !important;
        flex: 1 1 50% !important;
        min-width: 0 !important;
    }

    #nabic-home-v4 .nb4-hero-image img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-height: 420px !important;
        object-fit: contain !important;
    }
}

/* Remove every sharp hero boundary */
#nabic-home-v4 .nb4-hero {
    position: relative !important;
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

/* Mobile keeps readable text and scaled waves */
@media (max-width: 991px) {
    #nabic-home-v4 main::before {
        height: 700px !important;
        background-size: auto 100% !important;
    }

    #nabic-home-v4 .nb4-hero {
        direction: rtl !important;
    }
}

/* END NABIC_REFERENCE_HERO_LAYOUT_V7 */


/* NABIC_HERO_IMAGE_BLEND_V1 */

/* Container: no white box */
#nabic-home-v4 .nb4-hero-image,
#nabic-home-v4 .nb4-hero-visual {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    isolation: auto !important;
}

/* Blend the image's white background into the hero */
#nabic-home-v4 .nb4-hero-image img,
#nabic-home-v4 .nb4-hero-visual img {
    display: block !important;
    background: transparent !important;
    mix-blend-mode: multiply !important;
    opacity: 1 !important;

    -webkit-mask-image: radial-gradient(
        ellipse 75% 77% at 50% 50%,
        #000 52%,
        rgba(0,0,0,.98) 65%,
        rgba(0,0,0,.75) 82%,
        transparent 100%
    ) !important;

    mask-image: radial-gradient(
        ellipse 75% 77% at 50% 50%,
        #000 52%,
        rgba(0,0,0,.98) 65%,
        rgba(0,0,0,.75) 82%,
        transparent 100%
    ) !important;
}

/* END NABIC_HERO_IMAGE_BLEND_V1 */


/* NABIC_HERO_IMAGE_SMALLER_V1 */

/* Reduce only the hero image by 20% */
#nabic-home-v4 .nb4-hero-image img,
#nabic-home-v4 .nb4-hero-visual img {
    width: 80% !important;
    max-width: 80% !important;
    height: auto !important;
    margin: 0 auto !important;
    transform: none !important;
    object-fit: contain !important;
}

@media (max-width: 767px) {
    #nabic-home-v4 .nb4-hero-image img,
    #nabic-home-v4 .nb4-hero-visual img {
        width: 90% !important;
        max-width: 90% !important;
    }
}


/* NABIC_HERO_EDGE_FADE_V2 */

/* Remove visible rectangular image boundaries */
#nabic-home-v4 .nb4-hero-image img,
#nabic-home-v4 .nb4-hero-visual img {

    /* Keep the existing image size */
    background: transparent !important;
    opacity: 1 !important;

    /* Smooth transition on all four edges */
    -webkit-mask-image: radial-gradient(
        ellipse 82% 88% at 50% 46%,
        #000 58%,
        rgba(0,0,0,.97) 70%,
        rgba(0,0,0,.72) 83%,
        rgba(0,0,0,.25) 94%,
        transparent 100%
    ) !important;

    mask-image: radial-gradient(
        ellipse 82% 88% at 50% 46%,
        #000 58%,
        rgba(0,0,0,.97) 70%,
        rgba(0,0,0,.72) 83%,
        rgba(0,0,0,.25) 94%,
        transparent 100%
    ) !important;

    mix-blend-mode: normal !important;
}

/* No separate background or border on the image container */
#nabic-home-v4 .nb4-hero-image,
#nabic-home-v4 .nb4-hero-visual {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}


/* NABIC_CLEAN_HERO_IMAGE_FINAL */
#nabic-home-v4 .nb4-hero-image,
#nabic-home-v4 .nb4-hero-visual {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#nabic-home-v4 .nb4-hero-image img,
#nabic-home-v4 .nb4-hero-visual img {
    background: transparent !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    filter: none !important;
}



/* NABIC_HOME_INFINITE_EDGES_V1 */

/* Remove visible side gutters on the homepage */
body.nb4-preview-mode {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: clip !important;
    background: #f8fcff !important;
}

#nabic-home-v4 {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f8fcff !important;
}

/* Full-width background canvas */
#nabic-home-v4 main {
    position: relative !important;
    isolation: isolate !important;
    overflow: clip !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background:
        linear-gradient(
            180deg,
            #f8fcff 0%,
            #f7fbff 45%,
            #ffffff 100%
        ) !important;
}

/* Extend the waves across the entire available width */
#nabic-home-v4 main::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    right: auto !important;
    width: 100vw !important;
    max-width: none !important;
    height: 790px !important;
    transform: translateX(-50%) !important;
    pointer-events: none !important;
    z-index: 0 !important;

    /* Retain the reference wave artwork */
    background:
        url("../assets/nabic-home-v4/hero-reference-v7.svg")
        center top / 100% 100% no-repeat !important;

    /* Fade horizontally rather than clipping at the edges */
    -webkit-mask-image:
        linear-gradient(
            to right,
            transparent 0%,
            rgba(0,0,0,.45) 5%,
            #000 16%,
            #000 84%,
            rgba(0,0,0,.45) 95%,
            transparent 100%
        ) !important;

    mask-image:
        linear-gradient(
            to right,
            transparent 0%,
            rgba(0,0,0,.45) 5%,
            #000 16%,
            #000 84%,
            rgba(0,0,0,.45) 95%,
            transparent 100%
        ) !important;
}

/* Prevent the hero and services from forming boxes */
#nabic-home-v4 .nb4-sky,
#nabic-home-v4 .nb4-hero {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

#nabic-home-v4 .nb4-sky::before,
#nabic-home-v4 .nb4-sky::after,
#nabic-home-v4 .nb4-hero::before,
#nabic-home-v4 .nb4-hero::after {
    display: none !important;
    content: none !important;
}

/* Keep existing layout above the waves */
#nabic-home-v4 main > :not(.nb4-wave-layer-v5) {
    position: relative !important;
    z-index: 1 !important;
}

@media (max-width: 767px) {
    #nabic-home-v4 main::before {
        height: 650px !important;
        background-size: auto 100% !important;
    }
}

/* END NABIC_HOME_INFINITE_EDGES_V1 */


/* NABIC_BINARY_RAIN_CSS_V1 */

#nabic-home-v4 .nb4-hero {
    position: relative !important;
    isolation: isolate;
}

/* Decorative binary data in the upper-left corner */
#nabic-home-v4 .nb4-binary-rain {
    position: absolute !important;
    top: 8px !important;
    left: 0 !important;
    right: auto !important;

    width: 315px !important;
    height: 340px !important;

    display: grid !important;
    grid-template-columns: repeat(16, 1fr) !important;
    gap: 3px !important;

    overflow: hidden !important;
    pointer-events: none !important;
    user-select: none !important;

    direction: ltr !important;
    z-index: 0 !important;

    opacity: .38 !important;

    -webkit-mask-image: radial-gradient(
        ellipse 95% 88% at 8% 16%,
        #000 0%,
        rgba(0,0,0,.85) 28%,
        rgba(0,0,0,.35) 58%,
        transparent 83%
    ) !important;

    mask-image: radial-gradient(
        ellipse 95% 88% at 8% 16%,
        #000 0%,
        rgba(0,0,0,.85) 28%,
        rgba(0,0,0,.35) 58%,
        transparent 83%
    ) !important;
}

#nabic-home-v4 .nb4-binary-column {
    display: block !important;
    white-space: pre !important;
    text-align: center !important;
    direction: ltr !important;

    font-family: monospace !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.8 !important;

    color: #008ee9 !important;

    animation: nb4BinaryFall var(--speed)
        linear var(--delay) infinite alternate !important;

    will-change: transform;
}

@keyframes nb4BinaryFall {
    from {
        transform: translate3d(0,-35%,0);
    }
    to {
        transform: translate3d(0,0,0);
    }
}

/* Actual content stays above binary decoration */
#nabic-home-v4 .nb4-hero-content,
#nabic-home-v4 .nb4-hero-copy,
#nabic-home-v4 .nb4-hero-visual,
#nabic-home-v4 .nb4-hero-image {
    position: relative !important;
    z-index: 2 !important;
}

/* Mobile */
@media (max-width: 767px) {
    #nabic-home-v4 .nb4-binary-rain {
        width: 185px !important;
        height: 190px !important;
        opacity: .22 !important;
    }

    #nabic-home-v4 .nb4-binary-column {
        font-size: 9px !important;
    }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    #nabic-home-v4 .nb4-binary-column {
        animation: none !important;
        transform: none !important;
    }
}

/* END NABIC_BINARY_RAIN_CSS_V1 */


/* NABIC_BINARY_TRANSPARENT_BG_V1 */

/* Remove background behind animated 0 and 1 */
#nabic-home-v4 .nb4-binary-rain {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Remove decorative background layers */
#nabic-home-v4 .nb4-binary-rain::before,
#nabic-home-v4 .nb4-binary-rain::after {
    content: none !important;
    display: none !important;
}

#nabic-home-v4 .nb4-binary-column {
    background: transparent !important;
}


/* NABIC_BINARY_CORNER_CLEAN_V1 */
#nabic-home-v4 main::before {
    background-image:
        url("../assets/nabic-home-v4/hero-reference-no-corner.svg")
        !important;
}


/* NABIC_HERO_IMAGE_UP_V1 */

/* Move only the cloud and its pedestal upward */
#nabic-home-v4 .nb4-hero-visual img,
#nabic-home-v4 .nb4-hero-image img {
    transform: translateY(-40px) !important;
}

/* Mobile: smaller adjustment */
@media (max-width: 767px) {
    #nabic-home-v4 .nb4-hero-visual img,
    #nabic-home-v4 .nb4-hero-image img {
        transform: translateY(-20px) !important;
    }
}

/* END NABIC_HERO_IMAGE_UP_V1 */



/* NABIC_BTN_HOVER_COLOR_V1 */

#nabic-home-v4 .nb4-btn-primary:hover,
#nabic-home-v4 .nb4-btn-primary:focus,
#nabic-home-v4 .nb4-btn-primary:active,
#nabic-home-v4 .nb4-hero-actions .btn-primary:hover,
#nabic-home-v4 .nb4-hero-actions .btn-primary:focus,
#nabic-home-v4 .nb4-hero-actions .btn-primary:active {
    background: #FF9F1C !important;
    border-color: #F08C00 !important;
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(255, 159, 28, 0.28) !important;
}

/* END NABIC_BTN_HOVER_COLOR_V1 */


/* NABIC_HERO_COMPACT_V2 */

/* 20% smaller, keeping the previous 40px upward offset */
@media (min-width: 768px) {
    #nabic-home-v4 .nb4-hero-image img,
    #nabic-home-v4 .nb4-hero-visual img {
        transform: translateY(-40px) scale(0.80) !important;
        transform-origin: center center !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    #nabic-home-v4 .nb4-hero-image img,
    #nabic-home-v4 .nb4-hero-visual img {
        transform: translateY(-20px) scale(0.90) !important;
        transform-origin: center center !important;
    }
}


/* NABIC_HERO_TILT_V1 */

#nabic-home-v4 .nb4-hero-image,
#nabic-home-v4 .nb4-hero-visual {
    perspective: 1100px !important;
    background: transparent !important;
}

#nabic-home-v4 .nb4-hero-image img,
#nabic-home-v4 .nb4-hero-visual img {
    transform-origin: center center !important;
    transform-style: preserve-3d !important;
    transition: transform 280ms ease-out !important;
    cursor: default !important;
    backface-visibility: hidden !important;
}

@media (prefers-reduced-motion: reduce) {
    #nabic-home-v4 .nb4-hero-image img,
    #nabic-home-v4 .nb4-hero-visual img {
        transition: none !important;
    }
}


/* NABIC_HEADER_REGISTER_V1 */

#nabic-home-v4 .nb4-register-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    gap: 8px !important;
    min-height: 52px !important;
    padding: 0 22px !important;
    background: #fff !important;
    color: #008fc8 !important;
    border: 1px solid #b7e7fb !important;
    border-radius: 16px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    transition: background .2s ease, color .2s ease,
                border-color .2s ease !important;
}

#nabic-home-v4 .nb4-register-btn:hover,
#nabic-home-v4 .nb4-register-btn:focus-visible {
    background: #00AEEF !important;
    border-color: #00AEEF !important;
    color: #fff !important;
}

#nabic-home-v4 .nb4-register-btn svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
}

@media (max-width: 767px) {
    #nabic-home-v4 .nb4-register-btn {
        min-height: 42px !important;
        padding: 0 12px !important;
        font-size: 12px !important;
    }
}


/* NABIC_HERO_SCALE_110_V1 */

@media (min-width: 768px) {
    #nabic-home-v4 .nb4-hero-image img,
    #nabic-home-v4 .nb4-hero-visual img {
        transform: translateY(-40px) scale(0.88) !important;
        transform-origin: center center !important;
    }
}

@media (max-width: 767px) {
    #nabic-home-v4 .nb4-hero-image img,
    #nabic-home-v4 .nb4-hero-visual img {
        transform: translateY(-20px) scale(0.99) !important;
        transform-origin: center center !important;
    }
}

/* END NABIC_HERO_SCALE_110_V1 */


/* NABIC_CONSULT_HOVER_V1 */

/* Consultation button only */
#nabic-home-v4 a[href*="submitticket.php"]:hover,
#nabic-home-v4 a[href*="submitticket.php"]:focus-visible {
    background: #00AEED !important;
    background-image: none !important;
    border-color: #00AEED !important;
    color: #ffffff !important;
    box-shadow: 0 8px 22px rgba(0, 174, 237, .22) !important;
}

#nabic-home-v4 a[href*="submitticket.php"]:hover svg,
#nabic-home-v4 a[href*="submitticket.php"]:focus-visible svg {
    color: #ffffff !important;
    stroke: currentColor !important;
}

/* END NABIC_CONSULT_HOVER_V1 */



/* NABIC_HERO_BUTTON_COLORS_V2 */

/* Server order - default */
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"] {
    background: #00AEED !important;
    background-image: none !important;
    border-color: #00AEED !important;
    color: #000000 !important;
}

/* Server order - hover */
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"]:hover,
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"]:focus-visible {
    background: #F08C00 !important;
    background-image: none !important;
    border-color: #F08C00 !important;
    color: #000000 !important;
}

/* Consultation - default */
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"] {
    background: #F08C00 !important;
    background-image: none !important;
    border-color: #F08C00 !important;
    color: #000000 !important;
}

/* Consultation - hover */
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"]:hover,
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"]:focus-visible {
    background: #00AEED !important;
    background-image: none !important;
    border-color: #00AEED !important;
    color: #000000 !important;
}

/* Keep button text and icons black in every state */
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"] *,
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"] * {
    color: #000000 !important;
}

#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"] svg,
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"] svg {
    stroke: currentColor !important;
}

/* Smooth hover transition */
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"],
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"] {
    transition:
        background-color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease !important;
}

/* END NABIC_HERO_BUTTON_COLORS_V2 */



/* NABIC_HERO_BUTTON_TEXT_V3 */

/* Both hero buttons: white text, no icons */
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"],
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"],
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"]:hover,
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"]:hover,
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"]:focus-visible,
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"]:focus-visible {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* No icons inside these buttons */
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"] svg,
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"] svg,
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"] i,
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"] i {
    display: none !important;
}

/* END NABIC_HERO_BUTTON_TEXT_V3 */



/* NABIC_HERO_BUTTON_3D_V1 */

/* Common 3D button style */
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"],
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"] {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 50px !important;
    min-height: 54px !important;
    padding: 13px 30px !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.16) !important;
    transform: translateY(0) !important;
    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease !important;
}

/* Blue button - default */
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"] {
    background: linear-gradient(
        180deg,
        #47D4FF 0%,
        #00AEED 35%,
        #0086DC 78%,
        #0067C8 100%
    ) !important;
    border: 1px solid #008CD9 !important;
    box-shadow:
        inset 0 2px 2px rgba(255,255,255,.65),
        inset 0 -3px 5px rgba(0,65,150,.26),
        0 5px 0 #0068B4,
        0 12px 23px rgba(0,135,220,.24) !important;
}

/* Orange button - default */
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"] {
    background: linear-gradient(
        180deg,
        #FFD28C 0%,
        #FFAC3A 30%,
        #F08C00 75%,
        #D87500 100%
    ) !important;
    border: 1px solid #E08000 !important;
    box-shadow:
        inset 0 2px 2px rgba(255,255,255,.7),
        inset 0 -3px 5px rgba(145,68,0,.22),
        0 5px 0 #B76500,
        0 12px 23px rgba(240,140,0,.23) !important;
}

/* Server button hover: orange */
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"]:hover,
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"]:focus-visible {
    background: linear-gradient(
        180deg,
        #FFD28C 0%,
        #FFAC3A 30%,
        #F08C00 75%,
        #D87500 100%
    ) !important;
    border-color: #E08000 !important;
    box-shadow:
        inset 0 2px 2px rgba(255,255,255,.7),
        inset 0 -3px 5px rgba(145,68,0,.22),
        0 7px 0 #B76500,
        0 16px 27px rgba(240,140,0,.28) !important;
    transform: translateY(-2px) !important;
}

/* Consultation button hover: blue */
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"]:hover,
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"]:focus-visible {
    background: linear-gradient(
        180deg,
        #47D4FF 0%,
        #00AEED 35%,
        #0086DC 78%,
        #0067C8 100%
    ) !important;
    border-color: #008CD9 !important;
    box-shadow:
        inset 0 2px 2px rgba(255,255,255,.65),
        inset 0 -3px 5px rgba(0,65,150,.26),
        0 7px 0 #0068B4,
        0 16px 27px rgba(0,135,220,.28) !important;
    transform: translateY(-2px) !important;
}

/* Press effect */
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"]:active,
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"]:active {
    transform: translateY(3px) !important;
    box-shadow: inset 0 2px 6px rgba(0,0,0,.2) !important;
}

/* White text everywhere */
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"],
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"],
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"] *,
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"] * {
    color: #ffffff !important;
}

/* END NABIC_HERO_BUTTON_3D_V1 */


/* NABIC_HERO_CLEAN_BUTTONS_V1 */

#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"],
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"] {
    background: #00AEED !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border: 1px solid transparent !important;
    border-radius: 50px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transform: none !important;
    transition: background-color .2s ease !important;
}

/* Server order: blue */
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"] {
    background: #00AEED !important;
}

/* Consultation: orange */
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"] {
    background: #F08C00 !important;
}

/* Reverse colors on hover */
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"]:hover,
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"]:focus-visible {
    background: #F08C00 !important;
}

#nabic-home-v4 .nb4-hero a[href*="submitticket.php"]:hover,
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"]:focus-visible {
    background: #00AEED !important;
}

/* No shadows or movement in any state */
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"],
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"],
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"]:hover,
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"]:hover,
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"]:active,
#nabic-home-v4 .nb4-hero a[href*="submitticket.php"]:active {
    box-shadow: none !important;
    text-shadow: none !important;
    transform: none !important;
    color: #FFFFFF !important;
}

/* END NABIC_HERO_CLEAN_BUTTONS_V1 */



/* NABIC_HEADER_SOFT_BLUE_V1 */

/* Homepage header only */
#nabic-home-v4 .nb4-header,
#nabic-home-v4 > header {
    background: linear-gradient(
        105deg,
        #FFFFFF 0%,
        #F7FCFF 48%,
        #EFFAFF 100%
    ) !important;

    background-color: #F7FCFF !important;
    background-image: linear-gradient(
        105deg,
        #FFFFFF 0%,
        #F7FCFF 48%,
        #EFFAFF 100%
    ) !important;
}

/* END NABIC_HEADER_SOFT_BLUE_V1 */


/* NABIC_ORDER_CART_ICON_V1 */
#nabic-home-v4 .nb4-hero a[href*="/store/iranvps"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
}

#nabic-home-v4 .nabic-order-cart-icon {
    width: 19px !important;
    height: 19px !important;
    flex-shrink: 0 !important;
    color: #fff !important;
}









/* NABIC_ORDER_ICON_CSS_V3 */

/* Only the server order button */
#nabic-home-v4 .nb4-hero-actions a.nb4-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row !important;
    gap: 10px !important;
    white-space: nowrap !important;
}

#nabic-home-v4 .nb4-hero-actions a.nb4-btn-primary::before {
    content: "" !important;
    display: inline-block !important;
    position: static !important;
    width: 19px !important;
    height: 19px !important;
    min-width: 19px !important;
    flex: 0 0 19px !important;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%2221%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%2220%22%20cy%3D%2221%22%20r%3D%221%22%2F%3E%3Cpath%20d%3D%22M1%201h4l2.7%2013.4a2%202%200%200%200%202%201.6h9.7a2%202%200%200%200%202-1.6L23%206H6%22%2F%3E%3C%2Fsvg%3E") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* END NABIC_ORDER_ICON_CSS_V3 */





/* NABIC_BG_UNIFIED_V1 */

/* Continuous background without a visible rectangle */
body.nabic-home-v4-active,
#nabic-home-v4,
#nabic-home-v4 main {
    background-color: #F8FCFF !important;
}

/* Hero has no independent rectangular background */
#nabic-home-v4 .nb4-hero {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

/* Keep existing wave artwork, remove horizontal clipping */
#nabic-home-v4 main::before {
    -webkit-mask-image: none !important;
    mask-image: none !important;
    width: 100% !important;
    left: 0 !important;
    transform: none !important;
}

/* Preserve decorative layer without a colored box */
#nabic-home-v4 .nb4-wave-layer-v5 {
    background-color: transparent !important;
    pointer-events: none !important;
}

/* END NABIC_BG_UNIFIED_V1 */



/* NABIC_AURORA_HERO_ONLY_V2 */

/* No colored background behind the header */
#nabic-home-v4 {
    background: #f8fcff !important;
}

/* Soft glow confined to the hero */
#nabic-home-v4 .nb4-hero {
    background-image:
        radial-gradient(
            ellipse 55% 75% at 5% 15%,
            rgba(40, 125, 255, .20),
            transparent 100%
        ),
        radial-gradient(
            ellipse 55% 75% at 95% 15%,
            rgba(0, 174, 237, .25),
            transparent 100%
        ) !important;

    background-color: transparent !important;
    background-repeat: no-repeat !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* END NABIC_AURORA_HERO_ONLY_V2 */


/* NABIC_SEAMLESS_AURORA_GRID_FINAL */

/* One continuous background behind the entire homepage */
#nabic-home-v4 {
    position: relative !important;
    isolation: isolate !important;
    background: #f8fcff !important;
}

/* Aurora + subtle grid on the same full-page canvas */
#nabic-home-v4::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 0 auto 0 !important;
    width: 100% !important;
    height: 1150px !important;
    z-index: 0 !important;
    pointer-events: none !important;

    background-image:
        linear-gradient(
            rgba(0, 132, 200, .045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0, 132, 200, .045) 1px,
            transparent 1px
        ),
        radial-gradient(
            ellipse 55% 55% at 0% 0%,
            rgba(42, 112, 255, .42),
            transparent 85%
        ),
        radial-gradient(
            ellipse 55% 55% at 100% 0%,
            rgba(0, 174, 237, .48),
            transparent 85%
        ),
        radial-gradient(
            ellipse 42% 35% at 50% 32%,
            rgba(0, 174, 237, .10),
            transparent 100%
        ) !important;

    background-size:
        36px 36px,
        36px 36px,
        100% 100%,
        100% 100%,
        100% 100% !important;

    background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat !important;

    -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 18%,
        rgba(0,0,0,.7) 43%,
        transparent 100%
    ) !important;

    mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 18%,
        rgba(0,0,0,.7) 43%,
        transparent 100%
    ) !important;
}

/* Keep the actual page content above the background */
#nabic-home-v4 > header,
#nabic-home-v4 > main,
#nabic-home-v4 > footer {
    position: relative !important;
    z-index: 1 !important;
}

/* No separate rectangular hero background */
#nabic-home-v4 .nb4-hero {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Make main transparent so the unified background is visible */
#nabic-home-v4 main {
    background: transparent !important;
    background-color: transparent !important;
}

/* Keep header background transparent within the design */
#nabic-home-v4 .nb4-header {
    background-color: rgba(248, 252, 255, .82) !important;
}

/* END NABIC_SEAMLESS_AURORA_GRID_FINAL */


/* NABIC_HEADER_BLEND_V1 */

/* Header shares the same background as the page */
#nabic-home-v4 .nb4-header,
#nabic-home-v4 .nb4-header-v2 {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    border-bottom: 0 !important;
    box-shadow: none !important;
}

/* Remove any decorative overlay on the header */
#nabic-home-v4 .nb4-header::before,
#nabic-home-v4 .nb4-header::after {
    background: transparent !important;
    box-shadow: none !important;
}

/* Keep navigation and buttons unchanged */

/* END NABIC_HEADER_BLEND_V1 */


/* NABIC_DROPDOWN_LAYER_FIX_V1 */

/* Header must stay above the hero */
#nabic-home-v4 > .nb4-header {
    position: relative !important;
    z-index: 1000 !important;
    overflow: visible !important;
}

/* Hero and its image remain below the navigation */
#nabic-home-v4 > main {
    position: relative !important;
    z-index: 1 !important;
}

/* Dropdown positioning */
#nabic-home-v4 .nb4-products-dropdown {
    position: relative !important;
    z-index: 1001 !important;
}

#nabic-home-v4 .nb4-products-menu {
    position: absolute !important;
    z-index: 1002 !important;
}

/* Prevent clipping */
#nabic-home-v4 .nb4-nav {
    overflow: visible !important;
}

/* END NABIC_DROPDOWN_LAYER_FIX_V1 */


/* NABIC_FLOATING_HEADER_V1 */

#nabic-home-v4 > .nb4-header {
    position: relative !important;
    z-index: 1000 !important;

    background: rgba(248, 252, 255, .58) !important;

    -webkit-backdrop-filter: blur(18px) saturate(145%) !important;
    backdrop-filter: blur(18px) saturate(145%) !important;

    border: 1px solid rgba(255,255,255,.48) !important;
    border-top: 0 !important;
    border-radius: 0 0 28px 28px !important;

    box-shadow:
        0 10px 30px rgba(18, 67, 110, .10),
        0 2px 8px rgba(18, 67, 110, .035),
        inset 0 -1px 0 rgba(255,255,255,.55) !important;

    overflow: visible !important;
}

/* Keep the dropdown above the hero */
#nabic-home-v4 .nb4-products-dropdown {
    position: relative !important;
    z-index: 1001 !important;
}

#nabic-home-v4 .nb4-products-menu {
    z-index: 1002 !important;
}

#nabic-home-v4 > main {
    position: relative !important;
    z-index: 1 !important;
}

@media (max-width: 767px) {
    #nabic-home-v4 > .nb4-header {
        border-radius: 0 0 20px 20px !important;
        -webkit-backdrop-filter: blur(12px) !important;
        backdrop-filter: blur(12px) !important;
    }
}

/* END NABIC_FLOATING_HEADER_V1 */

/* NABIC_HEADER_SQUARE_BOTTOM_V1 */
#nabic-home-v4 header,
#nabic-home-v4 .nb4-header,
#nabic-home-v4 .nb4-navbar {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
/* END NABIC_HEADER_SQUARE_BOTTOM_V1 */



/* NABIC_HEADER_BUTTON_SIZE_V1 */

#nabic-home-v4 header a[href*="clientarea.php"],
#nabic-home-v4 header a[href*="register.php"],
#nabic-home-v4 .nb4-header a[href*="clientarea.php"],
#nabic-home-v4 .nb4-header a[href*="register.php"] {
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    gap: 7px !important;
    width: auto !important;
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#nabic-home-v4 header a[href*="clientarea.php"] svg,
#nabic-home-v4 header a[href*="register.php"] svg,
#nabic-home-v4 .nb4-header a[href*="clientarea.php"] svg,
#nabic-home-v4 .nb4-header a[href*="register.php"] svg {
    width: 17px !important;
    height: 17px !important;
}

/* END NABIC_HEADER_BUTTON_SIZE_V1 */


/* NABIC_HEADER_GLASS_BUTTONS_V1 */

#nabic-home-v4 header a[href*="clientarea.php"],
#nabic-home-v4 header a[href*="register.php"],
#nabic-home-v4 .nb4-header a[href*="clientarea.php"],
#nabic-home-v4 .nb4-header a[href*="register.php"],
#nabic-home-v4 header a[href*="clientarea.php"]:hover,
#nabic-home-v4 header a[href*="register.php"]:hover,
#nabic-home-v4 .nb4-header a[href*="clientarea.php"]:hover,
#nabic-home-v4 .nb4-header a[href*="register.php"]:hover {
    background: rgba(255,255,255,.38) !important;
    background-image: none !important;
    color: #075B89 !important;
    border: 1px solid rgba(255,255,255,.75) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    backdrop-filter: blur(14px) saturate(135%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(135%) !important;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
}

#nabic-home-v4 header a[href*="clientarea.php"] svg,
#nabic-home-v4 header a[href*="register.php"] svg,
#nabic-home-v4 .nb4-header a[href*="clientarea.php"] svg,
#nabic-home-v4 .nb4-header a[href*="register.php"] svg {
    color: #075B89 !important;
    stroke: currentColor !important;
}

/* END NABIC_HEADER_GLASS_BUTTONS_V1 */

/* NABIC_HEADER_GLASS_SMALL_V1 */
#nabic-home-v4 header a[href*="clientarea.php"],
#nabic-home-v4 header a[href*="register.php"],
#nabic-home-v4 .nb4-header a[href*="clientarea.php"],
#nabic-home-v4 .nb4-header a[href*="register.php"] {
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    gap: 5px !important;
}

#nabic-home-v4 header a[href*="clientarea.php"] svg,
#nabic-home-v4 header a[href*="register.php"] svg,
#nabic-home-v4 .nb4-header a[href*="clientarea.php"] svg,
#nabic-home-v4 .nb4-header a[href*="register.php"] svg {
    width: 15px !important;
    height: 15px !important;
}
/* END NABIC_HEADER_GLASS_SMALL_V1 */


/* NABIC_HEADER_BUTTONS_LIGHT_BLUE_V1 */
#nabic-home-v4 header a[href*="clientarea.php"],
#nabic-home-v4 header a[href*="register.php"],
#nabic-home-v4 .nb4-header a[href*="clientarea.php"],
#nabic-home-v4 .nb4-header a[href*="register.php"],
#nabic-home-v4 header a[href*="clientarea.php"]:hover,
#nabic-home-v4 header a[href*="register.php"]:hover,
#nabic-home-v4 .nb4-header a[href*="clientarea.php"]:hover,
#nabic-home-v4 .nb4-header a[href*="register.php"]:hover {
    background: #e4f6ff !important;
    background-image: none !important;
    color: #00aeed !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
}

#nabic-home-v4 header a[href*="clientarea.php"] svg,
#nabic-home-v4 header a[href*="register.php"] svg {
    color: #00aeed !important;
    stroke: currentColor !important;
}
/* END NABIC_HEADER_BUTTONS_LIGHT_BLUE_V1 */


/* NABIC_HEADER_BUTTONS_DARK_TEXT_V1 */
#nabic-home-v4 header a[href*="clientarea.php"],
#nabic-home-v4 header a[href*="register.php"],
#nabic-home-v4 header a[href*="clientarea.php"]:hover,
#nabic-home-v4 header a[href*="register.php"]:hover,
#nabic-home-v4 .nb4-header a[href*="clientarea.php"],
#nabic-home-v4 .nb4-header a[href*="register.php"],
#nabic-home-v4 .nb4-header a[href*="clientarea.php"]:hover,
#nabic-home-v4 .nb4-header a[href*="register.php"]:hover {
    background: #e4f6ff !important;
    color: #172b4d !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

#nabic-home-v4 header a[href*="clientarea.php"] svg,
#nabic-home-v4 header a[href*="register.php"] svg,
#nabic-home-v4 .nb4-header a[href*="clientarea.php"] svg,
#nabic-home-v4 .nb4-header a[href*="register.php"] svg {
    color: #172b4d !important;
    stroke: currentColor !important;
}
/* END NABIC_HEADER_BUTTONS_DARK_TEXT_V1 */



/* NABIC_HEADER_BUTTON_COLORS_V2 */

/* Both buttons: 2 sizes larger */
#nabic-home-v4 header a[href*="clientarea.php"],
#nabic-home-v4 header a[href*="register.php"],
#nabic-home-v4 .nb4-header a[href*="clientarea.php"],
#nabic-home-v4 .nb4-header a[href*="register.php"] {
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 17px !important;
    font-size: 14px !important;
    gap: 7px !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Login: blue background, white text */
#nabic-home-v4 header a[href*="clientarea.php"],
#nabic-home-v4 header a[href*="clientarea.php"]:hover,
#nabic-home-v4 header a[href*="clientarea.php"]:focus,
#nabic-home-v4 .nb4-header a[href*="clientarea.php"],
#nabic-home-v4 .nb4-header a[href*="clientarea.php"]:hover {
    background: #00aeed !important;
    background-image: none !important;
    color: #ffffff !important;
    border: 1px solid #00aeed !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Register: white background, dark text */
#nabic-home-v4 header a[href*="register.php"],
#nabic-home-v4 header a[href*="register.php"]:hover,
#nabic-home-v4 header a[href*="register.php"]:focus,
#nabic-home-v4 .nb4-header a[href*="register.php"],
#nabic-home-v4 .nb4-header a[href*="register.php"]:hover {
    background: #ffffff !important;
    background-image: none !important;
    color: #172b4d !important;
    border: 1px solid rgba(0,174,237,.15) !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Icon sizes and colors */
#nabic-home-v4 header a[href*="clientarea.php"] svg,
#nabic-home-v4 header a[href*="register.php"] svg,
#nabic-home-v4 .nb4-header a[href*="clientarea.php"] svg,
#nabic-home-v4 .nb4-header a[href*="register.php"] svg {
    width: 17px !important;
    height: 17px !important;
}

#nabic-home-v4 header a[href*="clientarea.php"] svg,
#nabic-home-v4 .nb4-header a[href*="clientarea.php"] svg {
    color: #ffffff !important;
    stroke: currentColor !important;
}

#nabic-home-v4 header a[href*="register.php"] svg,
#nabic-home-v4 .nb4-header a[href*="register.php"] svg {
    color: #172b4d !important;
    stroke: currentColor !important;
}

/* END NABIC_HEADER_BUTTON_COLORS_V2 */


/* NABIC_HEADER_SWAP_COLORS_V1 */

/* Login: white */
#nabic-home-v4 header a[href*="clientarea.php"],
#nabic-home-v4 header a[href*="clientarea.php"]:hover,
#nabic-home-v4 header a[href*="clientarea.php"]:focus,
#nabic-home-v4 .nb4-header a[href*="clientarea.php"],
#nabic-home-v4 .nb4-header a[href*="clientarea.php"]:hover {
    background: #ffffff !important;
    background-image: none !important;
    color: #172b4d !important;
    border: 1px solid rgba(0,174,237,.15) !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Register: blue */
#nabic-home-v4 header a[href*="register.php"],
#nabic-home-v4 header a[href*="register.php"]:hover,
#nabic-home-v4 header a[href*="register.php"]:focus,
#nabic-home-v4 .nb4-header a[href*="register.php"],
#nabic-home-v4 .nb4-header a[href*="register.php"]:hover {
    background: #00aeed !important;
    background-image: none !important;
    color: #ffffff !important;
    border: 1px solid #00aeed !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Icon colors */
#nabic-home-v4 header a[href*="clientarea.php"] svg,
#nabic-home-v4 .nb4-header a[href*="clientarea.php"] svg {
    color: #172b4d !important;
    stroke: currentColor !important;
}

#nabic-home-v4 header a[href*="register.php"] svg,
#nabic-home-v4 .nb4-header a[href*="register.php"] svg {
    color: #ffffff !important;
    stroke: currentColor !important;
}

/* END NABIC_HEADER_SWAP_COLORS_V1 */

/* NABIC_HEADER_EQUAL_FONT_V1 */
#nabic-home-v4 header a[href*="clientarea.php"],
#nabic-home-v4 header a[href*="register.php"],
#nabic-home-v4 .nb4-header a[href*="clientarea.php"],
#nabic-home-v4 .nb4-header a[href*="register.php"] {
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
}

#nabic-home-v4 header a[href*="clientarea.php"] *,
#nabic-home-v4 header a[href*="register.php"] *,
#nabic-home-v4 .nb4-header a[href*="clientarea.php"] *,
#nabic-home-v4 .nb4-header a[href*="register.php"] * {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}
/* END NABIC_HEADER_EQUAL_FONT_V1 */



/* NABIC_HEADER_VAZIRMATN_V1 */
@font-face {
    font-family: 'NabicVazirmatn';
    src: url('/templates/emyui-hero/fonts/woff/Vazirmatn-Variable.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

#nabic-home-v4 header,
#nabic-home-v4 header a,
#nabic-home-v4 header button,
#nabic-home-v4 header span,
#nabic-home-v4 .nb4-header,
#nabic-home-v4 .nb4-header a,
#nabic-home-v4 .nb4-header button,
#nabic-home-v4 .nb4-header span {
    font-family: 'NabicVazirmatn', sans-serif !important;
}
/* END NABIC_HEADER_VAZIRMATN_V1 */

/* NABIC_NAV_FONT_SIZE_V1 */
#nabic-home-v4 header nav a,
#nabic-home-v4 .nb4-header nav a,
#nabic-home-v4 header .dropdown-toggle,
#nabic-home-v4 .nb4-header .dropdown-toggle {
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
}
/* END NABIC_NAV_FONT_SIZE_V1 */


/* NABIC_NAV_FONT_V2 */
#nabic-home-v4 header nav a,
#nabic-home-v4 .nb4-header nav a,
#nabic-home-v4 header .dropdown-toggle,
#nabic-home-v4 .nb4-header .dropdown-toggle {
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.6 !important;
}
/* END NABIC_NAV_FONT_V2 */


/* NABIC_NAV_EXTRA_BOLD_V3 */
#nabic-home-v4 header nav a,
#nabic-home-v4 .nb4-header nav a,
#nabic-home-v4 header .dropdown-toggle,
#nabic-home-v4 .nb4-header .dropdown-toggle {
    font-size: 16px !important;
    font-weight: 900 !important;
    -webkit-text-stroke: 0.25px currentColor;
    font-synthesis: weight;
}
/* END NABIC_NAV_EXTRA_BOLD_V3 */


/* NABIC_NAV_FONT_15PX */
#nabic-home-v4 header nav a,
#nabic-home-v4 .nb4-header nav a,
#nabic-home-v4 header .dropdown-toggle,
#nabic-home-v4 .nb4-header .dropdown-toggle {
    font-size: 15px !important;
}
/* END NABIC_NAV_FONT_15PX */


/* NABIC_HOME_NAV_HOVER_ONLY_V1 */

/* حالت عادی و فعال: بدون هایلایت */
#nabic-home-v4 header nav a[href="/"],
#nabic-home-v4 header nav a[href="/"]:not(:hover),
#nabic-home-v4 header nav a[href="/"].active,
#nabic-home-v4 header nav .active > a[href="/"] {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #243b53 !important;
}

/* فقط هنگام هاور */
#nabic-home-v4 header nav a[href="/"]:hover {
    background: #e4f6ff !important;
    color: #00aeed !important;
    box-shadow: none !important;
}

/* END NABIC_HOME_NAV_HOVER_ONLY_V1 */


/* NABIC_HOME_LINK_HOVER_FIX_V2 */

/* حذف هایلایت دائمی صفحه اصلی */
#nabic-home-v4 .nb4-header a[href="/"],
#nabic-home-v4 .nb4-header a[href="/"].active,
#nabic-home-v4 .nb4-header .active > a[href="/"],
#nabic-home-v4 .nb4-header a[href="/"]:not(:hover) {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* نمایش هایلایت فقط با موس */
#nabic-home-v4 .nb4-header a[href="/"]:hover {
    background: #e4f6ff !important;
    background-color: #e4f6ff !important;
    color: #00aeed !important;
}

/* END NABIC_HOME_LINK_HOVER_FIX_V2 */




/* NABIC_SERVICES_HOVER_V1 */

/* All service cards: identical default appearance */
#nabic-home-v4 .nb4-services .nb4-service-card {
    background: #ffffff !important;
    border: 1px solid #e0eaf4 !important;
    box-shadow: none !important;
    transition: background-color .22s ease,
                border-color .22s ease,
                box-shadow .22s ease !important;
}

/* Remove permanently highlighted cards */
#nabic-home-v4 .nb4-services .nb4-service-card.active,
#nabic-home-v4 .nb4-services .nb4-service-card.featured,
#nabic-home-v4 .nb4-services .nb4-service-card.highlight {
    background: #ffffff !important;
    border-color: #e0eaf4 !important;
    box-shadow: none !important;
}

/* Highlight only on hover */
#nabic-home-v4 .nb4-services .nb4-service-card:hover {
    background: #eaf7ff !important;
    border-color: #00aeed !important;
    box-shadow: none !important;
}

/* END NABIC_SERVICES_HOVER_V1 */


/* NABIC_SERVICE_FLAGS_V1 */

#nabic-home-v4 .nb4-services .nb4-service-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

/* Keep all card content above flag artwork */
#nabic-home-v4 .nb4-services .nb4-service-card > * {
    position: relative;
    z-index: 1;
}

/* Flag artwork, fading naturally into white */
#nabic-home-v4 .nb4-services .nb4-service-iran::before,
#nabic-home-v4 .nb4-services .nb4-service-foreign::before,
#nabic-home-v4 .nb4-services .nb4-service-foreign::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
    width: 44%;
    height: 48%;
    top: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: top right;
    background-size: cover;
    opacity: .58;
    -webkit-mask-image: linear-gradient(225deg, black 0%, transparent 82%);
    mask-image: linear-gradient(225deg, black 0%, transparent 82%);
}

#nabic-home-v4 .nb4-services .nb4-service-iran::before {
    background-image: url("../assets/nb4-flag-iran.svg");
}

#nabic-home-v4 .nb4-services .nb4-service-foreign::before {
    background-image: url("../assets/nb4-flag-eu.svg");
}

#nabic-home-v4 .nb4-services .nb4-service-foreign::after {
    background-image: url("../assets/nb4-flag-us.svg");
    width: 32%;
    right: 25%;
    opacity: .35;
}

/* All cards white until hovered */
#nabic-home-v4 .nb4-services .nb4-service-card,
#nabic-home-v4 .nb4-services .nb4-service-card.featured {
    background: #fff !important;
    border: 1px solid #e0eaf4 !important;
    box-shadow: none !important;
}

#nabic-home-v4 .nb4-services .nb4-service-card:hover {
    background: #eaf7ff !important;
    border-color: #00aeed !important;
}

/* END NABIC_SERVICE_FLAGS_V1 */


/* NABIC_SERVICE_FLAGS_WEBP_V2_START */

/* All service cards */
#nabic-home-v4 .nb4-services .nb4-service-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Remove previous flags */
#nabic-home-v4 .nb4-services .nb4-service-card::before,
#nabic-home-v4 .nb4-services .nb4-service-card::after {
    content: none !important;
    background: none !important;
}

/* Iran VPS: right corner */
#nabic-home-v4 .nb4-services .nb4-service-card:nth-child(1)::before {
    content: "" !important;
    display: block !important;
    position: absolute;
    top: 0;
    right: 0;
    width: 36%;
    height: 58%;
    background: url("../assets/nabic-flag-iran.webp")
                no-repeat top right / contain !important;
    pointer-events: none;
    z-index: 0;
}

/* Dedicated server: Iran flag on right */
#nabic-home-v4 .nb4-services .nb4-service-card:nth-child(3)::before {
    content: "" !important;
    display: block !important;
    position: absolute;
    top: 0;
    right: 0;
    width: 36%;
    height: 58%;
    background: url("../assets/nabic-flag-iran.webp")
                no-repeat top right / contain !important;
    pointer-events: none;
    z-index: 0;
}

/* Dedicated server: EU + US flag on left */
#nabic-home-v4 .nb4-services .nb4-service-card:nth-child(3)::after {
    content: "" !important;
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 36%;
    height: 58%;
    background: url("../assets/nabic-flag-foreign-eu-usa.webp")
                no-repeat top left / contain !important;
    transform: scaleX(-1);
    pointer-events: none;
    z-index: 0;
}

/* Keep text and icons above flags */
#nabic-home-v4 .nb4-services .nb4-service-card > * {
    position: relative;
    z-index: 1;
}

/* NABIC_SERVICE_FLAGS_WEBP_V2_END */

/* NABIC_SERVICE_LAYOUT_V3_START */

/* Cards order: Iran | Dedicated | Foreign (RTL) */
#nabic-home-v4 .nb4-service-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 28px;
    direction: rtl;
}

#nabic-home-v4 .nb4-service-grid > .nb4-service-card {
    flex: 1 1 0;
    min-width: 0;
}

#nabic-home-v4 .nb4-service-grid > .nb4-service-card:nth-child(1) {
    order: 1;
}
#nabic-home-v4 .nb4-service-grid > .nb4-service-card:nth-child(2) {
    order: 3;
}
#nabic-home-v4 .nb4-service-grid > .nb4-service-card:nth-child(3) {
    order: 2;
}

/* Foreign: flag at top left */
#nabic-home-v4 .nb4-service-grid > .nb4-service-card:nth-child(2)::before {
    content: "" !important;
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    width: 36%;
    height: 58%;
    background: url("../assets/nabic-flag-foreign-eu-usa.webp")
                no-repeat top left / contain !important;
    transform: scaleX(-1);
    pointer-events: none;
    z-index: 0;
}

/* Keep Iran unchanged; dedicated keeps both flags */

@media (max-width: 767px) {
    #nabic-home-v4 .nb4-service-grid > .nb4-service-card {
        flex: 1 1 100%;
    }
}

/* NABIC_SERVICE_LAYOUT_V3_END */

/* NABIC_FLAG_POSITION_V4_START */

/* Iran VPS: stronger flag, move image upward */
#nabic-home-v4 .nb4-service-grid > .nb4-service-card:nth-child(1)::before {
    opacity: 1 !important;
    top: -22px !important;
    right: 0 !important;
    height: 65% !important;
    background-size: contain !important;
}

/* Foreign VPS: stronger EU + US flag */
#nabic-home-v4 .nb4-service-grid > .nb4-service-card:nth-child(2)::before {
    opacity: 1 !important;
    filter: saturate(1.25) contrast(1.12) !important;
}

/* NABIC_FLAG_POSITION_V4_END */





/* NABIC_SERVICE_REDESIGN_V2 */
#nabic-home-v4 .nb5-service-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
    direction:rtl;
}

#nabic-home-v4 .nb5-card {
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    min-height:285px;
    padding:26px 25px 22px;
    border:1px solid #dce8f6;
    border-radius:23px;
    background:#fff;
    text-align:right;
    text-decoration:none;
    color:#17243c;
    box-shadow:0 10px 30px rgba(20,70,130,.055);
    overflow:hidden;
    transition:background .25s,border-color .25s,box-shadow .25s;
}

#nabic-home-v4 .nb5-card:hover {
    border-color:#00aeed;
    background:linear-gradient(135deg,#e6f5ff,#fff 85%);
    box-shadow:0 16px 35px rgba(0,174,237,.12);
}

#nabic-home-v4 .nb5-card-top {
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:16px;
}

#nabic-home-v4 .nb5-flags {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    min-width:58px;
    padding:6px 8px;
    border-radius:12px;
    background:#e2ebf5;
}

#nabic-home-v4 .nb5-flag-img,
#nabic-home-v4 .nb5-flag-images img {
    display:block;
    width:31px;
    height:22px;
    object-fit:cover;
    border-radius:4px;
    box-shadow:0 1px 3px rgba(0,0,0,.08);
}

#nabic-home-v4 .nb5-flag-images {
    display:flex;
    gap:5px;
    align-items:center;
}

#nabic-home-v4 .nb5-flags small {
    font-size:10px;
    font-weight:700;
    color:#526580;
    white-space:nowrap;
}

#nabic-home-v4 .nb5-icon {
    width:50px;
    height:50px;
    color:#008ff0;
}

#nabic-home-v4 .nb5-icon svg {
    width:100%;
    height:100%;
    display:block;
}

#nabic-home-v4 .nb5-card h3 {
    margin:0 0 9px;
    color:#14233d;
    font-size:21px;
    font-weight:800;
}

#nabic-home-v4 .nb5-card p {
    margin:0 0 20px;
    color:#526580;
    font-size:14px;
    line-height:1.9;
    max-width:95%;
}

#nabic-home-v4 .nb5-action {
    display:inline-flex;
    align-items:center;
    gap:12px;
    margin-top:auto;
    padding:9px 18px;
    border:1px solid #d6e7f7;
    border-radius:30px;
    background:#fff;
    color:#007fe8;
    font-size:13px;
    font-weight:800;
    transition:background .25s,color .25s;
}

#nabic-home-v4 .nb5-action b {
    font-size:18px;
    line-height:1;
}

#nabic-home-v4 .nb5-card:hover .nb5-action {
    background:#007fe8;
    border-color:#007fe8;
    color:#fff;
}

#nabic-home-v4 .nb5-popular {
    position:absolute;
    top:0;
    left:0;
    z-index:2;
    padding:6px 14px;
    border-radius:0 0 14px 0;
    background:#0759d5;
    color:#fff;
    font-size:11px;
    font-weight:800;
}

@media(max-width:950px) {
    #nabic-home-v4 .nb5-service-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:650px) {
    #nabic-home-v4 .nb5-service-grid {
        grid-template-columns:1fr;
        gap:16px;
    }
    #nabic-home-v4 .nb5-card {
        min-height:255px;
        padding:23px;
    }
}
/* END NABIC_SERVICE_REDESIGN_V2 */

/* NABIC FLAG BADGE SOFT ELEVATION */
#nabic-home-v4 .nb5-flags {
    background: #f4f8fc !important;
    box-shadow:
        0 3px 10px rgba(25, 70, 120, 0.09),
        0 1px 3px rgba(25, 70, 120, 0.04);
    border: 1px solid rgba(180, 210, 235, 0.22);
}

/* NABIC FLAG BADGE LIGHTER SHADOW */
#nabic-home-v4 .nb5-flags {
    box-shadow:
        0 3px 10px rgba(25, 70, 120, 0.045),
        0 1px 3px rgba(25, 70, 120, 0.02) !important;
}

/* Dedicated server - three flags */
#nabic-home-v4 .nb5-card[href*="cart.php"] .nb5-flag-images {
    display: flex;
    align-items: center;
    gap: 4px;
}

#nabic-home-v4 .nb5-card[href*="cart.php"] .nb5-flag-images img {
    width: 24px;
    height: 17px;
}

#nabic-home-v4 .nb5-card[href*="cart.php"] .nb5-flags small {
    font-size: 9px;
}

/* NABIC DEDICATED THREE FLAGS */
#nabic-home-v4 .nb5-card:has(h3):has(.nb5-flag-images img:nth-child(3)) .nb5-flag-images {
    display: flex;
    align-items: center;
    gap: 5px;
}

#nabic-home-v4 .nb5-card .nb5-flag-images:has(img:nth-child(3)) img {
    width: 28px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
}

/* NABIC SERVICES HEADING AND BADGE FIX V1 */

/* خط زیر عنوان، هم‌عرض متن با دو انتهای محوشونده */
#nabic-home-v4 .nb4-services .nb4-heading > span {
    display: block !important;
    width: 190px !important;
    max-width: 90% !important;
    height: 4px !important;
    margin: 12px auto 0 !important;
    border-radius: 20px !important;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #00aeef 20%,
        #00aeef 80%,
        transparent 100%
    ) !important;
    box-shadow: none !important;
}

/* پایین آوردن آیکون کارت پرفروش‌ترین */
#nabic-home-v4 .nb4-service-card:has(.nb5-bestseller) .nb4-service-icon,
#nabic-home-v4 .nb4-service-card:has(.nb5-best-seller) .nb4-service-icon {
    margin-top: 35px !important;
}


/* NABIC SERVICES TITLE UNDERLINE POSITION V2 */

#nabic-home-v4 .nb4-services .nb4-heading > h2 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

#nabic-home-v4 .nb4-services .nb4-heading > span {
    display: block !important;
    width: 190px !important;
    height: 4px !important;
    margin: 6px auto 20px !important;
    background: linear-gradient(
        90deg,
        transparent,
        #00aeef 20%,
        #00aeef 80%,
        transparent
    ) !important;
    border-radius: 10px !important;
}


/* NABIC BESTSELLER ICON SPACING */

@media (min-width: 769px) {
    #nabic-home-v4 .nb4-service-grid
    .nb4-service-card:first-child .nb4-service-icon {
        margin-top: 18px !important;
    }
}


/* Bestseller badge / icon spacing */
#nabic-home-v4 .nb4-service-grid
.nb4-service-card:first-child .nb4-service-icon {
    transform: translateY(12px) !important;
}

/* NABIC BESTSELLER ICON CLEARANCE */
@media (min-width: 769px) {
    #nabic-home-v4 .nb4-service-grid
    .nb4-service-card:first-child .nb4-service-icon {
        transform: translateY(30px) !important;
    }
}

/* NABIC IRAN VPS ICON POSITION FIX */
#nabic-home-v4 .nb4-service-grid
.nb4-service-card[href*="/store/iranvps"] .nb4-service-icon {
    position: relative !important;
    top: 24px !important;
    transform: none !important;
}

/* NABIC ALL THREE SERVICE ICONS POSITION */

#nabic-home-v4 .nb4-service-grid .nb4-service-card .nb4-service-icon {
    position: relative !important;
    top: 20px !important;
    transform: none !important;
}

#nabic-home-v4 .nb4-service-grid
.nb4-service-card[href*="/store/iranvps"] .nb4-service-icon {
    top: 20px !important;
}


/* NABIC NB5 REAL ICON POSITION FIX */
#nabic-home-v4 .nb4-service-grid .nb5-icon {
    position: relative !important;
    top: 20px !important;
    transform: none !important;
}


/* NABIC SERVICE SVG POSITION FINAL */
#nabic-home-v4 .nb4-service-grid .nb4-service-card .nb5-icon {
    position: relative !important;
    top: 24px !important;
}

#nabic-home-v4 .nb4-service-grid .nb4-service-card .nb5-icon svg {
    transform: translateY(24px) !important;
}


/* Move Iran VPS location SVG down 20px */
#nabic-home-v4 .nb4-service-card[href*="/store/iranvps"] svg[viewBox="0 0 48 48"] {
    translate: 0 20px !important;
}


/* NABIC_SERVICE_COMPACT_V1 */

/* Three cards: smaller overall dimensions */
#nabic-home-v4 .nb5-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px !important;
    padding-inline: 38px !important;
}

#nabic-home-v4 .nb5-service-grid > .nb5-card {
    box-sizing: border-box !important;
    min-height: 247px !important;
    padding: 12px 16px !important;
}

/* Preserve icon and flag dimensions */
#nabic-home-v4 .nb5-card .nb5-icon {
    flex-shrink: 0;
}

@media (max-width: 950px) {
    #nabic-home-v4 .nb5-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        padding-inline: 12px !important;
    }
}

@media (max-width: 650px) {
    #nabic-home-v4 .nb5-service-grid {
        grid-template-columns: 1fr !important;
        padding-inline: 0 !important;
    }
}

/* END NABIC_SERVICE_COMPACT_V1 */

/* Center text and order buttons in all three service cards */
#nabic-home-v4 .nb5-card {
    text-align: center !important;
}

#nabic-home-v4 .nb5-card h3,
#nabic-home-v4 .nb5-card h4,
#nabic-home-v4 .nb5-card p {
    text-align: center !important;
}

#nabic-home-v4 .nb5-card a[class*="btn"],
#nabic-home-v4 .nb5-card a[class*="button"],
#nabic-home-v4 .nb5-card button {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    justify-content: center !important;
}


/* NABIC: center service card content */
#nabic-home-v4 .nb5-card {
    text-align: center !important;
}

#nabic-home-v4 .nb5-card h2,
#nabic-home-v4 .nb5-card h3,
#nabic-home-v4 .nb5-card h4,
#nabic-home-v4 .nb5-card p {
    width: 100% !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#nabic-home-v4 .nb5-card a[class*="btn"],
#nabic-home-v4 .nb5-card a[class*="button"],
#nabic-home-v4 .nb5-card button {
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    justify-content: center !important;
}


/* Center order buttons in all service cards */
#nabic-home-v4 .nb5-card a {
    text-align: center !important;
}

#nabic-home-v4 .nb5-card a:has(> span) {
    justify-content: center !important;
}

#nabic-home-v4 .nb5-card a[class*="btn"],
#nabic-home-v4 .nb5-card a[class*="button"],
#nabic-home-v4 .nb5-card a[class*="order"] {
    display: flex !important;
    width: fit-content !important;
    margin-inline: auto !important;
    align-items: center !important;
    justify-content: center !important;
}



/* NABIC_SERVICE_ACTION_CENTER */
#nabic-home-v4 .nb5-card .nb5-action {
    display: flex !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    align-self: center !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}
/* END_NABIC_SERVICE_ACTION_CENTER */

/* Respect actual HTML order of service cards */
#nabic-home-v4 .nb5-card {
    order: 0 !important;
}


/* NABIC: right-align content in all three service cards */
#nabic-home-v4 .nb5-card {
    direction: rtl !important;
    text-align: right !important;
}

#nabic-home-v4 .nb5-card > h3,
#nabic-home-v4 .nb5-card > p {
    width: 100% !important;
    text-align: right !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

#nabic-home-v4 .nb5-card > .nb5-action {
    display: flex !important;
    width: fit-content !important;
    max-width: 100% !important;
    align-self: flex-start !important;
    margin-right: 0 !important;
    margin-left: auto !important;
    justify-content: flex-start !important;
    text-align: right !important;
}

/* Keep all three order actions on the same horizontal level */
#nabic-home-v4 .nb5-card > .nb5-action {
    margin-top: auto !important;
}


/* NABIC: Center and vertically align all three service cards */

#nabic-home-v4 .nb5-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    direction: rtl !important;
}

/* Same height for the top icon/flag area */
#nabic-home-v4 .nb5-card > .nb5-card-top {
    width: 100% !important;
    flex: 0 0 100px !important;
}

/* Titles aligned horizontally */
#nabic-home-v4 .nb5-card > h3 {
    width: 100% !important;
    text-align: center !important;
    margin: 0 0 12px !important;
    flex-shrink: 0 !important;
}

/* Descriptions aligned horizontally */
#nabic-home-v4 .nb5-card > p {
    width: 100% !important;
    min-height: 54px !important;
    margin: 0 !important;
    text-align: center !important;
    flex-shrink: 0 !important;
}

/* All three order buttons centered at the bottom */
#nabic-home-v4 .nb5-card > .nb5-action {
    display: flex !important;
    width: fit-content !important;
    align-self: center !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin: auto auto 0 !important;
}


/* Reduce empty space above service card content */
#nabic-home-v4 .nb5-card > .nb5-card-top {
    flex: 0 0 65px !important;
}

/* Keep all three titles and descriptions aligned */
#nabic-home-v4 .nb5-card > h3 {
    margin-top: 0 !important;
}

/* Move order buttons upward while keeping them aligned */
#nabic-home-v4 .nb5-card > .nb5-action {
    margin: 12px auto 0 !important;
}


/* NABIC SERVICE CARDS - FADING GRID BACKGROUND */

#nabic-home-v4 .nb5-card {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;

    background: linear-gradient(
        135deg,
        #e8f3ff 0%,
        #f0f9ff 48%,
        #eafaff 100%
    ) !important;
}

/* Grid fading from center toward all edges */
#nabic-home-v4 .nb5-card::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -1 !important;
    pointer-events: none !important;

    background-image:
        linear-gradient(
            to right,
            rgba(0, 110, 210, 0.13) 1px,
            transparent 1px
        ),
        linear-gradient(
            to bottom,
            rgba(0, 110, 210, 0.13) 1px,
            transparent 1px
        ) !important;

    background-size: 28px 28px !important;

    -webkit-mask-image: radial-gradient(
        ellipse 75% 75% at center,
        #000 0%,
        rgba(0,0,0,.75) 30%,
        transparent 85%
    ) !important;

    mask-image: radial-gradient(
        ellipse 75% 75% at center,
        #000 0%,
        rgba(0,0,0,.75) 30%,
        transparent 85%
    ) !important;
}

/* Keep text, icons and flags above the grid */
#nabic-home-v4 .nb5-card > * {
    position: relative;
    z-index: 1;
}


/* Align Iran VPS location icon with adjacent cards */
#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-icon {
    margin-top: 0 !important;
    top: 0 !important;
    transform: none !important;
}

#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-icon svg {
    transform: translateY(-20px) !important;
}

/* NABIC: Bestseller badge centered on Iran VPS card border */

#nabic-home-v4 .nb5-card[href*="iranvps"] {
    position: relative !important;
    overflow: visible !important;
}

/* Position badge across the top border */
#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-bestseller {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    z-index: 20 !important;
    white-space: nowrap !important;
}


/* NABIC: Bestseller badge centered on Iran VPS card border */

#nabic-home-v4 .nb5-card[href*="iranvps"] {
    position: relative !important;
    overflow: visible !important;
}

/* Position badge across the top border */
#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-bestseller {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    z-index: 20 !important;
    white-space: nowrap !important;
}


/* Bestseller badge on top border of Iran VPS card */
#nabic-home-v4 .nb5-card[href*="iranvps"] {
    position: relative !important;
    overflow: visible !important;
}

#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    z-index: 50 !important;
    white-space: nowrap !important;
}


/* Fully rounded bestseller badge */
#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular {
    border-radius: 9999px !important;
    padding: 10px 28px !important;
}


/* NABIC - 3D inset bestseller badge */
#nabic-home-v4 .nb5-card[href*="iranvps"] {
    position: relative !important;
    overflow: visible !important;
    isolation: isolate !important;
}

#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;

    border-radius: 999px !important;
    padding: 10px 28px !important;
    background: linear-gradient(
        180deg,
        #168cff 0%,
        #0068e6 52%,
        #004ab7 100%
    ) !important;
    color: #fff !important;

    box-shadow:
        0 3px 0 #003c99,
        0 8px 15px rgba(0, 83, 185, .24),
        inset 0 2px 3px rgba(255,255,255,.45),
        inset 0 -4px 5px rgba(0,35,110,.3) !important;

    z-index: 20 !important;
    white-space: nowrap !important;
}

/* NABIC - Folded paper bestseller ribbon */
#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;

    border-radius: 999px !important;
    padding: 11px 30px !important;
    color: #fff !important;
    white-space: nowrap !important;
    z-index: 50 !important;

    /* Two folded halves */
    background: linear-gradient(
        to bottom,
        #087bfa 0%,
        #0067e9 47%,
        #003f9f 49%,
        #0055cb 53%,
        #0875eb 100%
    ) !important;

    box-shadow:
        0 -5px 12px rgba(0, 98, 220, .18),
        0 6px 9px rgba(0, 48, 140, .13),
        inset 0 1px 1px rgba(255,255,255,.45),
        inset 0 -2px 3px rgba(0, 28, 105, .22) !important;
}

/* Fold crease across the middle */
#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular::after {
    content: "" !important;
    position: absolute !important;
    left: 8% !important;
    right: 8% !important;
    top: 50% !important;
    height: 1px !important;
    background: rgba(0, 31, 100, .22) !important;
    box-shadow: 0 1px 1px rgba(255,255,255,.16) !important;
    pointer-events: none !important;
}


/* NABIC: folded-back upper half of bestseller badge */
#nabic-home-v4 .nb5-card[href*="iranvps"] {
    overflow: visible !important;
}

#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    border-radius: 999px !important;
    padding: 10px 28px !important;
    background: #0879e9 !important;
    box-shadow: 0 4px 8px rgba(0, 65, 150, .15) !important;
    z-index: 30 !important;
    isolation: isolate !important;
    white-space: nowrap !important;
}

/* Upper half bends backward around the middle fold */
#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 50% !important;
    border-radius: 999px 999px 0 0 !important;
    background: linear-gradient(180deg, #70c6ff, #0879e9) !important;
    transform-origin: center bottom !important;
    transform: perspective(300px) rotateX(55deg) !important;
    box-shadow: inset 0 2px 2px rgba(255,255,255,.45) !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

/* Remove previous crease line */
#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular::after {
    content: none !important;
}

/* NABIC - Bestseller label folded behind top card edge */
#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;

    border-radius: 999px !important;
    padding: 10px 28px !important;
    background: #0879e9 !important;
    color: #fff !important;
    white-space: nowrap !important;

    clip-path: none !important;
    box-shadow: 0 3px 6px rgba(0, 70, 150, .12) !important;
    z-index: 30 !important;
}

/* Remove previous artificial fold effects */
#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular::before,
#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular::after {
    content: none !important;
}

/* NABIC REAL FOLDED-OVER BADGE */
#nabic-home-v4 .nb5-card[href*="iranvps"] {
    position: relative !important;
    overflow: visible !important;
}

#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
    z-index: 50 !important;
}

/* Hidden rear portion, visually folded over the card edge */
#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular::before {
    content: "" !important;
    position: absolute !important;
    left: 8px !important;
    right: 8px !important;
    top: -13px !important;
    height: 18px !important;
    border-radius: 12px 12px 0 0 !important;
    background: #00449d !important;
    transform: perspective(140px) rotateX(65deg) !important;
    transform-origin: bottom center !important;
    box-shadow: none !important;
    z-index: -1 !important;
}

/* Front hanging portion */
#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular-face {
    display: block !important;
    position: relative !important;
    padding: 11px 28px !important;
    border-radius: 0 0 24px 24px !important;
    background: linear-gradient(180deg, #0060cb, #078bff) !important;
    color: #fff !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    box-shadow: 0 5px 9px rgba(0, 72, 160, .17) !important;
}

#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular::after {
    content: none !important;
}

/* NABIC - Hanging bestseller sign with two chains */

#nabic-home-v4 .nb5-card[href*="iranvps"] {
    position: relative !important;
    overflow: visible !important;
}

/* Sign container */
#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular {
    position: absolute !important;
    top: 24px !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    isolation: auto !important;
    z-index: 40 !important;
    white-space: nowrap !important;
}

/* Blue hanging sign */
#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular-face {
    position: relative !important;
    display: block !important;
    padding: 9px 26px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #1599ff, #0064dc) !important;
    color: #fff !important;
    font-weight: 800 !important;
    box-shadow:
        0 5px 10px rgba(0, 82, 185, .22),
        inset 0 1px 2px rgba(255,255,255,.45) !important;
}

/* Two silver hanging chains */
#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular::before,
#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular::after {
    content: "" !important;
    position: absolute !important;
    top: -25px !important;
    width: 7px !important;
    height: 30px !important;
    border: 0 !important;
    border-radius: 4px !important;
    transform: none !important;
    transform-origin: center !important;
    background:
        repeating-linear-gradient(
            to bottom,
            #718aa5 0px,
            #718aa5 2px,
            #e1ecf5 2px,
            #e1ecf5 4px,
            #718aa5 4px,
            #718aa5 6px
        ) !important;
    box-shadow: 1px 0 2px rgba(25, 55, 85, .25) !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular::before {
    left: 22% !important;
    right: auto !important;
}

#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular::after {
    left: auto !important;
    right: 22% !important;
}


/* NABIC PREMIUM HANGING SIGN */
#nabic-home-v4 .nb5-card[href*="iranvps"] {
    overflow: visible !important;
}

#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular {
    position: absolute !important;
    top: 28px !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    z-index: 50 !important;
    white-space: nowrap !important;
}

/* Premium blue enamel sign */
#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular-face {
    position: relative !important;
    display: block !important;
    padding: 10px 30px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.55) !important;
    background: linear-gradient(
        160deg,
        #168eff 0%,
        #0076ec 55%,
        #005bd0 100%
    ) !important;
    color: #fff !important;
    font-weight: 800 !important;
    box-shadow:
        0 7px 16px rgba(0, 91, 190, .20),
        0 2px 4px rgba(0, 56, 140, .12),
        inset 0 1px 1px rgba(255,255,255,.35) !important;
}

/* Two metallic chains with oval links */
#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular::before,
#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular::after {
    content: "" !important;
    position: absolute !important;
    top: -29px !important;
    width: 9px !important;
    height: 34px !important;
    border: 0 !important;
    border-radius: 0 !important;
    transform: none !important;
    background:
        radial-gradient(ellipse 3px 5px at 50% 4px,
            transparent 48%, #8fa6ba 53%, #e8f3fc 75%, transparent 82%),
        radial-gradient(ellipse 3px 5px at 50% 12px,
            transparent 48%, #8fa6ba 53%, #e8f3fc 75%, transparent 82%),
        radial-gradient(ellipse 3px 5px at 50% 20px,
            transparent 48%, #8fa6ba 53%, #e8f3fc 75%, transparent 82%),
        radial-gradient(ellipse 3px 5px at 50% 28px,
            transparent 48%, #8fa6ba 53%, #e8f3fc 75%, transparent 82%) !important;
    box-shadow: none !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular::before {
    left: 22% !important;
    right: auto !important;
}

#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular::after {
    right: 22% !important;
    left: auto !important;
}

/* Metallic attachment points on sign */
#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-popular-face {
    background-image:
        radial-gradient(circle at 22% 4px,
            #e8f3ff 0 2px, #5e89ac 2.5px 3.5px, transparent 4px),
        radial-gradient(circle at 78% 4px,
            #e8f3ff 0 2px, #5e89ac 2.5px 3.5px, transparent 4px),
        linear-gradient(160deg, #168eff, #0076ec 55%, #005bd0) !important;
}


/* Iran VPS location icon: move down without affecting card layout */
#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-icon {
    position: relative !important;
    top: 0 !important;
    margin-top: 0 !important;
    transform: none !important;
}

#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-icon svg {
    position: relative !important;
    top: 20px !important;
    transform: none !important;
    translate: none !important;
}

/* Align Iran and Abroad VPS icons at exactly the same level */
#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-icon,
#nabic-home-v4 .nb5-card[href*="srwr-mjzy-hlnd"] .nb5-icon {
    position: relative !important;
    top: 0 !important;
    margin-top: 0 !important;
    transform: none !important;
    translate: none !important;
}

#nabic-home-v4 .nb5-card[href*="iranvps"] .nb5-icon svg,
#nabic-home-v4 .nb5-card[href*="srwr-mjzy-hlnd"] .nb5-icon svg {
    position: relative !important;
    top: 0 !important;
    margin-top: 0 !important;
    transform: none !important;
    translate: none !important;
}

/* Reduce service card grid visibility by 50% */
#nabic-home-v4 .nb5-card::before {
    background-image:
        linear-gradient(
            to right,
            rgba(0, 110, 210, 0.065) 1px,
            transparent 1px
        ),
        linear-gradient(
            to bottom,
            rgba(0, 110, 210, 0.065) 1px,
            transparent 1px
        ) !important;
}


/* NABIC PREMIUM HANGING SIGN */
#nabic-home-v4 a.nb5-card[href*="iranvps"] {
    overflow: visible !important;
}

#nabic-home-v4 a.nb5-card[href*="iranvps"] .nb5-popular {
    position: absolute !important;
    top: 28px !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    z-index: 50 !important;
    white-space: nowrap !important;
}

/* Premium blue enamel sign */
#nabic-home-v4 a.nb5-card[href*="iranvps"] .nb5-popular-face {
    position: relative !important;
    display: block !important;
    padding: 10px 30px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.55) !important;
    background: linear-gradient(
        160deg,
        #168eff 0%,
        #0076ec 55%,
        #005bd0 100%
    ) !important;
    color: #fff !important;
    font-weight: 800 !important;
    box-shadow:
        0 7px 16px rgba(0, 91, 190, .20),
        0 2px 4px rgba(0, 56, 140, .12),
        inset 0 1px 1px rgba(255,255,255,.35) !important;
}

/* Two metallic chains with oval links */
#nabic-home-v4 a.nb5-card[href*="iranvps"] .nb5-popular::before,
#nabic-home-v4 a.nb5-card[href*="iranvps"] .nb5-popular::after {
    content: "" !important;
    position: absolute !important;
    top: -29px !important;
    width: 9px !important;
    height: 34px !important;
    border: 0 !important;
    border-radius: 0 !important;
    transform: none !important;
    background:
        radial-gradient(ellipse 3px 5px at 50% 4px,
            transparent 48%, #8fa6ba 53%, #e8f3fc 75%, transparent 82%),
        radial-gradient(ellipse 3px 5px at 50% 12px,
            transparent 48%, #8fa6ba 53%, #e8f3fc 75%, transparent 82%),
        radial-gradient(ellipse 3px 5px at 50% 20px,
            transparent 48%, #8fa6ba 53%, #e8f3fc 75%, transparent 82%),
        radial-gradient(ellipse 3px 5px at 50% 28px,
            transparent 48%, #8fa6ba 53%, #e8f3fc 75%, transparent 82%) !important;
    box-shadow: none !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

#nabic-home-v4 a.nb5-card[href*="iranvps"] .nb5-popular::before {
    left: 22% !important;
    right: auto !important;
}

#nabic-home-v4 a.nb5-card[href*="iranvps"] .nb5-popular::after {
    right: 22% !important;
    left: auto !important;
}

/* Metallic attachment points on sign */
#nabic-home-v4 a.nb5-card[href*="iranvps"] .nb5-popular-face {
    background-image:
        radial-gradient(circle at 22% 4px,
            #e8f3ff 0 2px, #5e89ac 2.5px 3.5px, transparent 4px),
        radial-gradient(circle at 78% 4px,
            #e8f3ff 0 2px, #5e89ac 2.5px 3.5px, transparent 4px),
        linear-gradient(160deg, #168eff, #0076ec 55%, #005bd0) !important;
}


/* FIX: Hanging sign for div-based service cards */

#nabic-home-v4 .nb5-card:has(.nb5-popular) {
    position: relative !important;
    overflow: visible !important;
}

#nabic-home-v4 .nb5-card .nb5-popular {
    position: absolute !important;
    top: 28px !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    z-index: 50 !important;
    white-space: nowrap !important;
}

#nabic-home-v4 .nb5-card .nb5-popular-face {
    position: relative !important;
    display: block !important;
    padding: 10px 30px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.55) !important;
    background: linear-gradient(160deg,#168eff,#0076ec 55%,#005bd0) !important;
    color: white !important;
    font-weight: 800 !important;
    box-shadow: 0 7px 16px rgba(0,91,190,.20) !important;
}

#nabic-home-v4 .nb5-card .nb5-popular::before,
#nabic-home-v4 .nb5-card .nb5-popular::after {
    content: "" !important;
    position: absolute !important;
    top: -29px !important;
    width: 9px !important;
    height: 34px !important;
    background:
        radial-gradient(ellipse 3px 5px at 50% 4px,transparent 48%,#8fa6ba 53%,#e8f3fc 75%,transparent 82%),
        radial-gradient(ellipse 3px 5px at 50% 12px,transparent 48%,#8fa6ba 53%,#e8f3fc 75%,transparent 82%),
        radial-gradient(ellipse 3px 5px at 50% 20px,transparent 48%,#8fa6ba 53%,#e8f3fc 75%,transparent 82%),
        radial-gradient(ellipse 3px 5px at 50% 28px,transparent 48%,#8fa6ba 53%,#e8f3fc 75%,transparent 82%) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

#nabic-home-v4 .nb5-card .nb5-popular::before {
    left: 22% !important;
    right: auto !important;
}

#nabic-home-v4 .nb5-card .nb5-popular::after {
    right: 22% !important;
    left: auto !important;
}

#nabic-home-v4 .nb5-card .nb5-popular-face {
    background-image:
        radial-gradient(circle at 22% 4px,#e8f3ff 0 2px,#5e89ac 2.5px 3.5px,transparent 4px),
        radial-gradient(circle at 78% 4px,#e8f3ff 0 2px,#5e89ac 2.5px 3.5px,transparent 4px),
        linear-gradient(160deg,#168eff,#0076ec 55%,#005bd0) !important;
}


/* NABIC - Vazirmatn font for all service cards */
#nabic-home-v4 .nb5-card,
#nabic-home-v4 .nb5-card *,
#nabic-home-v4 .nb5-card *::before,
#nabic-home-v4 .nb5-card *::after {
    font-family: 'Vazirmatn', 'Vazir', sans-serif !important;
}


/* NABIC SERVICE CARDS - SAME FONT AS HEADER */
#nabic-home-v4 .nb5-card,
#nabic-home-v4 .nb5-card *,
#nabic-home-v4 .nb5-card *::before,
#nabic-home-v4 .nb5-card *::after {
    font-family: 'NabicVazirmatn', sans-serif !important;
}


/* NABIC - Bestseller badge typography */
#nabic-home-v4 .nb5-card .nb5-popular-face {
    font-family: 'NabicVazirmatn', sans-serif !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 35, 100, 0.25) !important;
}


/* Bestseller badge - smaller text and slightly higher */
#nabic-home-v4 .nb5-card .nb5-popular-face {
    font-size: 13px !important;
}

#nabic-home-v4 .nb5-card .nb5-popular {
    top: 23px !important;
}


/* NABIC - Orange bestseller sign */
#nabic-home-v4 .nb5-card .nb5-popular-face {
    background: #f08c00 !important;
    background-image: none !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,.55) !important;
    box-shadow:
        0 7px 16px rgba(240,140,0,.22),
        0 2px 4px rgba(140,75,0,.12),
        inset 0 1px 1px rgba(255,255,255,.35) !important;
}


/* NABIC - Premium golden yellow bestseller sign */
#nabic-home-v4 .nb5-card .nb5-popular-face {
    background: #FFC247 !important;
    background-image: none !important;
    color: #593900 !important;
    border-color: #FFE3A0 !important;
    text-shadow: none !important;
    box-shadow:
        0 7px 16px rgba(180, 120, 0, .16),
        0 2px 4px rgba(120, 75, 0, .10),
        inset 0 1px 1px rgba(255,255,255,.45) !important;
}


/* NABIC - Gentle hanging sign swing */

@keyframes nabicSignSwing {
    0%, 100% {
        transform: translateX(-50%) rotate(-2.5deg);
    }
    50% {
        transform: translateX(-50%) rotate(2.5deg);
    }
}

#nabic-home-v4 .nb5-card .nb5-popular {
    transform-origin: 50% -25px !important;
    animation: nabicSignSwing 3.5s ease-in-out infinite !important;
    will-change: transform;
}

/* Pause animation on hover */
#nabic-home-v4 .nb5-card:hover .nb5-popular {
    animation-play-state: paused !important;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    #nabic-home-v4 .nb5-card .nb5-popular {
        animation: none !important;
        transform: translateX(-50%) !important;
    }
}


/* NABIC - Hanging sign swing fix */
@keyframes nabicHangingSwingFix {
    0%, 100% {
        rotate: -4deg;
    }
    50% {
        rotate: 4deg;
    }
}

#nabic-home-v4 .nb5-card .nb5-popular {
    animation: nabicHangingSwingFix 2.8s ease-in-out infinite !important;
    transform-origin: center -25px !important;
}

#nabic-home-v4 .nb5-card:hover .nb5-popular {
    animation-play-state: running !important;
}

@media (prefers-reduced-motion: reduce) {
    #nabic-home-v4 .nb5-card .nb5-popular {
        animation: none !important;
    }
}


/* Keep hanging sign chains inside the card */
#nabic-home-v4 .nb5-card .nb5-popular {
    top: 48px !important;
}


/* Align hanging chains with card top edge */
#nabic-home-v4 .nb5-card .nb5-popular {
    top: 30px !important;
}


/* NABIC - Compact premium bestseller sign */
#nabic-home-v4 .nb5-card .nb5-popular-face {
    padding-left: 19px !important;
    padding-right: 19px !important;
    box-shadow:
        0 5px 14px rgba(240, 170, 0, .20),
        0 2px 5px rgba(130, 80, 0, .10),
        inset 0 1px 1px rgba(255,255,255,.55) !important;
    animation: nabicGoldGlow 5s ease-in-out infinite !important;
}

@keyframes nabicGoldGlow {
    0%, 75%, 100% {
        filter: brightness(1);
    }
    85% {
        filter: brightness(1.14);
    }
    92% {
        filter: brightness(1.05);
    }
}

@media (prefers-reduced-motion: reduce) {
    #nabic-home-v4 .nb5-card .nb5-popular-face {
        animation: none !important;
    }
}


/* Faster golden glow - every 2 seconds */
#nabic-home-v4 .nb5-card .nb5-popular-face {
    animation: nabicGoldGlow 2s ease-in-out infinite !important;
}


/* NABIC - Fixed hanging sign with fast blinking */

/* Stop all swinging and movement */
#nabic-home-v4 .nb5-card .nb5-popular {
    animation: none !important;
    rotate: 0deg !important;
    transform: translateX(-50%) !important;
    transition: none !important;
}

/* Fast golden blinking */
@keyframes nabicFastBlink {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.35);
    }
}

#nabic-home-v4 .nb5-card .nb5-popular-face {
    animation: nabicFastBlink 1s ease-in-out infinite !important;
    transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
    #nabic-home-v4 .nb5-card .nb5-popular-face {
        animation: none !important;
    }
}


/* NABIC - Two-link hanging chains */
#nabic-home-v4 .nb5-card .nb5-popular {
    top: 17px !important;
}

#nabic-home-v4 .nb5-card .nb5-popular::before,
#nabic-home-v4 .nb5-card .nb5-popular::after {
    top: -16px !important;
    height: 20px !important;
    width: 9px !important;

    background:
        radial-gradient(
            ellipse 3px 5px at 50% 5px,
            transparent 48%,
            #8fa6ba 53%,
            #e8f3fc 75%,
            transparent 82%
        ),
        radial-gradient(
            ellipse 3px 5px at 50% 13px,
            transparent 48%,
            #8fa6ba 53%,
            #e8f3fc 75%,
            transparent 82%
        ) !important;
}


/* NABIC - Coral and orange bestseller blink */
@keyframes nabicCoralBlink {
    0%, 49% {
        background-color: #FF8A3D;
    }
    50%, 100% {
        background-color: #F4511E;
    }
}

#nabic-home-v4 .nb5-card .nb5-popular-face {
    background: #FF8A3D !important;
    background-image: none !important;
    color: #ffffff !important;
    text-shadow: 0 1px 1px rgba(0,0,0,.18) !important;
    animation: nabicCoralBlink 1.2s steps(1, end) infinite !important;
    filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
    #nabic-home-v4 .nb5-card .nb5-popular-face {
        animation: none !important;
    }
}


/* NABIC - Working two-color bestseller blink */
@property --nbic-badge-color {
    syntax: "<color>";
    inherits: false;
    initial-value: #FF8A3D;
}

@keyframes nabicBadgeColorBlink {
    0%, 49.9% {
        --nbic-badge-color: #FF8A3D;
    }
    50%, 100% {
        --nbic-badge-color: #F4511E;
    }
}

#nabic-home-v4 .nb5-card .nb5-popular-face {
    background: var(--nbic-badge-color) !important;
    background-image: none !important;
    color: #fff !important;
    filter: none !important;
    animation: nabicBadgeColorBlink 1s steps(1, end) infinite !important;
}

/* Keep the hanging sign stationary */
#nabic-home-v4 .nb5-card .nb5-popular {
    animation: none !important;
    rotate: 0deg !important;
    transform: translateX(-50%) !important;
}

@media (prefers-reduced-motion: reduce) {
    #nabic-home-v4 .nb5-card .nb5-popular-face {
        animation: none !important;
    }
}


/* NABIC - Bestseller text only, zoom and fade */

/* Remove hanging sign appearance */
#nabic-home-v4 .nb5-card .nb5-popular {
    position: absolute !important;
    top: 30px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    rotate: 0deg !important;
    transform-origin: center center !important;
    animation: none !important;
    transition: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important;
    z-index: 50 !important;
}

/* Remove chains */
#nabic-home-v4 .nb5-card .nb5-popular::before,
#nabic-home-v4 .nb5-card .nb5-popular::after {
    content: none !important;
    display: none !important;
}

/* Text only */
#nabic-home-v4 .nb5-card .nb5-popular-face {
    display: inline-block !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #f08c00 !important;
    font-family: 'NabicVazirmatn', sans-serif !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.5 !important;
    text-shadow: none !important;
    filter: none !important;
    white-space: nowrap !important;
    transform-origin: center center !important;
    animation: nabicBestsellerZoom 2s ease-in-out infinite !important;
}

/* Zoom out until invisible, then zoom in */
@keyframes nabicBestsellerZoom {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.35);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    #nabic-home-v4 .nb5-card .nb5-popular-face {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}


/* NABIC - Bestseller text final styling */
#nabic-home-v4 .nb5-card .nb5-popular {
    top: 20px !important;
}

#nabic-home-v4 .nb5-card .nb5-popular-face {
    color: #000000 !important;
    font-family: 'NabicVazirmatn', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}


/* NABIC - Bestseller outlined label */
#nabic-home-v4 .nb5-card .nb5-popular-face {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 4px 14px !important;
    border: 1px solid rgba(0, 0, 0, .28) !important;
    border-radius: 8px !important;

    background: rgba(255, 255, 255, .85) !important;
    background-image: none !important;

    color: #000000 !important;
    font-family: 'NabicVazirmatn', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;

    box-shadow: 0 2px 8px rgba(0, 0, 0, .05) !important;

    /* Preserve existing zoom/fade animation */
    animation: nabicBestsellerZoom 2s ease-in-out infinite !important;
}


/* NABIC - Bestseller shake animation */
@keyframes nabicBestsellerShake {
    0%, 30%, 100% {
        transform: translateX(0) rotate(0deg);
        opacity: 1;
    }
    4%, 12%, 20% {
        transform: translateX(-3px) rotate(-2deg);
    }
    8%, 16%, 24% {
        transform: translateX(3px) rotate(2deg);
    }
    28% {
        transform: translateX(0) rotate(0deg);
    }
}

#nabic-home-v4 .nb5-card .nb5-popular-face {
    animation: nabicBestsellerShake 2s ease-in-out infinite !important;
    transform-origin: center center !important;
    opacity: 1 !important;
    filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
    #nabic-home-v4 .nb5-card .nb5-popular-face {
        animation: none !important;
    }
}


/* NABIC - Force bestseller shake */

/* Keep badge position fixed */
#nabic-home-v4 .nb5-card .nb5-popular {
    animation: none !important;
    transform: translateX(-50%) !important;
}

/* Shake the outlined label */
@keyframes nabicForceShake {
    0%, 35%, 100% {
        translate: 0 0;
        rotate: 0deg;
    }
    5%, 15%, 25% {
        translate: -5px 0;
        rotate: -3deg;
    }
    10%, 20%, 30% {
        translate: 5px 0;
        rotate: 3deg;
    }
}

#nabic-home-v4 .nb5-card .nb5-popular-face {
    animation: nabicForceShake 1.8s linear infinite !important;
    transform: none !important;
    translate: 0 0;
    rotate: 0deg;
    opacity: 1 !important;
}

@media (prefers-reduced-motion: reduce) {
    #nabic-home-v4 .nb5-card .nb5-popular-face {
        animation: none !important;
    }
}


/* NABIC - Red bestseller badge attached to card */
#nabic-home-v4 .nb5-card .nb5-popular {
    top: 0 !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 50 !important;
    overflow: visible !important;
}

/* Red badge with white text */
#nabic-home-v4 .nb5-card .nb5-popular-face {
    background: #E53935 !important;
    background-image: none !important;
    color: #FFFFFF !important;

    border: 1px solid #C62828 !important;
    border-radius: 8px !important;
    padding: 5px 15px !important;

    font-family: 'NabicVazirmatn', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;

    box-shadow: 0 3px 10px rgba(229,57,53,.20) !important;
}


/* NABIC - Bestseller zoom in/out */

@keyframes nabicBadgeZoomFinal {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.25);
        opacity: 0;
    }
}

/* Keep badge attached to top edge */
#nabic-home-v4 .nb5-card .nb5-popular {
    top: 0 !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    animation: none !important;
}

/* Red badge, black text, zoom animation */
#nabic-home-v4 .nb5-card .nb5-popular-face {
    background: #E53935 !important;
    background-image: none !important;
    color: #000000 !important;

    font-family: 'NabicVazirmatn', sans-serif !important;
    font-weight: 700 !important;

    animation: nabicBadgeZoomFinal 2s ease-in-out infinite !important;
    transform-origin: center center !important;
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    #nabic-home-v4 .nb5-card .nb5-popular-face {
        animation: none !important;
    }
}


/* NABIC - Bestseller text readability */
#nabic-home-v4 .nb5-card .nb5-popular-face {
    font-family: 'NabicVazirmatn', sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: 0.2px !important;
    line-height: 1.8 !important;
    padding: 5px 18px !important;
    white-space: nowrap !important;
    font-kerning: normal !important;
}


/* NABIC - More spacing between bestseller words */
#nabic-home-v4 .nb5-card .nb5-popular-face {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    direction: rtl !important;
    letter-spacing: 0 !important;
}


/* NABIC - Bestseller word spacing */
#nabic-home-v4 .nb5-card .nb5-popular-face {
    gap: 4px !important;
}


/* NABIC - Bestseller zoom fix */
@keyframes nabicZoomFixed {
    0%, 100% {
        scale: 1;
        opacity: 1;
    }
    50% {
        scale: 0.2;
        opacity: 0;
    }
}

/* Keep badge anchored to card */
#nabic-home-v4 .nb5-card .nb5-popular {
    top: 0 !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    animation: none !important;
}

/* Animate entire red badge */
#nabic-home-v4 .nb5-card .nb5-popular-face {
    animation: nabicZoomFixed 2s ease-in-out infinite !important;
    transform: none !important;
    scale: 1;
    transform-origin: center center !important;
    opacity: 1;
    background: #E53935 !important;
    color: #000000 !important;
    font-weight: 700 !important;
    gap: 4px !important;
}

@media (prefers-reduced-motion: reduce) {
    #nabic-home-v4 .nb5-card .nb5-popular-face {
        animation: none !important;
    }
}


/* NABIC - Half zoom intensity */
@keyframes nabicZoomFixed {
    0%, 100% {
        scale: 1;
        opacity: 1;
    }
    50% {
        scale: 0.6;
        opacity: 0;
    }
}


/* NABIC - Subtle bestseller zoom */
@keyframes nabicZoomFixed {
    0%, 100% {
        scale: 1;
        opacity: 1;
    }
    50% {
        scale: 0.8;
        opacity: 0;
    }
}


/* NABIC - Orange bestseller badge */
#nabic-home-v4 .nb5-card .nb5-popular-face {
    background: #FF982E !important;
    background-image: none !important;
    border: 1px solid #E88319 !important;
    color: #000000 !important;
    box-shadow: 0 3px 10px rgba(255, 152, 46, .20) !important;
}


/* NABIC - Bestseller final orange */
#nabic-home-v4 .nb5-card .nb5-popular-face {
    background: #F08C00 !important;
    background-image: none !important;
    border-color: #D97D00 !important;
    box-shadow: 0 3px 10px rgba(240,140,0,.20) !important;
}


/* NABIC - Highlighted IP status beside check button */

#nabic-home-v4 .nb4-monitor-form {
    position: relative;
}

#nabic-home-v4 .nb4-status-badge {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 12px;
    font-family: 'NabicVazirmatn', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
}

#nabic-home-v4 .nb4-status-badge.is-visible {
    display: inline-flex;
    animation: nb4StatusAppear .35s ease-out both;
}

/* Healthy */
#nabic-home-v4 .nb4-status-badge.status-healthy {
    color: #087D39;
    background: #E7F8ED;
    border: 1px solid #9BDFB2;
}

/* Iran-only */
#nabic-home-v4 .nb4-status-badge.status-iran_only {
    color: #9A5700;
    background: #FFF2DB;
    border: 1px solid #F2C778;
}

/* Unreachable */
#nabic-home-v4 .nb4-status-badge.status-offline {
    color: #B42318;
    background: #FFF0EE;
    border: 1px solid #F5B5AE;
}

/* Partial */
#nabic-home-v4 .nb4-status-badge.status-partial {
    color: #475569;
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
}

@keyframes nb4StatusAppear {
    from { opacity: 0; transform: scale(.92); }
    to   { opacity: 1; transform: scale(1); }
}

@media (max-width: 900px) {
    #nabic-home-v4 .nb4-status-badge {
        white-space: normal;
        text-align: center;
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    #nabic-home-v4 .nb4-status-badge.is-visible {
        animation: none;
    }
}


/* NABIC - Check-Host promotional image */

#nabic-home-v4 .nb4-monitor-art {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
}

#nabic-home-v4 .nb4-checkhost-image {
    display: block;
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 24px;
    object-fit: contain;
    box-shadow: 0 12px 35px rgba(0, 75, 130, .10);
}

@media (max-width: 768px) {
    #nabic-home-v4 .nb4-checkhost-image {
        max-width: 360px;
        margin: 0 auto;
        border-radius: 18px;
    }
}


/* NABIC - Monitor section layout v2 */

#nabic-home-v4 .nb4-monitor {
    align-items: flex-start !important;
}

#nabic-home-v4 .nb4-monitor-copy {
    align-self: flex-start !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

#nabic-home-v4 .nb4-monitor-art {
    align-self: flex-start !important;
}

#nabic-home-v4 .nb4-checkhost-image {
    width: 85% !important;
    max-width: 410px !important;
    height: auto !important;
    margin: 0 auto !important;
    box-shadow: none !important;
}

/* Four-country grid */
#nabic-home-v4 .nb4-country-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 12px;
    direction: rtl;
}

#nabic-home-v4 .nb4-country {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding: 13px 16px;
    background: rgba(255,255,255,.88);
    border: 1px solid #dbe8f3;
    border-radius: 14px;
    transition: border-color .2s, background .2s;
}

#nabic-home-v4 .nb4-country-name {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #243348;
    font-family: 'NabicVazirmatn', sans-serif;
    font-size: 14px;
    font-weight: 700;
}

#nabic-home-v4 .nb4-country-name img {
    width: 25px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}

#nabic-home-v4 .nb4-country-ping {
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
    color: #718096;
}

#nabic-home-v4 .nb4-country.is-ok {
    background: #f0fbf4;
    border-color: #b5e8c5;
}

#nabic-home-v4 .nb4-country.is-ok .nb4-country-ping {
    color: #15803d;
}

#nabic-home-v4 .nb4-country.is-bad {
    background: #fff3f1;
    border-color: #f3c4bd;
}

#nabic-home-v4 .nb4-country.is-bad .nb4-country-ping {
    color: #c62828;
}

#nabic-home-v4 .nb4-country.is-partial {
    background: #fff8ec;
    border-color: #f5d6a4;
}

#nabic-home-v4 .nb4-country.is-partial .nb4-country-ping {
    color: #b76a00;
}

#nabic-home-v4 .nb4-check-result {
    margin-top: 10px;
}

@media (max-width: 768px) {
    #nabic-home-v4 .nb4-country-grid {
        gap: 8px;
    }

    #nabic-home-v4 .nb4-country {
        padding: 11px 10px;
    }

    #nabic-home-v4 .nb4-country-name {
        font-size: 12px;
        gap: 5px;
    }

    #nabic-home-v4 .nb4-country-name img {
        width: 21px;
        height: 15px;
    }

    #nabic-home-v4 .nb4-country-ping {
        font-size: 11px;
    }

    #nabic-home-v4 .nb4-checkhost-image {
        max-width: 320px !important;
    }
}


/* NABIC - Country flags and simple status icons */

#nabic-home-v4 .nb4-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
    font-size: 23px;
    line-height: 1;
    width: 29px;
    height: 23px;
}

#nabic-home-v4 .nb4-country-ping {
    font-size: 23px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

#nabic-home-v4 .nb4-country.is-ok .nb4-country-ping {
    color: #16A34A !important;
}

#nabic-home-v4 .nb4-country.is-bad .nb4-country-ping,
#nabic-home-v4 .nb4-country.is-partial .nb4-country-ping {
    color: #DC2626 !important;
}


/* NABIC - Compact country status */

#nabic-home-v4 .nb4-country-ping {
    font-family: 'NabicVazirmatn', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
}

#nabic-home-v4 .nb4-country {
    padding: 10px 14px !important;
    min-height: 48px !important;
}

#nabic-home-v4 .nb4-country-name {
    font-size: 13px !important;
    font-weight: 600 !important;
}

@media (max-width: 768px) {
    #nabic-home-v4 .nb4-country-ping {
        font-size: 11px !important;
    }

    #nabic-home-v4 .nb4-country {
        padding: 9px 10px !important;
        min-height: 44px !important;
    }
}


/* NABIC - Monitor right panel redesign */

#nabic-home-v4 .nb4-monitor-copy {
    padding-top: 0 !important;
    align-self: flex-start !important;
}

/* Compact IP form */
#nabic-home-v4 .nb4-monitor-form {
    gap: 12px !important;
    margin-top: 16px !important;
}

#nabic-home-v4 #nb4-host {
    height: 52px !important;
    min-height: 52px !important;
    border-radius: 16px !important;
    border: 1.5px solid #b9dcf5 !important;
    background: #fff !important;
    font-family: 'NabicVazirmatn', sans-serif !important;
    font-size: 14px !important;
    padding: 0 20px !important;
    box-shadow: none !important;
}

#nabic-home-v4 .nb4-monitor-form button[type="submit"] {
    height: 52px !important;
    min-height: 52px !important;
    border-radius: 16px !important;
    padding: 0 24px !important;
    background: linear-gradient(110deg,#006BEA,#00AEEF) !important;
    font-family: 'NabicVazirmatn',sans-serif !important;
    font-weight: 700 !important;
    box-shadow: 0 5px 13px rgba(0,174,239,.15) !important;
}

/* Reference-style country cards */
#nabic-home-v4 .nb4-country-grid {
    gap: 12px !important;
    margin-top: 22px !important;
    margin-bottom: 12px !important;
}

#nabic-home-v4 .nb4-country {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 65px !important;
    padding: 11px 17px !important;
    border: 1px solid #e4e8f5 !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 7px 20px rgba(29,75,123,.07) !important;
}

#nabic-home-v4 .nb4-country-name {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #17233b !important;
}

#nabic-home-v4 .nb4-country-flag {
    width: 37px !important;
    height: 37px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 1px solid rgba(0,0,0,.07);
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

#nabic-home-v4 .nb4-country-ping {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    flex-shrink: 0;
}

#nabic-home-v4 .nb4-country.is-ok .nb4-country-ping {
    background: #dcfce7 !important;
    color: #16a34a !important;
}

#nabic-home-v4 .nb4-country.is-bad .nb4-country-ping,
#nabic-home-v4 .nb4-country.is-partial .nb4-country-ping {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}

@media (max-width: 768px) {
    #nabic-home-v4 .nb4-country {
        min-height: 58px !important;
        padding: 9px 10px !important;
        border-radius: 15px !important;
    }
    #nabic-home-v4 .nb4-country-name {
        gap: 6px !important;
        font-size: 12px !important;
    }
    #nabic-home-v4 .nb4-country-flag {
        width: 27px !important;
        height: 27px !important;
    }
    #nabic-home-v4 .nb4-country-ping {
        width: 29px !important;
        height: 29px !important;
        font-size: 16px !important;
    }
}


/* NABIC - Country card reference refinements */

#nabic-home-v4 .nb4-country-name {
    gap: 10px !important;
}

#nabic-home-v4 .nb4-country-code {
    direction: ltr;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #28364e;
    letter-spacing: .3px;
}

#nabic-home-v4 .nb4-country-divider {
    display: inline-block;
    width: 1px;
    height: 27px;
    background: #ccd6e7;
    margin: 0 2px;
    flex-shrink: 0;
}

/* Divider beside status icon */
#nabic-home-v4 .nb4-country-ping {
    position: relative;
}

#nabic-home-v4 .nb4-country-ping::after {
    content: "";
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 27px;
    background: #ccd6e7;
}

@media (max-width: 768px) {
    #nabic-home-v4 .nb4-country-code {
        font-size: 12px;
    }

    #nabic-home-v4 .nb4-country-divider {
        height: 20px;
    }

    #nabic-home-v4 .nb4-country-ping::after {
        height: 20px;
        right: -10px;
    }

    #nabic-home-v4 .nb4-country-name {
        gap: 6px !important;
    }
}


/* NABIC - Country status alignment fix */

#nabic-home-v4 .nb4-country {
    position: relative !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    gap: 10px !important;
    overflow: hidden !important;
}

#nabic-home-v4 .nb4-country-name {
    flex: 0 0 auto !important;
    min-width: 0 !important;
}

#nabic-home-v4 .nb4-country-ping {
    position: relative !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 96px !important;
    max-width: 125px !important;
    height: 32px !important;
    padding: 0 10px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    font-family: 'NabicVazirmatn', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    text-align: center !important;
    border-radius: 18px !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    overflow: visible !important;
}

#nabic-home-v4 .nb4-country-ping::after {
    display: none !important;
}

/* Completed check: compact circular check/cross */
#nabic-home-v4 .nb4-country.is-ok .nb4-country-ping,
#nabic-home-v4 .nb4-country.is-bad .nb4-country-ping,
#nabic-home-v4 .nb4-country.is-partial .nb4-country-ping {
    min-width: 34px !important;
    max-width: 34px !important;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    border-radius: 50% !important;
}

#nabic-home-v4 .nb4-country.is-ok .nb4-country-ping {
    background: #dcfce7 !important;
    color: #16a34a !important;
}

#nabic-home-v4 .nb4-country.is-bad .nb4-country-ping,
#nabic-home-v4 .nb4-country.is-partial .nb4-country-ping {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}

@media (max-width: 768px) {
    #nabic-home-v4 .nb4-country-ping {
        min-width: 82px !important;
        max-width: 95px !important;
        font-size: 10px !important;
        padding: 0 6px !important;
    }
}


/* NABIC - RTL checking status */
#nabic-home-v4 .nb4-country-ping {
    direction: rtl !important;
    unicode-bidi: isolate !important;
    text-align: right !important;
    justify-content: flex-start !important;
    white-space: nowrap !important;
    font-family: 'NabicVazirmatn', sans-serif !important;
}


/* NABIC - Center country status icons */

#nabic-home-v4 .nb4-country.is-ok .nb4-country-ping,
#nabic-home-v4 .nb4-country.is-bad .nb4-country-ping,
#nabic-home-v4 .nb4-country.is-partial .nb4-country-ping {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;

    direction: ltr !important;
    unicode-bidi: isolate !important;

    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;

    padding: 0 !important;
    margin: 0 !important;

    line-height: 1 !important;
    font-family: Arial, sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;

    border-radius: 50% !important;
    flex-shrink: 0 !important;
}

#nabic-home-v4 .nb4-country.is-ok .nb4-country-ping {
    background: #dcfce7 !important;
    color: #16a34a !important;
}

#nabic-home-v4 .nb4-country.is-bad .nb4-country-ping,
#nabic-home-v4 .nb4-country.is-partial .nb4-country-ping {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}


/* =========================================
   NABIC - Unified Layout System V1
   ========================================= */

#nabic-home-v4 {
    --nb-layout-max: 1680px;
    --nb-layout-gutter: clamp(16px, 3vw, 48px);

    width: 100% !important;
    max-width: var(--nb-layout-max) !important;
    margin-inline: auto !important;
    box-sizing: border-box !important;
}

/* Consistent horizontal alignment */
#nabic-home-v4 .nb4-header,
#nabic-home-v4 .nb4-hero,
#nabic-home-v4 .nb4-services,
#nabic-home-v4 .nb4-why,
#nabic-home-v4 .nb4-cta,
#nabic-home-v4 .nb4-footer {
    padding-left: var(--nb-layout-gutter) !important;
    padding-right: var(--nb-layout-gutter) !important;
    box-sizing: border-box !important;
}

/* Monitoring section shares the same layout edges */
#nabic-home-v4 .nb4-monitor {
    margin-left: var(--nb-layout-gutter) !important;
    margin-right: var(--nb-layout-gutter) !important;
    box-sizing: border-box !important;
}

/* Prevent children from forcing horizontal overflow */
#nabic-home-v4 main,
#nabic-home-v4 .nb4-hero,
#nabic-home-v4 .nb4-services,
#nabic-home-v4 .nb4-monitor,
#nabic-home-v4 .nb4-why,
#nabic-home-v4 .nb4-cta {
    min-width: 0;
}

/* Responsive gutters */
@media (max-width: 767px) {
    #nabic-home-v4 {
        --nb-layout-gutter: 16px;
    }
}


/* NABIC - Unified content frame V3
   Keep section backgrounds unchanged */

#nabic-home-v4 {
    --nb-content-gutter: clamp(24px, 4vw, 64px);
}

/* Header content */
#nabic-home-v4 .nb4-header {
    padding-inline: var(--nb-content-gutter) !important;
}

/* Hero content; preserve its full background */
#nabic-home-v4 .nb4-hero {
    padding-inline: var(--nb-content-gutter) !important;
}

/* Service cards and benefits */
#nabic-home-v4 .nb4-services,
#nabic-home-v4 .nb4-why {
    padding-inline: var(--nb-content-gutter) !important;
}

/* Monitoring and CTA content boundaries */
#nabic-home-v4 .nb4-monitor,
#nabic-home-v4 .nb4-cta {
    width: calc(100% - 2 * var(--nb-content-gutter)) !important;
    margin-inline: var(--nb-content-gutter) !important;
}

/* Footer content */
#nabic-home-v4 .nb4-footer {
    padding-inline: var(--nb-content-gutter) !important;
}

/* Mobile */
@media (max-width: 767px) {
    #nabic-home-v4 {
        --nb-content-gutter: 16px;
    }
}


/* NABIC - Vazirmatn Button Weight 600 */
#nabic-home-v4 button,
#nabic-home-v4 input[type="submit"],
#nabic-home-v4 input[type="button"],
#nabic-home-v4 .nb4-btn,
#nabic-home-v4 .nb5-action,
#nabic-home-v4 .nb4-login,
#nabic-home-v4 .nb4-register-btn {
    font-family: 'NabicVazirmatn', sans-serif !important;
    font-weight: 600 !important;
}

/* NABIC - Peyda Headings V1 */
@font-face {
    font-family: 'NabicPeyda';
    src: url('/templates/emyui-hero/fonts/woff/PeydaWeb-Bold.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'NabicPeyda';
    src: url('/templates/emyui-hero/fonts/woff/PeydaWeb-ExtraBold.woff2') format('woff2');
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

/* Section headings */
#nabic-home-v4 .nb4-services h2,
#nabic-home-v4 .nb4-monitor h2,
#nabic-home-v4 .nb4-why h2,
#nabic-home-v4 .nb4-cta h2,
#nabic-home-v4 .nb5-card h3 {
    font-family: 'NabicPeyda', sans-serif !important;
    font-weight: 700 !important;
}

/* Main hero heading */
#nabic-home-v4 .nb4-hero h1 {
    font-family: 'NabicPeyda', sans-serif !important;
    font-weight: 800 !important;
}

/* NABIC - Center Hero Second Line V1 */
@media (min-width: 768px) {
    #nabic-home-v4 .nb4-hero-copy h1 {
        width: max-content;
        max-width: 100%;
        text-align: right !important;
    }

    #nabic-home-v4 .nb4-hero-copy h1 > span {
        display: block;
        width: 100%;
        text-align: center !important;
    }
}

/* NABIC - Hero Typography Fix */
#nabic-home-v4 .nb4-hero-copy h1 .nb4-hero-first {
    display: block;
    letter-spacing: 0.4px !important;
}

/* NABIC - Hero First Line Readability Fix */
#nabic-home-v4 .nb4-hero-copy h1 > .nb4-hero-first {
    display: block;
    color: #122643 !important;
    font-family: 'NabicPeyda', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: normal !important;
}

#nabic-home-v4 .nb4-hero-copy h1 > span:not(.nb4-hero-first) {
    color: #086fe0 !important;
}



/* NABIC - Hero Text Alignment Final V6 */
@media (min-width: 768px) {
    #nabic-home-v4 .nb4-hero-copy {
        width: fit-content !important;
        max-width: 100% !important;
    }

    #nabic-home-v4 .nb4-hero-copy > h1 {
        width: fit-content !important;
        max-width: 100% !important;
        text-align: center !important;
        margin-inline: 0 !important;
    }

    #nabic-home-v4 .nb4-hero-copy > p {
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: 0 !important;
        text-align: center !important;
    }
}

/* NABIC - Hero Unified Center V7 */

/* Center the hero content as a group */
#nabic-home-v4 .nb4-hero-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Main heading */
#nabic-home-v4 .nb4-hero-copy > h1 {
    display: block !important;
    width: max-content !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    text-align: center !important;
}

/* Both heading lines */
#nabic-home-v4 .nb4-hero-copy > h1 > span {
    display: block !important;
    text-align: center !important;
}

/* Description */
#nabic-home-v4 .nb4-hero-copy > p {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    text-align: center !important;
}

/* Action buttons */
#nabic-home-v4 .nb4-hero-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-inline: auto !important;
}

/* NABIC - Services Title Weight Fix V3 */
#nabic-home-v4 .nb4-services h2,
#nabic-home-v4 .nb4-services .nb4-section-title {
    font-family: 'NabicPeyda', sans-serif !important;
    font-weight: 800 !important;
}

/* NABIC - Services Heading Exact Fix */
#nabic-home-v4 section.nb4-services .nb4-heading > h2 {
    font-family: 'NabicPeyda', sans-serif !important;
    font-weight: 800 !important;
}


/* NABIC SERVICE CARDS REFINEMENT START */

/* Equal height and spacing */
#nabic-home-v4 .nb5-service-grid {
    align-items: stretch;
}

#nabic-home-v4 .nb5-service-grid > .nb5-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid #e5edf5;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(20, 55, 95, .045);
    transition: transform .25s ease,
                box-shadow .25s ease,
                border-color .25s ease;
}

/* Card headings: Peyda Bold */
#nabic-home-v4 .nb5-service-grid > .nb5-card > h3 {
    font-family: 'NabicPeyda', sans-serif !important;
    font-weight: 700 !important;
}

/* Descriptions */
#nabic-home-v4 .nb5-service-grid > .nb5-card > p {
    line-height: 1.9;
    font-weight: 400;
}

/* Buttons aligned at the bottom */
#nabic-home-v4 .nb5-service-grid > .nb5-card > .nb5-action {
    margin-top: auto;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 600;
    transition: background-color .25s ease,
                color .25s ease,
                box-shadow .25s ease;
}

/* Subtle hover */
@media (hover: hover) {
    #nabic-home-v4 .nb5-service-grid > .nb5-card:hover {
        transform: translateY(-3px);
        border-color: #b8e8fa;
        box-shadow: 0 14px 30px rgba(20, 75, 120, .10);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    #nabic-home-v4 .nb5-service-grid > .nb5-card {
        transition: none;
    }
}

/* NABIC SERVICE CARDS REFINEMENT END */


/* NABIC MONITOR FORM REFINEMENT START */

/* Heading */
#nabic-home-v4 .nb4-monitor-copy > h2 {
    font-family: 'NabicPeyda', sans-serif !important;
    font-weight: 700 !important;
}

/* Description */
#nabic-home-v4 .nb4-monitor-copy > p:not(.nb4-check-result) {
    font-family: 'Vazirmatn', sans-serif;
    line-height: 1.9;
}

/* Form layout */
#nabic-home-v4 .nb4-monitor-form {
    gap: 12px;
    align-items: stretch;
}

/* IP input */
#nabic-home-v4 .nb4-monitor-form input {
    height: 50px;
    min-height: 50px;
    box-sizing: border-box;
    border: 1px solid #dce6f0;
    border-radius: 12px;
    font-family: 'Vazirmatn', sans-serif;
    transition: border-color .2s ease, box-shadow .2s ease;
}

#nabic-home-v4 .nb4-monitor-form input:focus {
    outline: none;
    border-color: #00aeef;
    box-shadow: 0 0 0 3px rgba(0,174,239,.12);
}

/* Submit button */
#nabic-home-v4 .nb4-monitor-form button[type="submit"] {
    height: 50px;
    min-height: 50px;
    box-sizing: border-box;
    border-radius: 12px;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 600;
    background: #00aeef;
    color: #fff;
    transition: background-color .2s ease,
                box-shadow .2s ease;
}

@media (hover: hover) {
    #nabic-home-v4 .nb4-monitor-form button[type="submit"]:hover {
        background: #009bd5;
        box-shadow: 0 5px 15px rgba(0,174,239,.18);
    }
}

/* Mobile */
@media (max-width: 767px) {
    #nabic-home-v4 .nb4-monitor-form {
        flex-direction: column;
    }

    #nabic-home-v4 .nb4-monitor-form input,
    #nabic-home-v4 .nb4-monitor-form button[type="submit"] {
        width: 100%;
    }
}

/* NABIC MONITOR FORM REFINEMENT END */



/* NABIC WHY TITLE DESIGN START */

#nabic-home-v4 .nb4-why > .nb4-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    text-align: center;
}

#nabic-home-v4 .nb4-why > .nb4-heading h2 {
    font-family: 'NabicPeyda', sans-serif !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    color: #102a52 !important;
    margin: 0 !important;
    white-space: nowrap;
}

#nabic-home-v4 .nb4-why > .nb4-heading::before,
#nabic-home-v4 .nb4-why > .nb4-heading::after {
    content: "" !important;
    display: block !important;
    flex: 0 0 62px;
    width: 62px;
    height: 16px;
    background: none !important;
    clip-path: none !important;
}

#nabic-home-v4 .nb4-why > .nb4-heading > span {
    display: none !important;
}

@media (max-width: 767px) {
    #nabic-home-v4 .nb4-why > .nb4-heading {
        gap: 10px !important;
    }
    #nabic-home-v4 .nb4-why > .nb4-heading h2 {
        font-size: 25px !important;
    }
    #nabic-home-v4 .nb4-why > .nb4-heading::before,
    #nabic-home-v4 .nb4-why > .nb4-heading::after {
        flex-basis: 44px;
        width: 44px;
        height: 14px;
    }
}



/* Graduated diamonds, mirrored on both sides */
#nabic-home-v4 .nb4-why > .nb4-heading::before {
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2260%22%20height%3D%2216%22%20viewBox%3D%220%200%2060%2016%22%3E%3Cpath%20d%3D%22M7%202.5%20L12.5%208%20L7%2013.5%20L1.5%208%20Z%22%20fill%3D%22%23087DE0%22%20opacity%3D%221.0%22/%3E%3Cpath%20d%3D%22M22%203.7%20L26.3%208%20L22%2012.3%20L17.7%208%20Z%22%20fill%3D%22%23087DE0%22%20opacity%3D%220.7%22/%3E%3Cpath%20d%3D%22M37%204.9%20L40.1%208%20L37%2011.1%20L33.9%208%20Z%22%20fill%3D%22%23087DE0%22%20opacity%3D%220.45%22/%3E%3Cpath%20d%3D%22M52%205.9%20L54.1%208%20L52%2010.1%20L49.9%208%20Z%22%20fill%3D%22%23087DE0%22%20opacity%3D%220.25%22/%3E%3C/svg%3E") center / contain no-repeat !important;
}

#nabic-home-v4 .nb4-why > .nb4-heading::after {
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2260%22%20height%3D%2216%22%20viewBox%3D%220%200%2060%2016%22%3E%3Cpath%20d%3D%22M7%205.9%20L9.1%208%20L7%2010.1%20L4.9%208%20Z%22%20fill%3D%22%23087DE0%22%20opacity%3D%220.25%22/%3E%3Cpath%20d%3D%22M22%204.9%20L25.1%208%20L22%2011.1%20L18.9%208%20Z%22%20fill%3D%22%23087DE0%22%20opacity%3D%220.45%22/%3E%3Cpath%20d%3D%22M37%203.7%20L41.3%208%20L37%2012.3%20L32.7%208%20Z%22%20fill%3D%22%23087DE0%22%20opacity%3D%220.7%22/%3E%3Cpath%20d%3D%22M52%202.5%20L57.5%208%20L52%2013.5%20L46.5%208%20Z%22%20fill%3D%22%23087DE0%22%20opacity%3D%221.0%22/%3E%3C/svg%3E") center / contain no-repeat !important;
}

/* NABIC WHY TITLE DESIGN END */







/* NABIC SERVICES TITLE FONT FINAL */
#nabic-home-v4 section.nb4-services .nb4-heading > h2 {
    font-family: 'NabicVazirmatn', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: normal !important;
    font-kerning: normal !important;
}


/* NABIC WHY FONT SYNC START */
#nabic-home-v4 section.nb4-why > .nb4-heading > h2 {
    font-family: 'NabicVazirmatn', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: normal !important;
    font-kerning: normal !important;
}
/* NABIC WHY FONT SYNC END */


/* NABIC WHY BENEFITS V2 START */

#nabic-home-v4 .nb4-why {
    background: #ffffff !important;
}

#nabic-home-v4 .nb4-why .nb4-benefits {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
    background: #fff !important;
    direction: rtl;
    align-items: stretch;
}

#nabic-home-v4 .nb4-why .nb4-benefit-item {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 18px 14px 22px;
    min-width: 0;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: relative;
}

#nabic-home-v4 .nb4-why .nb4-benefit-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    top: 15%;
    height: 75%;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent,
        #b5d9f5 25%,
        #b5d9f5 75%,
        transparent
    );
}

#nabic-home-v4 .nb4-why .nb4-benefit-item > img {
    display: block !important;
    width: 120px !important;
    height: 120px !important;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto 8px !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

#nabic-home-v4 .nb4-why .nb4-benefit-item > h3 {
    font-family: 'NabicVazirmatn', sans-serif !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    color: #102a52 !important;
    line-height: 1.6;
    margin: 0 0 4px !important;
}

#nabic-home-v4 .nb4-why .nb4-benefit-item > p {
    font-family: 'NabicVazirmatn', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #536b86 !important;
    line-height: 1.8;
    margin: 0 !important;
}

@media (max-width: 767px) {
    #nabic-home-v4 .nb4-why .nb4-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        row-gap: 18px !important;
    }

    #nabic-home-v4 .nb4-why .nb4-benefit-item {
        padding: 12px 8px 18px;
    }

    #nabic-home-v4 .nb4-why .nb4-benefit-item > img {
        width: 90px !important;
        height: 90px !important;
    }

    #nabic-home-v4 .nb4-why .nb4-benefit-item > h3 {
        font-size: 17px !important;
    }

    #nabic-home-v4 .nb4-why .nb4-benefit-item > p {
        font-size: 12px !important;
    }

    #nabic-home-v4 .nb4-why .nb4-benefit-item:nth-child(2)::after {
        display: none;
    }
}

/* NABIC WHY BENEFITS V2 END */

/* NABIC WHY BENEFITS - COMPACT SPACING V1 */

@media (min-width: 992px) {
    #nabic-home-v4 .nb4-why .nb4-benefits {
        width: 100% !important;
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    #nabic-home-v4 .nb4-why .nb4-benefit-item {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}


/* NABIC WHY SECTION LAYOUT FIX START */

/* Main section */
#nabic-home-v4 section.nb4-why {
    background: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 24px !important;
    padding-bottom: 32px !important;
}

/* Heading spacing */
#nabic-home-v4 .nb4-why > .nb4-heading {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Four columns */
#nabic-home-v4 .nb4-why .nb4-benefits {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Individual items */
#nabic-home-v4 .nb4-why .nb4-benefit-item {
    padding-top: 8px !important;
    padding-bottom: 12px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Mobile */
@media (max-width: 767px) {
    #nabic-home-v4 section.nb4-why {
        padding-top: 20px !important;
        padding-bottom: 24px !important;
    }

    #nabic-home-v4 .nb4-why > .nb4-heading {
        margin-bottom: 16px !important;
    }
}

/* NABIC WHY SECTION LAYOUT FIX END */

/* NABIC WHY - REMOVE SECTION BACKGROUND */
#nabic-home-v4 section.nb4-why,
#nabic-home-v4 section.nb4-why .nb4-benefits,
#nabic-home-v4 section.nb4-why .nb4-benefit-item {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

#nabic-home-v4 section.nb4-why {
    border: none !important;
    border-radius: 0 !important;
}

/* NABIC - Monitor Softer Shadow V1 */
#nabic-home-v4 section.nb4-monitor {
    box-shadow: 0 4px 16px rgba(20, 60, 100, 0.045) !important;
}


/* NABIC FOOTER V2 START */

#nabic-home-v4 .nb4-footer-v2 {
    background: #fff !important;
    padding-top: 38px !important;
    padding-bottom: 0 !important;
    border-top: 1px solid #e5edf5;
    font-family: 'NabicVazirmatn', sans-serif;
}

#nabic-home-v4 .nb4-footer-v2 .nb4-footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 32px;
    align-items: start;
    padding-bottom: 32px;
}

#nabic-home-v4 .nb4-footer-v2 .nb4-footer-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

#nabic-home-v4 .nb4-footer-v2 .nb4-footer-link-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
}

#nabic-home-v4 .nb4-footer-v2 .nb4-footer-link-group h3 {
    color: #00aeef !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    margin: 0 0 5px !important;
}

#nabic-home-v4 .nb4-footer-v2 .nb4-footer-link-group a {
    color: #43546b !important;
    font-size: 15px !important;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.9;
    position: relative;
    padding-right: 14px;
}

#nabic-home-v4 .nb4-footer-v2 .nb4-footer-link-group a::before {
    content: "";
    position: absolute;
    right: 0;
    top: 13px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a3a9b0;
}

#nabic-home-v4 .nb4-footer-v2 .nb4-footer-link-group a:hover {
    color: #008bd0 !important;
}

#nabic-home-v4 .nb4-footer-v2 .nb4-footer-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 145px;
}

#nabic-home-v4 .nb4-footer-v2 .nb4-footer-trust-placeholder {
    width: 130px;
    height: 130px;
    border: 1px dashed #d8e5ef;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #9aabba;
    font-size: 13px;
}

#nabic-home-v4 .nb4-footer-v2 .nb4-footer-about {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px 0;
    border-top: 1px solid #e5edf5;
}

#nabic-home-v4 .nb4-footer-v2 .nb4-footer-about-logo {
    flex: 0 0 190px;
}

#nabic-home-v4 .nb4-footer-v2 .nb4-footer-about-logo img {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

#nabic-home-v4 .nb4-footer-v2 .nb4-footer-about p {
    font-size: 15px !important;
    line-height: 2.2;
    color: #263c55 !important;
    margin: 0;
}

#nabic-home-v4 .nb4-footer-v2 .nb4-footer-bottom-v2 {
    background: #f1f3f5 !important;
    border-top: 1px solid #e3e8ed !important;
    padding: 20px var(--nb-content-gutter, 5%) !important;
    margin: 0 calc(-1 * var(--nb-content-gutter, 5%)) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

#nabic-home-v4 .nb4-footer-v2 .nb4-footer-bottom-v2 strong {
    color: #102a52;
    font-size: 14px;
    font-weight: 800;
}

#nabic-home-v4 .nb4-footer-v2 .nb4-footer-bottom-v2 span {
    font-size: 13px;
}

@media (max-width: 1100px) {
    #nabic-home-v4 .nb4-footer-v2 .nb4-footer-top {
        grid-template-columns: 1fr;
    }

    #nabic-home-v4 .nb4-footer-v2 .nb4-footer-trust {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    #nabic-home-v4 .nb4-footer-v2 .nb4-footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 14px;
    }

    #nabic-home-v4 .nb4-footer-v2 .nb4-footer-link-group h3 {
        font-size: 17px !important;
    }

    #nabic-home-v4 .nb4-footer-v2 .nb4-footer-link-group a {
        font-size: 13px !important;
    }

    #nabic-home-v4 .nb4-footer-v2 .nb4-footer-about {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    #nabic-home-v4 .nb4-footer-v2 .nb4-footer-about-logo {
        flex: none;
    }

    #nabic-home-v4 .nb4-footer-v2 .nb4-footer-bottom-v2 {
        flex-direction: column;
        text-align: center;
    }
}

/* NABIC FOOTER V2 END */


/* NABIC FOOTER ENAMAD FIX START */
#nabic-home-v4 .nb4-footer-v2 .nb4-footer-trust {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    min-height: 0 !important;
}

#nabic-home-v4 .nb4-footer-v2 .nb4-footer-trust a {
    display: inline-flex !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

#nabic-home-v4 .nb4-footer-v2 .nb4-footer-trust img {
    display: block !important;
    width: 130px !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
}

@media (max-width: 767px) {
    #nabic-home-v4 .nb4-footer-v2 .nb4-footer-trust img {
        width: 110px !important;
    }
}
/* NABIC FOOTER ENAMAD FIX END */


/* NABIC FOOTER LOCAL ENAMAD START */

#nabic-home-v4 .nb4-footer-v2 .nb4-footer-trust {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    min-height: 0 !important;
}

#nabic-home-v4 .nb4-footer-v2 .nb4-footer-trust a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#nabic-home-v4 .nb4-footer-v2 .nb4-footer-trust img {
    display: block !important;
    width: 90px !important;
    height: 90px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    border: none !important;
    box-shadow: none !important;
}

/* NABIC FOOTER LOCAL ENAMAD END */

/* NABIC - Enamad Image Size V2 */
#nabic-home-v4 .nb4-footer-v2 .nb4-footer-trust img {
    width: 110px !important;
    height: 110px !important;
    max-width: none !important;
    object-fit: contain !important;
}


/* NABIC FOOTER V3 */
#nabic-home-v4 .nb4-footer-v3 {
    background: #fff;
    color: #172d4d;
    padding: 48px 32px 0;
    direction: rtl;
    border-top: 1px solid #e5edf5;
}

#nabic-home-v4 .nb4-footer-v3-main {
    max-width: 1320px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr .85fr;
    gap: 0;
    align-items: start;
}

#nabic-home-v4 .nb4-footer-v3-main > div {
    min-width: 0;
    padding: 0 24px;
}

#nabic-home-v4 .nb4-footer-v3-main > div:not(:last-child) {
    border-left: 1px solid #dce9f3;
}

#nabic-home-v4 .nb4-footer-v3-logo {
    width: 175px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 16px;
}

#nabic-home-v4 .nb4-footer-v3-brand p {
    font-size: 14px;
    line-height: 2;
    color: #5c6b7e;
    margin: 0 0 18px;
}

#nabic-home-v4 .nb4-footer-v3-contact {
    display: inline-block;
    color: #087dbb;
    text-decoration: none;
    border: 1px solid #cce6f5;
    border-radius: 30px;
    padding: 6px 14px;
    direction: ltr;
    font-size: 14px;
}

#nabic-home-v4 .nb4-footer-v3-links h3 {
    font-size: 17px;
    font-weight: 800;
    color: #008fd0;
    margin: 0 0 23px;
}

#nabic-home-v4 .nb4-footer-v3-links ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

#nabic-home-v4 .nb4-footer-v3-links li {
    margin: 0 0 17px;
    padding-right: 17px;
    position: relative;
    font-size: 14px;
    line-height: 1.8;
}

#nabic-home-v4 .nb4-footer-v3-links li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    background: #b7c9d7;
    border-radius: 50%;
}

#nabic-home-v4 .nb4-footer-v3-links a,
#nabic-home-v4 .nb4-footer-v3-links span {
    color: #263a57;
    text-decoration: none;
}

#nabic-home-v4 .nb4-footer-v3-links a:hover {
    color: #00aeef;
}

#nabic-home-v4 .nb4-footer-v3-trust {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

#nabic-home-v4 .nb4-footer-v3-trust img {
    width: 110px !important;
    height: 110px !important;
    max-width: none;
    object-fit: contain;
}

#nabic-home-v4 .nb4-footer-v3-bottom {
    max-width: 1320px;
    margin: 42px auto 0;
    border-top: 1px solid #dce9f3;
    padding: 22px 10px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

@media (max-width: 1100px) {
    #nabic-home-v4 .nb4-footer-v3-main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 36px;
    }

    #nabic-home-v4 .nb4-footer-v3-main > div {
        border-left: 0 !important;
    }
}

@media (max-width: 650px) {
    #nabic-home-v4 .nb4-footer-v3 {
        padding: 35px 16px 0;
    }

    #nabic-home-v4 .nb4-footer-v3-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 10px;
    }

    #nabic-home-v4 .nb4-footer-v3-brand {
        grid-column: 1 / -1;
    }

    #nabic-home-v4 .nb4-footer-v3-main > div {
        padding: 0 8px;
    }

    #nabic-home-v4 .nb4-footer-v3-links h3 {
        font-size: 15px;
    }

    #nabic-home-v4 .nb4-footer-v3-links li {
        font-size: 13px;
    }
}


/* NABIC FOOTER V3 - CONTACT BOXES */
#nabic-home-v4 .nb4-footer-v3-contact-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    direction: ltr;
}

#nabic-home-v4 .nb4-footer-v3-contact-list .nb4-footer-v3-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 190px;
    box-sizing: border-box;
    padding: 9px 15px;
    border: 1px solid #cde9f6;
    border-radius: 30px;
    background: #fff;
    color: #17345a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    direction: ltr;
    transition: background .2s ease, border-color .2s ease;
}

#nabic-home-v4 .nb4-footer-v3-contact-list .nb4-footer-v3-contact svg {
    flex-shrink: 0;
    color: #00aeef;
}

#nabic-home-v4 .nb4-footer-v3-contact-list .nb4-footer-v3-phone {
    background: #eaf8ff;
    border-color: #eaf8ff;
}

#nabic-home-v4 .nb4-footer-v3-contact-list .nb4-footer-v3-contact:hover {
    background: #dff4ff;
    border-color: #00aeef;
}

/* NABIC FOOTER - CONTACT BOXES SIDE BY SIDE */
#nabic-home-v4 .nb4-footer-v3-contact-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100%;
}

#nabic-home-v4 .nb4-footer-v3-contact-list .nb4-footer-v3-contact {
    min-width: 0 !important;
    width: auto !important;
    flex: 1 1 0 !important;
    padding: 9px 7px !important;
    font-size: 12px !important;
    gap: 5px !important;
    white-space: nowrap !important;
}

#nabic-home-v4 .nb4-footer-v3-contact-list .nb4-footer-v3-contact svg {
    width: 16px !important;
    height: 16px !important;
}

@media (max-width: 650px) {
    #nabic-home-v4 .nb4-footer-v3-contact-list {
        flex-wrap: wrap !important;
    }

    #nabic-home-v4 .nb4-footer-v3-contact-list .nb4-footer-v3-contact {
        flex: 1 1 150px !important;
    }
}


/* NABIC FOOTER - ICONS ON LEFT */
#nabic-home-v4 .nb4-footer-v3-contact-list .nb4-footer-v3-contact {
    flex-direction: row-reverse !important;
}


/* NABIC FOOTER - COLUMN HEADINGS */
#nabic-home-v4 .nb4-footer-v3-links h3 {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #00AEEF !important;
}


/* NABIC FOOTER - SAME FONT AS SERVICES HEADING */
#nabic-home-v4 .nb4-footer-v3-links h3 {
    font-family: 'NabicPeyda', sans-serif !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    color: #00AEEF !important;
}


/* NABIC FOOTER - TELEGRAM + BOTTOM ENAMAD */
#nabic-home-v4 .nb4-footer-v3-telegram {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

#nabic-home-v4 .nb4-footer-v3-telegram > a {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 12px;
    border: 1px solid #d8eaf5;
    border-radius: 18px;
    background: #f4fbff;
    text-decoration: none;
    color: #17345a;
    transition: background .2s ease, border-color .2s ease;
}

#nabic-home-v4 .nb4-footer-v3-telegram > a:hover {
    background: #e7f7ff;
    border-color: #00aeef;
}

#nabic-home-v4 .nb4-footer-v3-telegram-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #00aeef;
    color: white;
}

#nabic-home-v4 .nb4-footer-v3-telegram-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

#nabic-home-v4 .nb4-footer-v3-telegram-text strong {
    font-family: 'NabicPeyda', sans-serif;
    font-size: 15px;
    font-weight: 800;
}

#nabic-home-v4 .nb4-footer-v3-telegram-text small {
    font-size: 11px;
    color: #72849a;
}

#nabic-home-v4 .nb4-footer-v3-telegram-handle {
    font-size: 12px;
    font-weight: 700;
    direction: ltr;
    text-align: right;
    color: #008fd0;
}

#nabic-home-v4 .nb4-footer-v3-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

#nabic-home-v4 .nb4-footer-v3-bottom-trust img {
    width: 90px !important;
    height: 90px !important;
    object-fit: contain;
    display: block;
}

@media (max-width: 650px) {
    #nabic-home-v4 .nb4-footer-v3-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}


/* NABIC FOOTER - TELEGRAM AND WHATSAPP RECTANGULAR BOXES */
#nabic-home-v4 .nb4-footer-v3-social-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-telegram,
#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-whatsapp {
    display: block;
    width: 100%;
}

#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-telegram > a,
#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-whatsapp > a {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    min-height: 92px;
    padding: 14px 12px;
    border: 1px solid #d8eaf5;
    border-radius: 9px;
    background: #f4fbff;
    text-decoration: none;
    color: #17345a;
    gap: 12px;
    transition: background .2s ease, border-color .2s ease;
}

#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-whatsapp > a:hover,
#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-telegram > a:hover {
    background: #e7f7ff;
    border-color: #00aeef;
}

#nabic-home-v4 .nb4-footer-v3-whatsapp-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25d366;
    color: white;
}

#nabic-home-v4 .nb4-footer-v3-whatsapp-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

#nabic-home-v4 .nb4-footer-v3-whatsapp-text strong {
    font-family: 'NabicPeyda', sans-serif;
    font-size: 15px;
    font-weight: 800;
}

#nabic-home-v4 .nb4-footer-v3-whatsapp-text small {
    font-size: 11px;
    color: #72849a;
}

#nabic-home-v4 .nb4-footer-v3-whatsapp-number {
    font-size: 12px;
    font-weight: 700;
    color: #159447;
    direction: ltr;
    text-align: right;
}


/* NABIC FOOTER - COMPACT HORIZONTAL SOCIAL CARDS */
#nabic-home-v4 .nb4-footer-v3-social-contact {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
}

#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-telegram > a,
#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-whatsapp > a {
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    min-height: 66px !important;
    height: 66px !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
}

#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-telegram-icon,
#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-whatsapp-icon {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
}

#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-telegram-text,
#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-whatsapp-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 3px !important;
    min-width: 0 !important;
    flex: 1 !important;
}

#nabic-home-v4 .nb4-footer-v3-social-contact strong {
    font-size: 13px !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
}

#nabic-home-v4 .nb4-footer-v3-social-contact small {
    font-size: 10px !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
}


/* NABIC FOOTER - SOCIAL CARDS GRID FIX */
#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-telegram > a,
#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-whatsapp > a {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 42px !important;
    direction: rtl !important;
    align-items: center !important;
    column-gap: 9px !important;
    width: 100% !important;
    height: 72px !important;
    min-height: 72px !important;
    padding: 8px 10px !important;
    box-sizing: border-box !important;
}

#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-telegram-text,
#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-whatsapp-text {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    text-align: right !important;
    align-items: flex-start !important;
    overflow: hidden !important;
}

#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-telegram-icon,
#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-whatsapp-icon {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
}

#nabic-home-v4 .nb4-footer-v3-social-contact strong,
#nabic-home-v4 .nb4-footer-v3-social-contact small {
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    line-height: 1.5 !important;
}

#nabic-home-v4 .nb4-footer-v3-social-contact strong {
    font-size: 12px !important;
    font-weight: 800 !important;
}

#nabic-home-v4 .nb4-footer-v3-social-contact small {
    font-size: 10px !important;
}


/* NABIC FOOTER - SINGLE LINE SOCIAL TEXT FIX */
#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-telegram > a,
#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-whatsapp > a {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 34px !important;
    direction: rtl !important;
    align-items: center !important;
    column-gap: 6px !important;
    padding: 8px 7px !important;
    height: 64px !important;
    min-height: 64px !important;
}

#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-telegram-icon,
#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-whatsapp-icon {
    width: 34px !important;
    height: 34px !important;
    flex: none !important;
    grid-column: 2 !important;
}

#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-telegram-icon svg,
#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-whatsapp-icon svg {
    width: 22px !important;
    height: 22px !important;
}

#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-telegram-text,
#nabic-home-v4 .nb4-footer-v3-social-contact .nb4-footer-v3-whatsapp-text {
    grid-column: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
}

#nabic-home-v4 .nb4-footer-v3-social-contact strong,
#nabic-home-v4 .nb4-footer-v3-social-contact small {
    display: block !important;
    width: 100% !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    text-align: right !important;
    letter-spacing: -0.3px !important;
}

#nabic-home-v4 .nb4-footer-v3-social-contact strong {
    font-family: 'NabicPeyda', sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.7 !important;
}

#nabic-home-v4 .nb4-footer-v3-social-contact small {
    font-size: 9px !important;
    line-height: 1.7 !important;
}


/* NABIC - FLOATING ENAMAD */
#nabic-home-v4 .nb4-enamad-floating {
    position: fixed !important;
    left: 20px !important;
    bottom: 20px !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100px !important;
    height: 110px !important;
    padding: 8px !important;
    box-sizing: border-box !important;
    background: rgba(255,255,255,.88) !important;
    border: 1px solid rgba(0,174,239,.18) !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 24px rgba(16,55,90,.12) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#nabic-home-v4 .nb4-enamad-floating a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#nabic-home-v4 .nb4-enamad-floating img {
    display: block !important;
    width: 84px !important;
    height: 94px !important;
    max-width: 100% !important;
    object-fit: contain !important;
}

@media (max-width: 650px) {
    #nabic-home-v4 .nb4-enamad-floating {
        left: 10px !important;
        bottom: 10px !important;
        width: 75px !important;
        height: 85px !important;
        padding: 5px !important;
    }

    #nabic-home-v4 .nb4-enamad-floating img {
        width: 65px !important;
        height: 75px !important;
    }
}

/* NABIC - FOOTER BOTTOM SPACING */
#nabic-home-v4 .nb4-footer-v3 {
    padding-bottom: 60px !important;
}

@media (max-width: 650px) {
    #nabic-home-v4 .nb4-footer-v3 {
        padding-bottom: 40px !important;
    }
}


/* NABIC CTA - BLUE WAVE REDESIGN */
#nabic-home-v4 .nb4-cta {
    position: relative !important;
    isolation: isolate;
    overflow: hidden !important;
    direction: rtl !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 28px !important;

    min-height: 120px !important;
    padding: 24px 7% !important;
    box-sizing: border-box !important;

    border-radius: 22px !important;
    border: 1px solid rgba(255,255,255,.2) !important;

    background: linear-gradient(
        110deg,
        #0054b8 0%,
        #006bd2 43%,
        #008fe6 75%,
        #00aeef 100%
    ) !important;

    box-shadow: 0 12px 28px rgba(0,105,205,.13) !important;
}

/* Decorative blue waves */
#nabic-home-v4 .nb4-cta::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    width: 48%;
    height: 125%;
    bottom: -91%;
    left: -8%;
    border-radius: 50% 55% 0 0;
    transform: rotate(-9deg);
    background: linear-gradient(
        180deg,
        rgba(63,199,255,.85),
        rgba(0,143,240,.12)
    );
}

#nabic-home-v4 .nb4-cta::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    width: 39%;
    height: 130%;
    bottom: -94%;
    right: -8%;
    border-radius: 60% 50% 0 0;
    transform: rotate(12deg);
    background: linear-gradient(
        180deg,
        rgba(91,207,255,.8),
        rgba(0,106,220,.08)
    );
}

#nabic-home-v4 .nb4-cta > div {
    position: relative;
    z-index: 1;
    min-width: 0;
    text-align: right !important;
}

#nabic-home-v4 .nb4-cta h2 {
    font-family: 'NabicPeyda', sans-serif !important;
    font-size: 25px !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
    color: #fff !important;
    margin: 0 0 6px !important;
}

#nabic-home-v4 .nb4-cta p {
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: rgba(255,255,255,.9) !important;
    margin: 0 !important;
}

#nabic-home-v4 .nb4-cta > a {
    position: relative;
    z-index: 1;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;

    min-width: 175px !important;
    min-height: 48px !important;
    padding: 10px 22px !important;

    background: #fff !important;
    color: #17345a !important;
    border-radius: 40px !important;
    border: 0 !important;
    font-family: 'NabicPeyda', sans-serif !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    box-shadow: 0 5px 15px rgba(0,44,100,.12) !important;
    transition: transform .2s ease, box-shadow .2s ease;
}

#nabic-home-v4 .nb4-cta > a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,44,100,.2) !important;
}

@media (max-width: 650px) {
    #nabic-home-v4 .nb4-cta {
        flex-direction: column !important;
        text-align: center !important;
        gap: 16px !important;
        padding: 26px 18px !important;
        border-radius: 17px !important;
    }

    #nabic-home-v4 .nb4-cta > div {
        text-align: center !important;
    }

    #nabic-home-v4 .nb4-cta h2 {
        font-size: 20px !important;
    }

    #nabic-home-v4 .nb4-cta p {
        font-size: 13px !important;
    }

    #nabic-home-v4 .nb4-cta > a {
        min-height: 44px !important;
        font-size: 14px !important;
    }
}

/* NABIC CTA - 30% NARROWER */
#nabic-home-v4 .nb4-cta {
    width: 70% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 650px) {
    #nabic-home-v4 .nb4-cta {
        width: 100% !important;
    }
}




/* NABIC_FULL_WIDTH_RESPONSIVE_V1_START */

/* Full-width page background */
body.nabic-home-v4-active {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: clip !important;
    background: #f8fcff !important;
}

body.nabic-home-v4-active > #nabic-home-v4 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

#nabic-home-v4 {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    overflow-x: clip !important;
    background: #f8fcff !important;
}

/* Full-width header and hero */
#nabic-home-v4 .nb4-header,
#nabic-home-v4 .nb4-hero {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Keep hero content balanced on ultrawide monitors */
@media (min-width: 1800px) {
    #nabic-home-v4 .nb4-header {
        padding-left: max(5%, calc((100% - 1700px)/2)) !important;
        padding-right: max(5%, calc((100% - 1700px)/2)) !important;
    }

    #nabic-home-v4 .nb4-hero {
        padding-left: max(5%, calc((100% - 1600px)/2)) !important;
        padding-right: max(5%, calc((100% - 1600px)/2)) !important;
    }
}

/* Smooth background blending */
#nabic-home-v4 .nb4-hero {
    background-color: transparent !important;
    border-radius: 0 !important;
}

/* Responsive safety */
#nabic-home-v4 img {
    max-width: 100%;
}

@media (max-width: 767px) {
    #nabic-home-v4 .nb4-header,
    #nabic-home-v4 .nb4-hero {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* NABIC_FULL_WIDTH_RESPONSIVE_V1_END */
