:root{
    --nac-navy: #2d4d8b;
    --nac-navy-dark: #274372;
    --nac-black: #1c1c1c;
    --nac-line: #2d4d8b;
    --nac-cream: #f7f4ee;
  }

html{
    max-width: 100%;
    overflow-x: hidden;
}

body{
    max-width: 100%;
    overflow-x: hidden;
    overflow-anchor: none; /* ADD THIS - prevents scroll jump on hover/reflow */
}

  a{ text-decoration: none; }
  
        /* ── PRELOADER ── */
        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 99999;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }

        #preloader.hide {
            opacity: 0;
            visibility: hidden;
        }

        #preloader img {
            width: 180px;
            height: auto;
            object-fit: contain;
        }

        /* Jab tak preloader chal raha ho, site content chupa rahega */
        body.loading .site-content {
            visibility: hidden;
        }

/* ===================== HEADER ===================== */
*{
    box-sizing:border-box;
}

body {
    padding-top: 60px; /* header height */
}

@media (max-width: 900px) {
    body {
        padding-top: 82px; /* mobile header height */
    }
}

:root{
    --header-h:60px;
    --header-h-mobile:82px;
    --mini-h:26px;
    --ink:#1a1a1a;
}

/*================ HEADER ================*/

.site-header{
    position:fixed;
    top:0;
    left:0;
    right:0;
    height:var(--header-h);
    background:#2d4d8b;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 60px;
    z-index:1000;
    border-bottom:1px solid #111;
    transform:translateY(0);
    transition:transform .45s cubic-bezier(.65,0,.35,1), box-shadow .45s ease;
}

.site-header.header-hidden{
    transform:translateY(-100%);
}

.site-header.header-reveal{
    transform:translateY(0);
    box-shadow:0 4px 18px rgba(0,0,0,.08);
}

/*================ BRAND ================*/

.brand{
    display:flex;
    align-items:center;
    height:100%;
}

.brand .top{
    font-size:22px;
    letter-spacing:1px;
    color:var(--ink);
    display:block;
}

.brand .sub{
    font-size:9px;
    letter-spacing:2px;
    color:#888;
    display:block;
    margin-top:2px;
}

/*================ LOGO ================*/

.nac-brand{
    display:flex;
    align-items:center;
    height:100%;
}

.nac-brand-logo{
    display:block;
    height:42px;
    width:auto;
    max-width:100%;
    object-fit:contain;
    vertical-align:middle;
    transition:.3s;
}

/*================ DESKTOP MENU ================*/

.site-header nav{
    display:flex;
    align-items:center;
    gap:38px;
}

.site-header nav a{
    color:#fff;
    font-family:'Courier Prime', monospace;
    font-weight:500; 
    text-decoration:none;
    font-size:16px;
    text-transform:uppercase;
    padding-bottom:4px;
    position:relative;
}

.site-header nav a:hover::after{
    width:100%;
    color:#fff;
}

/*================ MOBILE ACTIONS ================*/

.mobile-actions{
    display:none;
    align-items:center;
    gap:14px;
}

.mobile-toggle{
    display:flex;
    align-items:center;
    gap:10px;
    background:none;
    border:none;
    cursor:pointer;
    padding:0;
}

.menu-label{
    color:#fff;
    font-size:15px;
    font-family:'Courier Prime', monospace;
    letter-spacing:1px;
}

.hamburger{
    width:22px;
    height:16px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:4px;
}

.hamburger span{
    width:100%;
    height:2px;
    background:#fff;
    display:block;
    transition:.3s;
}

.mobile-toggle.active .hamburger span:nth-child(1){
    transform:translateY(6px) rotate(45deg);
}

.mobile-toggle.active .hamburger span:nth-child(2){
    opacity:0;
}

.mobile-toggle.active .hamburger span:nth-child(3){
    transform:translateY(-6px) rotate(-45deg);
}

/*================ MOBILE DRAWER ================*/

.mobile-drawer{
    position:fixed;
    top:var(--header-h-mobile);
    left:0;
    right:0;
    background:#2d4d8b;
    z-index:999;
    display:flex;
    flex-direction:column;
    padding:18px 24px 26px;
    max-height:0;
    overflow:hidden;
    opacity:0;
    transition:max-height .4s ease, opacity .3s ease;
}

.mobile-drawer.open{
    max-height:400px;
    opacity:1;
}

