
  :root{
    --nac-navy: #2d4d8b;
    --nac-navy-dark: #274372;
    --nac-black: #1c1c1c;
    --nac-line: #2d4d8b;
    --nac-cream: #f7f4ee;
  }

html{
    scroll-behavior: smooth;
    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; }

/* ===================== HEADER ===================== */

/* Logo added to navbar */
      .nac-brand{
        display:flex;
        align-items:center;
        gap:0.6rem;
      }
      .nac-brand-logo{
        height:54px;
        width:auto;
        display:block;
      }
      .nac-brand-text{
        font-size:1.15rem;
      }
      @media (max-width: 480px){
        .nac-brand-logo{ height:48px; }
      }	  
/* Logo added to navbar */

.nac-header{
    background: #2d4d8b;
    position: sticky;
    top:0;
    z-index:999;
    transform: translateZ(0); /* ADD THIS - own compositing layer */
}

.navbar{
    padding:12px 0;
}

.navbar>.container-fluid{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.nac-brand{
    display:flex;
    align-items:center;
    font-family:'Courier Prime', monospace;
    font-weight:700;
    letter-spacing:3px;
    font-size:28px;
    color:#fff !important;
    text-transform:uppercase;
    margin:0;
    line-height:1.2;
}

.nac-nav-link{
    font-family:'Courier Prime', monospace;
    font-weight:700;
    letter-spacing:1px;
    color:#fff !important;
    font-size:15px;
    margin-left:35px;
    transition:.3s;
}

.nac-nav-link:hover{
    color:#dbe5ff !important;
}

.navbar-toggler{
    border:1px solid rgba(255,255,255,.6);
    padding:6px 10px;
    box-shadow:none!important;
}

.navbar-toggler:focus{
    box-shadow:none;
}

.navbar-collapse{
    transition:.3s;
}

/* Custom hamburger <-> close (X) toggler */
.nac-toggler{
    background:transparent;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:5px;
    width:38px;
    height:34px;
}

.nac-toggler-bar{
    display:block;
    width:20px;
    height:2px;
    background:#fff;
    border-radius:2px;
    transition: transform .3s ease, opacity .25s ease;
}

.nac-toggler[aria-expanded="true"] .nac-toggler-bar:nth-child(1){
    transform: translateY(7px) rotate(45deg);
}

.nac-toggler[aria-expanded="true"] .nac-toggler-bar:nth-child(2){
    opacity:0;
}

.nac-toggler[aria-expanded="true"] .nac-toggler-bar:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width:991px){
.navbar>.container-fluid{ padding:0 10px; }
.nac-brand{ font-size:20px; letter-spacing:2px; max-width:80%; }
.navbar-collapse{ margin-top:15px; background:#274372; border-radius:10px; padding:15px; }
.navbar-nav{ text-align:center; }
.nac-nav-link{ margin:0; padding:12px 0; font-size:15px; border-bottom:1px solid rgba(255,255,255,.15); }
.nac-nav-link:last-child{ border:none; }
}

@media (max-width:576px){
.nac-brand{ font-size:16px; letter-spacing:1px; max-width:75%; line-height:1.4; }
.navbar-toggler{ padding:5px 8px; }
}

  /* ---------- Pixel NAC logo ---------- */
  .nac-logo{
    display:block;
    margin:2.25rem auto 1.75rem;
  }


/* ===================== BLOG PAGE ===================== */

.nac-blog-mark{
    text-align:center;
    padding:2.75rem 1rem 2.25rem;
}

.nac-blog-mark svg{
    height:52px;
    width:auto;
}

@media (max-width:576px){
  .nac-blog-mark{ padding:2rem 1rem 1.5rem; }
  .nac-blog-mark svg{ height:38px; }
}

.nac-blog-grid{
    padding: 0 1.5rem 2.5rem;
}

.nac-post-card{
    position:relative;
    display:block;
    color: var(--nac-black);
}

.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:700;
    font-size:0.92rem;
    line-height:1.35;
    letter-spacing:0.2px;
}

.nac-post-caption.nac-caption-plain{
    position:static;
    background:transparent;
    color:var(--nac-black);
    text-align:center;
    padding: 0.85rem 0.5rem 0;
    font-size:1rem;
}
 
/* ===================== NOTE STRIP ===================== */
.nac-note-strip{ 
    padding: 1.4rem 1.5rem 1.6rem;
    font-size: 0.98rem;
    line-height: 1.7;
}

.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: 700;
    color: var(--nac-navy);
    letter-spacing: 1px;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
  }

  .nac-footer-text{
    font-family: 'Courier Prime', monospace;
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 0;
  }

  .nac-footer-link{
    display: block;
    font-family: 'Courier Prime', monospace;
    font-weight: 700;
    color: var(--nac-navy);
    letter-spacing: 1px;
    font-size: 1.05rem;
    margin-bottom: 1.1rem;
  }

  .nac-footer-link:hover{
    color: var(--nac-navy-dark);
    text-decoration: underline;
  }

  .nac-footer-divider{
    border-left: 1px solid #333;
    min-height: 100%;
  }

  .nac-mailing-title{
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 1rem;
  }

  .nac-mailing-text{
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }

  .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;
  }

  .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;
    width: 100%;
    padding: 0.75rem 1.1rem;
    font-family: 'Courier Prime', monospace;
    font-size: 0.95rem;
    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;
    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;
    font-size: 1.9rem;
    color: #1c1c1c;
  }

  .nac-footer-bottom{
    border-top: 1px solid #999;
    margin-top: 2.5rem;
    padding: 1.2rem 0;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
  }

  @media (max-width: 767.98px){
    .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 .text-md-end{
      margin-top: 0.75rem;
    }
  }

        /* ============================================================
                   HEADINGS – Sacramento
                   ============================================================ */
        h1,
        .article-title, 
        .cap-title, 
        .nac-signature,
        .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;
        }

        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;
			color: #0d0b07;
        }

        .cap-title {
            font-size: 1.15rem;
            letter-spacing: 0.5px;
        }
 
        .nac-signature {
            font-size: 1.9rem;
            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;
            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: 680px;
            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.1rem;
            }
            .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 */
        }
		
		