.mobile-drawer a{
    color:#fff;
    text-decoration:none;
    font-weight:700;
    letter-spacing:.5px;
    font-size:15px;
    text-transform:uppercase;
    padding:12px 0;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.mobile-drawer a:last-child{
    border-bottom:none;
    color:#fff;
}

/*================ MINI BAR ================*/

.mini-bar{
    position:fixed;
    top:0;
    left:0;
    right:0;
    height:var(--mini-h);
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:1002;
    cursor:pointer;
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease;
}

.mini-bar.mini-active{
    pointer-events:auto;
}

.mini-bar.mini-visible{
    opacity:1;
}

.mini-bar .lines{
    display:flex;
    flex-direction:column;
    gap:5px;
}

.mini-bar .lines span{
    width:80px;
    height:2px;
    background:var(--ink);
    display:block;
}

.mini-bar:hover .lines span:first-child{
    transform:translateY(1px);
}

.mini-bar:hover .lines span:last-child{
    transform:translateY(-1px);
}

/*================ MOBILE ================*/

@media (max-width:900px){

    :root{
        --header-h-mobile:82px;
    }

    .site-header{
        height:var(--header-h-mobile);
        padding:8px 16px;
        transform:translateY(0)!important;
        box-shadow:none!important;
    }

    .brand{
        flex:1;
        display:flex;
        align-items:center;
        height:100%;
    }

    .nac-brand{
        display:flex;
        align-items:center;
        height:100%;
    }

    .nac-brand-logo{
        height:52px;
        max-width:180px;
        width:auto;
        object-fit:contain;
    }

    .site-header nav{
        display:none;
        font-family:'Courier Prime', monospace;
    }

    .mobile-actions{
        display:flex;
        align-items:center;
        margin-left:auto;
    }

    .menu-label{
        font-size:16px;    
        font-family:'Courier Prime', monospace;
    }

    .mini-bar{
        display:none;
    }

    .mobile-drawer{
        top:var(--header-h-mobile);
        font-family:'Courier Prime', monospace;
    }

    .brand .top{
        font-size:19px;
        letter-spacing:1.5px;
    }

    .brand .sub{
        font-size:7px;
    }
}
/* ===================== HEADER ===================== */

  /* ---------- Pixel NAC logo ---------- */
  .nac-logo{
    display:block;
    margin:2.25rem auto 1.75rem;
  }


/* ===================== BLOG PAGE ===================== */
/* Logo Container */
.nac-blog-mark {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 30px 0;
}

/* Logo */
.nac-brand-logo {
    max-width: 150px; /* Apne hisab se size change kar sakte hain */
    width: 100%;
    height: auto;
    transition: transform 0.4s ease, filter 0.4s ease;
    cursor: pointer;
}

/* Hover Effect */
.nac-brand-logo:hover {
    transform: scale(1.1); 
}
.nac-blog-grid{
    padding: 0 1.5rem 2.5rem;
}

.nac-post-card{
    position:relative;
    display:block;
    color: var(--nac-black);
    opacity:0;
    transform:translateY(36px);
    transition:opacity .8s cubic-bezier(.22,.68,.32,1), transform .8s cubic-bezier(.22,.68,.32,1);
}

.nac-post-card.in-view{
    opacity:1;
    transform:translateY(0);
}

@media (prefers-reduced-motion: reduce){
    .nac-post-card{
        opacity:1 !important;
        transform:none !important;
        transition:none !important;
    }
}

.nac-post-thumb{
    position:relative;
    width:100%;
    aspect-ratio: 4 / 3;
    overflow:hidden;
    background:#eee;
    contain: layout paint; /* ADD THIS - isolates repaint area */
}

.nac-post-thumb img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition: transform 0.5s ease, filter 0.5s ease;
    will-change: transform; /* ADD THIS */
    backface-visibility: hidden; /* ADD THIS */
}

.nac-post-card:hover .nac-post-thumb img{
    transform: scale(1.14);
    filter: brightness(1.04) saturate(1.08);
}

@media (prefers-reduced-motion: reduce){
  .nac-post-thumb svg{ transition:none; }
  .nac-post-card:hover .nac-post-thumb svg{ transform:none; }
}
.nac-post-caption{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    background: rgba(28,28,28,0.82);
    color:#fff;
    padding:0.65rem 0.85rem;
    font-family:'Courier Prime', monospace;
    font-weight:500;
    font-size:14px;
    line-height:1.35;
    letter-spacing:0.2px;

    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    min-height:80px; /* Apne design ke hisab se 70-100px */
}

@media (max-width:768px){
    .nac-post-caption{
        font-size:16px; /* mobile pe bada size, apne hisab se 15-18px kar sakte ho */
        padding:0.8rem 1rem;
        min-height:90px;
        line-height:1.4;
    }
}
/* ===================== NOTE STRIP ===================== */
.nac-note-strip{ 
    padding: 1.4rem 1.5rem 1.6rem;
    font-size: 12px;
    line-height: 1.7;
	font-family:'Courier Prime', monospace;
}

.nac-note-strip b{
    color: var(--nac-navy);
}

/* ===================== FOOTER ===================== */
  .nac-footer{
    background-color: #ffffff;
    border-top: 2px solid var(--nac-line);
    padding-top: 2.5rem;
    color: var(--nac-black);
  }

  .nac-footer-title{
    font-family: 'Courier Prime', monospace;
    font-weight: 500;
    color: var(--nac-navy);
    letter-spacing: 1px;
	text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 0.75rem;
  }

  .nac-footer-text{
    font-family: 'Courier Prime', monospace;
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 0;
	color: #161616;
  }

  .nac-footer-link{
    display: block;
    font-family: 'Courier Prime', monospace;
    font-weight: 500;
    color: var(--nac-navy);
    letter-spacing: 1px;
    font-size: 16px;
    margin-bottom: 1.1rem;
	text-transform: uppercase;
  }

  .nac-footer-link:hover{
    color: var(--nac-navy-dark);
    text-decoration: none;
  }

  .nac-footer-divider{
    border-left: 1px solid #333;
    min-height: 100%;
  }

  .nac-mailing-title{
    font-weight: 500;
    font-size: 17px;
    margin-bottom: 1rem;
	font-family:'Courier Prime', monospace;
  }

  .nac-mailing-text{
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 1.5rem;
	font-family:'Courier Prime', monospace;
  }

.nac-subscribe-form{
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 480px;
    box-sizing: border-box;
    margin-top: 20px;
    background: transparent;
    overflow: hidden;

    background-image: url('../images/download.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    padding: 4px;
}

  .nac-subscribe-form .nac-sketch-border{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
  }

  .nac-subscribe-form .nac-sketch-border path{
    fill: none;
    stroke: #1c1c1c;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .nac-subscribe-form .nac-sketch-border .nac-sketch-pass-2{
    stroke-width: 1.1;
    opacity: 0.55;
  }

  .nac-subscribe-form .nac-squiggle{
    position: absolute;
    top: -13px;
    left: 12%;
    width: 62%;
    height: 12px;
    overflow: visible;
  }

  .nac-subscribe-form .nac-squiggle path{
    fill: none;
    stroke: #1c1c1c;
    stroke-width: 1.6;
    stroke-linecap: round;
  }

  .nac-subscribe-form input{
    position: relative;
    z-index: 1;
    border: none;
    outline: none;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.75rem 1.1rem;
    font-family: 'Courier Prime', monospace;
    font-size: 16px;
    background: transparent;
    box-sizing: border-box;
  }

  .nac-subscribe-form input::placeholder{
    color: #1c1c1c;
    opacity: 1;
  }

  .nac-subscribe-form button{
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    flex-shrink: 0;
    border: none;
    background: transparent;
    font-family: 'Courier Prime', monospace;
    font-weight: 400;
    padding: 0.75rem 1.3rem;
    white-space: nowrap;
    cursor: pointer;
  }

  .nac-subscribe-form button:hover{
    color: var(--nac-navy);
  }

  @media (max-width: 400px){
    .nac-subscribe-form input{
      padding: 0.65rem 0.7rem;
      font-size: 0.82rem;
    }
    .nac-subscribe-form button{
      padding: 0.65rem 0.8rem;
      font-size: 0.82rem;
    }
  }

  .nac-signature{
    font-family: 'Sacramento', cursive;
	text-align: center;
    font-size: 28px;
    color: #1c1c1c;
  }
 
.nac-footer-bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-top: 1px solid #999;
}

.nac-footer-bottom > div{
    display: flex;
    align-items: center;
}

.nac-footer-bottom .text-md-end{
    justify-content: flex-end;
    font-family: 'Courier Prime', monospace;
}

@media (max-width: 767px){
    .nac-footer-bottom{
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .nac-footer-bottom .nac-signature { 
        text-align: center; 
    }

    .nac-footer-bottom > div{
        justify-content: center;
    }

    .nac-footer-bottom .text-md-end{
        justify-content: center;
        text-align: center !important;
    }
}
  @media (max-width: 767.98px){
    .nac-footer-title{
      text-align: left;
    }
    .nac-footer-divider{
      border-left: none;
      border-top: 1px solid #333;
      margin: 1.5rem 0;
      padding-top: 1.5rem;
    }
    .nac-footer-bottom{
      text-align: center;
    }
    .nac-footer-bottom .nac-signature{
      text-align: center;
    }
    .nac-footer-bottom .text-md-end{
      margin-top: 0.75rem;
    }
  }

        /* ============================================================
                   HEADINGS – Sacramento
                   ============================================================ */
        h1,
        .article-title, 
        .cap-title,  
        .blog-heading {
            font-family: 'Sacramento', cursive;
            font-weight: 400;
            /* Sacramento works best at normal weight */
            letter-spacing: 0.3px;
        }

        /* override for specific heading sizes */
        h1,
        .article-title {
            font-size: 2.6rem;
            line-height: 1.2;
			text-align:center;
        }

        h2 {
            font-size: 2rem;
        }

        h3 {
            font-size: 1.6rem;
        }

        .article-subtitle {
            font-size: 1.3rem;
            letter-spacing: 1px;
            opacity: 0.85;
            margin-bottom: 2.2rem;
            font-family: 'Courier Prime', monospace;
			color: #0d0b07;
        }

        .cap-title {
            font-size: 1.15rem;
            letter-spacing: 0.5px;
        }
 
        .nac-signature {
            font-size: 28px;
			text-align: center;
            color: #1c1c1c;
        }

        /* ============================================================
                   BLOG PAGE
                   ============================================================ */

        /* Article */
        .article-wrap {
            max-width: 920px;
            margin: 0 auto;
            padding: 3.5rem 1.5rem 6rem 1.5rem;
        }

        .article-title {
            font-size: 2.8rem;
            font-weight: 400;
            color: 0d0b07;
            letter-spacing: 0.5px;
            margin-bottom: 0.4rem;
        }

        .article-subtitle {
            font-size: 1.2rem;
            letter-spacing: 1px;
            font-family: 'Courier Prime', monospace;
            color: #0d0b07;
            opacity: 0.85;
            margin-bottom: 2.2rem;
        }

        .hero-collage {
            width: 100%;
            border-radius: 2px;
            display: block;
            margin-bottom: 2.2rem;
            box-shadow: 0 10px 30px rgba(13, 11, 7, 0.08);
        }

        .article-divider {
            border: none;
            border-top: 1px solid var(--border-light);
            margin: 2.4rem 0;
        }

        .article-body p {
            font-size: 18px;
            line-height: 1.25;
            color: #3a3631;
            margin-bottom: 1.1rem;
            font-family: 'Courier Prime', monospace;
        }

        .article-body p strong {
            color: var(--primary-black);
            font-family: 'Courier Prime', monospace;
            font-weight: 700;
            font-size: 20px;
        }

        .section-image-wrap {
            margin: 2rem 0 0.9rem 0;
            text-align: center;
        }

        .section-image-wrap img {
            width: 100%;
            max-width: 400px;
            display: block;
            margin: 0 auto;
            border-radius: 2px;
            box-shadow: 0 12px 32px rgba(13, 11, 7, 0.10);
        }

        .section-caption {
            text-align: center;
            margin-top: 1rem;
            margin-bottom: 2.2rem;
        }

        .section-caption .cap-title {
            font-size: 1.2rem;
            letter-spacing: 0.5px;
            font-weight: 400;
            color: var(--primary-black);
        }

        .section-caption .cap-sub {
            font-size: 0.7rem;
            letter-spacing: 1px;
            color: var(--text-muted);
            margin-top: 0.25rem;
        }

        .note-box {
            margin-top: 2.6rem;
            font-size: 0.82rem;
            line-height: 1.8;
            color: var(--text-muted);
        }

        .note-box .note-label {
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--primary-blue);
            font-size: 0.72rem;
            display: block;
            margin-bottom: 0.6rem;
        }

        @media (max-width: 768px) {
            .article-wrap {
                padding: 2.2rem 1.2rem 4rem 1.2rem;
            }
            .article-title {
                font-size: 2.29rem;
            }
            .article-subtitle {
                font-size: 1.1rem;
            }
            .section-image-wrap img {
                max-width: 100%;
            }
        }

	/*!-- WhatsApp Chat and Call Buttons --*/
  
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        .fixed-whatsapp {
            position: fixed;
            bottom: 80px;
            right: 20px;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .fixed-whatsapp a {
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            background-color: #25D366;
            border-radius: 50%;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
            color: white;
            font-size: 24px;
            animation: pulse 2.5s infinite;
        }

        .fixed-whatsapp a.whatsapp-call {
            background-color: #027DFF;
        }

        /* Hover effect for buttons */
        .fixed-whatsapp a:hover {
            transform: scale(1.15) rotate(5deg);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
        }

        /* Icon zoom effect on hover */
        .fixed-whatsapp a i {
            transition: transform 0.3s ease;
        }

        .fixed-whatsapp a:hover i {
            transform: scale(1.3); /* Zooms the icon */
        }