/* =========================
   FILE: styles.css
   UPDATED to support former Home layout + 3-col footer
   ========================= */

:root{
  --navy:#0a192f;
  --text:#0f172a;
  --muted:#475569;
  --line:#e2e8f0;
  --soft:#f8fafc;
  --accent:#e65100;
  --dark:#020617;

  --radius:16px;
  --radius-lg:20px;
  --shadow:0 14px 35px rgba(2, 6, 23, 0.12);

  --max:1150px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:"Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:#fff;
}

a{ color:inherit; }
img{ max-width:100%; display:block; }

.container{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
}

/* ===== HEADER / NAV ===== */
.main-header{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}

.nav-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}

.logo-wrapper{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  font-weight:900;
  letter-spacing:0.2px;
}

.logo-img{
  width:42px;height:42px;
  border-radius:12px;
  border:1px solid var(--line);
}

.logo-text{ font-weight:900; }

.mobile-menu-toggle{
  display:none;
  background:transparent;
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px 12px;
  cursor:pointer;
}

.nav-menu{
  display:flex;
  align-items:center;
  gap:10px;
  list-style:none;
  margin:0;
  padding:0;
}

.nav-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  font-weight:700;
  padding:10px 12px;
  border-radius:12px;
}

.nav-link:hover{ background:var(--soft); }
.nav-link.active{ color:var(--accent); background:rgba(230,81,0,0.08); }

/* Dropdown */
.nav-menu .has-dropdown{ position:relative; }
.nav-menu .dropdown-toggle{ display:inline-flex; align-items:center; gap:8px; cursor:pointer; }

.nav-menu .dropdown{
  position:absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:var(--shadow);
  padding:20px 10px 10px;
  display:none;
  z-index:1000;
}

.nav-menu .has-dropdown.open .dropdown{ display:block; }

.nav-menu .dropdown a{
  color:var(--navy) !important;
  font-weight:700;
  display:block;
  padding:10px 12px;
  border-radius:10px;
  text-decoration:none;
  text-align:left;
}
.nav-menu .dropdown a:hover{ background:var(--soft); color:var(--accent) !important; }

.nav-menu .dropdown small{
  display:block;
  opacity:0.75;
  margin-top:3px;
  font-size:0.82rem;
  font-weight:600;
}

.dropdown-divider{
  height:1px;
  background: rgba(0,0,0,0.08);
  margin: 8px 6px;
}

/* Desktop hover open */
@media (min-width: 992px){
  .nav-menu .has-dropdown:hover .dropdown{ display:block; }
}

/* Mobile nav */
@media (max-width: 992px){
  .mobile-menu-toggle{ display:inline-flex; }

  .nav-menu{
    position:absolute;
    left:0; right:0;
    top: 72px;
    background:rgba(255,255,255,0.98);
    border-bottom:1px solid var(--line);
    display:none;
    flex-direction:column;
    align-items:stretch;
    padding:14px 20px;
    gap:6px;
  }
  .nav-menu.active{ display:flex; }

  .nav-menu .dropdown{
    position:static;
    box-shadow:none;
    border:1px solid var(--line);
    margin-top:8px;
    padding:10px;
  }
}

/* ===== GENERIC BUTTONS (kept for other pages) ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  font-weight:900;
  text-decoration:none;
  border:1px solid var(--line);
}

.btn-primary{
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
}

.btn-ghost{
  background:#fff;
  color:var(--text);
}

.btn-block{ width:100%; }

/* =========================================================
   HOME HERO (Former layout: hero-wrapper + hero-btn)
   ========================================================= */

.hero-wrapper{
  padding: 160px 20px 110px;
  text-align:center;
  color:#fff;
  background:
  linear-gradient(
    var(--hero-overlay, rgba(10,25,47,0.92)),
    var(--hero-overlay, rgba(10,25,47,0.92))
  ),
  url("https://brukdconsultancy.com/wp-content/uploads/2025/11/cover.jpg") center/cover no-repeat;
}

.hero-content{
  width:min(980px, calc(100% - 40px));
  margin:0 auto;
}

.hero-eyebrow{
  margin:0 0 16px;
  text-transform:uppercase;
  letter-spacing:2.5px;
  font-weight:900;
  font-size:0.78rem;
  color:rgba(255,255,255,0.85);
}

.hero-headline{
  margin:0 0 18px;
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  line-height:1.1;
  color:#fff;
  font-weight:900;
}

.hero-headline .hero-subline{
  display:inline-block;
  font-size:0.65em;
  font-weight:500;
  opacity:0.85;
  margin-top:0.35em;
}
.hero-headline .hero-subline{
  display:inline-block;
  font-size:0.65em;
  font-weight:500;
  opacity:0.9;
  margin-top:0.35em;
  color: var(--accent); /* ðŸ”¥ THIS is missing */
}


.hero-subtext{
  max-width: 880px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.92);
  opacity: 0.98;
}

.hero-footnote{
  margin-top:14px;
  opacity:0.78;
  font-size:0.95rem;
}

.hero-btn-group{
  width: min(980px, 100%);
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}


/* Home buttons (former style) */
.hero-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:13px 18px;
  border-radius:14px;
  font-weight:900;
  text-decoration:none;
  border:1px solid rgba(255,255,255,0.18);
  transition: 0.2s ease;

  width: 100%;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.2;
  min-height: 52px;
  white-space: normal;
}
/* Primary hero CTA – BRUKD accent */
.hero-btn-accent{
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.hero-btn-accent:hover{
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}


.hero-btn-secondary{
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.9);
}

.hero-btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.02);
}

/* =========================================================
   TRUST SIGNALS
   ========================================================= */

.trust-signals-container{
  padding: 60px 0 20px;
  background:#fff;
}

.trust-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items:stretch;
}

.trust-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 10px 26px rgba(2,6,23,0.06);
}

.trust-icon-wrapper{
  width:58px;
  height:58px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(230,81,0,0.10);
  border:1px solid rgba(230,81,0,0.18);
  margin-bottom:14px;
}

.trust-icon-wrapper i{
  font-size: 1.7rem;
  color: var(--accent);
}

.trust-title{
  margin:0 0 8px;
  color: var(--navy);
  font-size: 1.15rem;
}

.trust-desc{
  margin:0;
  color: var(--muted);
  line-height: 1.7;
}

/* =========================================================
   CONTENT SECTIONS (former style)
   ========================================================= */

.content-section{
  padding: 80px 0;
}

.section-title{
  margin:0 0 12px;
  color:var(--navy);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}

.section-subtitle{
  margin: 0 0 14px;
  color: rgba(255,255,255,0.82);
  font-weight:800;
  letter-spacing:0.6px;
  text-transform: none;
}

.intro-p{
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 900px;
}

/* Two column block */
.two-column{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items:center;
}

.visual-column .featured-image{
  width:100%;
  height:auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.text-block p{
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.75;
}

.btn-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}
.btn-row-center{
  justify-content:center;
}

/* =========================================================
   DARK SECTIONS
   ========================================================= */

.section-dark{
  background: linear-gradient(180deg, #06101f, #020617);
  color:#fff;
}

.section-dark .content-section{
  padding: 80px 0;
}

.section-dark .section-title{
  color:#fff;
}

.section-dark .intro-p{
  color: rgba(255,255,255,0.82);
}

.section-dark .process-step p,
.section-dark .process-text-content p{
  color: rgba(255,255,255,0.82);
}

.loading-on-dark{
  color: rgba(255,255,255,0.85);
  padding-left: 20px;
}

/* How we work layout */
.process-layout{
  display:grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 26px;
  align-items:start;
}

.process-grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.process-step{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 18px;
}

.process-step h4{
  margin: 0 0 8px;
  color:#fff;
  font-size: 1rem;
}

.process-step h4 i{
  margin-right: 10px;
  color: var(--accent);
}

.process-step p{
  margin:0;
  line-height: 1.65;
}

.process-visual .side-image{
  width:100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
}

/*/* =========================================================
   TECHNOLOGY SECTION: Forced Symmetry & Symmetry Fit
   UPDATED: Fixed Mobile Grid Congestion
   ========================================================= */

.tech-section {
  background: #fcfcfc;
  padding: 80px 0; 
}

/* 1. Main Grid: Desktop View */
.tech-columns-wrapper.tech-3col {
  margin-top: 34px;
  display: grid !important;
  /* repeat(3...) forces the columns side-by-side on desktop */
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px;
  align-items: stretch !important;
}

/* 2. Tech Card: Flex container for alignment */
.tech-column {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.06);
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.3s ease;
  height: 100%;
}

.tech-column:hover {
  transform: translateY(-5px);
}

.tech-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(230, 81, 0, 0.10);
  border: 1px solid rgba(230, 81, 0, 0.18);
  margin-bottom: 20px;
}

.tech-icon i {
  font-size: 1.7rem;
  color: var(--accent);
}

.tech-column h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 800;
}

/* 3. The Spacer: Pushes the Mini-Grid to the bottom */
.tech-column p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.75;
  flex-grow: 1 !important; 
}

/* 4. Mini Tool Grid: Standardized 2-column layout */
.mini-logo-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px;
  margin-top: auto;
}

.mini-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: var(--soft, #f8fafc);
  color: var(--text);
  transition: all 0.2s ease;
}

.mini-card:hover {
  border-color: var(--accent);
  background: #fff;
}

.mini-card i { margin-bottom: 6px; color: var(--accent); font-size: 1.1rem; }
.mini-card span { font-weight: 800; font-size: 0.85rem; display: block; }
.mini-card small { display: block; opacity: 0.75; margin-top: 2px; font-size: 0.75rem; }

/* 5. RESPONSIVE FIXES: Mobile & Tablet */
@media (max-width: 992px) {
  .tech-columns-wrapper.tech-3col {
    /* Switch to 1 column to prevent the "squashed" text effect */
    grid-template-columns: 1fr !important;
    gap: 25px;
  }

  .tech-column {
    padding: 25px; /* Slight reduction for mobile screen real estate */
  }

  .mini-logo-grid {
    /* Keep tools side-by-side on tablets/large phones */
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 480px) {
  .mini-logo-grid {
    /* On small phones, stack tool cards for readability */
    grid-template-columns: 1fr !important;
  }
}

/* 6. Advisory Banner */
.tech-advisory-banner {
  margin-top: 50px;
  background: var(--navy);
  color: #fff;
  padding: 45px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.tech-advisory-banner h3 { margin: 15px 0; color: #fff; font-size: 1.8rem; }
.tech-advisory-banner p { margin: 0 auto 25px; max-width: 800px; color: rgba(255, 255, 255, 0.85); line-height: 1.8; }

/* =========================================================
   LATEST UPDATES: Swiper + blog cards
   ========================================================= */

.updates-swiper{
  margin-top: 22px;
}

.blog-card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  overflow:hidden;
  height:100%;
}

.post-image-container{
  width:100%;
  height: 180px;
  overflow:hidden;
  background: rgba(255,255,255,0.05);
}

.post-img-fluid{
  width:100%;
  height:100%;
  object-fit: cover;
}

.post-content{
  padding: 16px 16px 18px;
}

.post-content h4{
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.post-content h4 a{
  color:#fff;
  text-decoration:none;
}

.post-content h4 a:hover{
  text-decoration:underline;
}

.excerpt{
  margin: 0 0 12px;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  font-size: 0.95rem;
}

.read-more{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color: #fff;
  font-weight:900;
  text-decoration:none;
}

.read-more i{
  color: var(--accent);
}

.swiper-pagination-bullet{
  background: rgba(255,255,255,0.45) !important;
}

.swiper-pagination-bullet-active{
  background: var(--accent) !important;
}

/* =========================================================
   FOOTER (3-column former style)
   ========================================================= */

.main-footer{
  background:var(--dark);
  color:#fff;
  margin-top:0;
}

.footer-container{
  padding:48px 0;
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.footer-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 28px;
  align-items:start;
}

.footer-brand{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  gap:10px;
}

.footer-logo{
  width:48px;height:48px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.1);
}

.footer-tagline{
  margin:0;
  font-family:"Libre Baskerville", serif;
  font-style:italic;
  font-size:1rem;
  font-weight:400;
  letter-spacing:0.04em;
  opacity:0.85;
  line-height:1.6;
}

.footer-social{
  display:flex;
  gap:12px;
  margin-top:10px;
}

.footer-social a{
  width:42px;height:42px;
  background:rgba(255,255,255,0.08);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  text-decoration:none;
  transition:0.2s;
}

.footer-social a:hover{
  background:var(--accent);
  transform:translateY(-2px);
}

.footer-heading{
  margin: 6px 0 12px;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.86);
}

.footer-nav,
.footer-contact-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}

.footer-nav a,
.footer-contact-list a{
  color: rgba(255,255,255,0.75);
  text-decoration:none;
}

.footer-nav a:hover,
.footer-contact-list a:hover{
  color:#fff;
  text-decoration:underline;
}

.footer-contact-list li{
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.footer-contact-list i{
  margin-right: 10px;
  color: var(--accent);
}

.footer-bottom{
  text-align:center;
  padding:18px 0;
}

.footer-bottom-content{
  color:rgba(255,255,255,0.7);
  font-size:0.9rem;
}

.footer-legal{
  display:flex;
  gap:20px;
  justify-content:center;
  margin-top:10px;
}

.footer-legal a{
  color:rgba(255,255,255,0.7);
  text-decoration:none;
  font-size:0.85rem;
}

.footer-legal a:hover{ color:#fff; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px){
  .process-layout{
    grid-template-columns: 1fr;
  }
  .process-visual{
    order: -1;
  }
  .tech-columns-wrapper.tech-3col{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px){
  .trust-grid{
    grid-template-columns: 1fr;
  }
  .two-column{
    grid-template-columns: 1fr;
  }
  .process-grid{
    grid-template-columns: 1fr;
  }
  .footer-grid{
    grid-template-columns: 1fr;
  }
  .footer-brand{
    align-items:center;
    text-align:center;
  }
  .footer-links,
  .footer-contact-info{
    text-align:center;
  }
  .footer-social{
    justify-content:center;
  }
}

@media (max-width: 600px){
  .hero-wrapper{
    padding: 130px 18px 90px;
  }
  .hero-subtext{
    font-size: 1.05rem;
  }
  .hero-btn-group{
    grid-template-columns: 1fr;
    width: min(520px, 100%);
  }
}

/* =========================
   Services page add-ons
   (append at bottom of styles.css)
   ========================= */

.service-tracks{
  display:grid;
  gap: 26px;
}

.track-block{
  padding: 0;
}

.track-muted{
  background: #fcfcfc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.track-title{
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.4rem;
}

.track-lead{
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.75;
}

.card-list{
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.card-list li{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  line-height: 1.6;
}

.card-list i{
  color: var(--accent);
  margin-top: 4px;
}

/* Track visual blocks */
.track-visual-container{
  position: relative;
  width: 100%;
  height: 320px;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(2,6,23,0.06);
}

.track-visual-main-icon{
  width: 120px;
  height: 120px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(10,25,47,0.06);
  border: 1px solid rgba(10,25,47,0.12);
}

.track-visual-main-icon i{
  font-size: 2.8rem;
  color: var(--navy);
}

.track-visual-main-icon.accent{
  background: rgba(230,81,0,0.10);
  border: 1px solid rgba(230,81,0,0.18);
}

.track-visual-main-icon.accent i{
  color: var(--accent);
}

/* reverse layout helper */
.two-column-reverse{
  direction: rtl;
}
.two-column-reverse > *{
  direction: ltr;
}

@media (max-width: 992px){
  .track-visual-container{ height: 260px; }
}
/* =========================
   Final CTA (separate from footer)
   ========================= */

.cta-final{
  padding: 90px 0;
  background: linear-gradient(
      rgba(10, 25, 47, 0.96),
      rgba(10, 25, 47, 0.96)
    ),
    url("https://brukdconsultancy.com/wp-content/uploads/2025/11/cover.jpg") center/cover no-repeat;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.cta-final-inner{
  display:flex;
  justify-content:center;
}

.cta-final-content{
  width: min(920px, 100%);
  text-align: center;
  color: #fff;
  padding: 34px 28px;
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 18px 50px rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
}

.cta-final-title{
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  line-height: 1.15;
}

.cta-final-text{
  margin: 0 auto;
  max-width: 760px;
  color: rgba(255,255,255,0.88);
  font-size: 1.08rem;
  line-height: 1.8;
}

.cta-final-actions{
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top: 22px;
}

/* Important: remove the footer blend feeling */
.main-footer{
  margin-top: 0; /* was 60px in your CSS */
}

/* keep spacing on mobile */
@media (max-width: 992px){
  .cta-final{ padding: 70px 0; }
  .cta-final-content{ padding: 28px 18px; }
  .cta-final-text{ font-size: 1.02rem; }
}
/* Fix overlap: reserve space for the "Most Popular Start" badge */
.package-card.popular{
  padding-top: 56px; /* creates room so badge never sits on top of content */
}

.package-card.popular .popular-badge{
  top: 16px;
  right: 16px;
  left: auto;
}
.affiliations-note{
  margin: 14px auto 0;
  max-width: 900px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #64748b; /* muted slate */
}
.section-dark .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.5;
}
.section-dark .swiper-pagination-bullet-active {
    background: #e65100; /* Matching your orange accent */
    opacity: 1;
}
.loading-on-dark {
    color: #ffffff;
    padding: 20px;
    text-align: center;
    width: 100%;
}
/* UPDATES SECTION - Dark but distinct */
.section-updates-dark {
    background-color: #112240; /* Navy Slate - distinct from Footer */
    padding: 80px 0;
    position: relative;
    border-bottom: 4px solid #ffffff; /* This is the white separation line */
}

.section-updates-dark .section-title { 
    color: #ffffff !important; 
}

/* BLOG CARD - Glass effect for dark background */
.blog-card-dark {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card-dark h4 a { 
    color: #ffffff !important; 
    text-decoration: none;
}

.blog-card-dark p { 
    color: #cbd5e1 !important; 
    font-size: 0.85em;
}
/* UPDATES SECTION - Dark Slate with White Divider */
.section-updates-dark {
    background-color: #112240 !important; /* Lighter than the black footer */
    padding: 80px 0;
    border-bottom: 20px solid #ffffff; /* The requested white separation */
}

.section-updates-dark .section-title { 
    color: #ffffff !important; 
}

/* BLOG CARD - Ensure text is visible on dark background */
.blog-card-dark {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card-dark h4 a { 
    color: #ffffff !important; 
    text-decoration: none;
}

.blog-card-dark p { 
    color: #cbd5e1 !important; /* Light grey for readability */
    font-size: 0.85rem;
    line-height: 1.5;
}
/* TECHNOLOGY SECTION GRID */
.tech-columns-wrapper.tech-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Forces 3 equal columns */
    gap: 30px;
    margin-top: 40px;
}

.tech-column {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #eef2f6;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.tech-column:hover {
    transform: translateY(-5px); /* Subtle lift on hover */
    border-color: #e65100;
}

.tech-column h3 {
    font-size: 1.35rem;
    color: #0a192f;
    margin-bottom: 12px;
    font-weight: 700;
}

.tech-column p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 25px;
    flex-grow: 1; /* Aligns grids even if text lengths differ */
}

/* MINI TOOL CARDS */
.mini-logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Clean 2x2 layout */
    gap: 12px;
}

.mini-card {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    transition: background 0.2s ease;
}

.mini-card:hover {
    background: #fff;
    border-color: var(--accent);
}

.mini-card i {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 6px;
    /* Uses the colors defined in your HTML inline styles */
}

.mini-card span {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--navy);
    display: block;
}

/* MOBILE FIXES */
@media (max-width: 1024px) {
    .tech-columns-wrapper.tech-3col {
        grid-template-columns: 1fr; /* Stacks columns on tablets/mobile */
    }
}
/* HERO: Healthy Spacing */
.hero-wrapper {
    min-height: 85vh !important; /* Increases breathing room */
    padding: 120px 20px !important;
    display: flex;
    align-items: center;
}

/* TECHNOLOGY: Equal Height Grid Fix */
.tech-columns-wrapper.tech-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: stretch; /* Forces all cards in the row to the same height */
    margin-top: 40px;
}

.tech-column {
    display: flex;
    flex-direction: column; /* Allows internal elements to use flex-grow */
    background: #ffffff;
    padding: 30px;
    border-radius: 18px;
    border: 1px solid #eef2f6;
    transition: transform 0.3s ease;
}

/* Forces the tool grids to align at the bottom across all cards */
.tech-column p {
    flex-grow: 1; 
    margin-bottom: 25px;
    line-height: 1.65;
}

/* LATEST UPDATES: Footer Separation */
.section-updates-dark {
    background-color: #112240 !important; /* Distinct Navy Slate */
    padding: 100px 0;
    border-bottom: 15px solid #ffffff; /* The White Break before footer */
}

/* ADVISORY BANNER: Visibility & Contrast */
.tech-advisory-banner {
    margin-top: 50px;
    background: var(--navy) !important; /* Forces dark navy background */
    color: #ffffff !important;
    padding: 45px;
    border-radius: 20px;
    text-align: center;
}

.tech-advisory-banner p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto 20px;
}
/* TECHNOLOGY GRID FIX */
.tech-columns-wrapper.tech-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Desktop: 3 columns */
    gap: 25px;
    width: 100%; /* Ensures it fills the container */
    align-items: stretch; 
}

/* MOBILE FIX: Prevent Congestion */
@media (max-width: 992px) {
    .tech-columns-wrapper.tech-3col {
        grid-template-columns: 1fr; /* Force 1 column on tablet/mobile */
        gap: 20px;
    }

    .mini-logo-grid {
        grid-template-columns: 1fr; /* Make tool cards full width on small screens */
    }
    
    .tech-column {
        padding: 20px; /* More space on mobile */
    }
}
/* LATEST UPDATES SECTION */
.section-updates-dark {
    background-color: #112240;
    padding: 80px 0;
    border-bottom: 15px solid #ffffff; /* The White Separation Break */
}

/* FOOTER STRUCTURE: 3-Column Layout */
.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Desktop: 3 columns */
    gap: 40px;
    padding: 60px 0;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* Stack on mobile */
        text-align: center;
    }
    
    .footer-brand, .footer-links, .footer-contact-info {
        align-items: center;
    }
}
/* --- HERO CONSOLIDATED DESIGN --- */
.hero-wrapper {
    min-height: 85vh !important;
    padding: 140px 20px !important;
    display: flex;
    align-items: center;
    background:
        linear-gradient(var(--hero-overlay, rgba(10,25,47,0.92)),
                        var(--hero-overlay, rgba(10,25,47,0.92))),
        url("https://brukdconsultancy.com/wp-content/uploads/2025/11/cover.jpg") center/cover no-repeat;
}

.hero-headline {
    margin-bottom: 25px !important;
    line-height: 1.25 !important;
}

.hero-subline {
    margin-top: 20px !important; /* Lowers the sub-headline as requested */
    display: inline-block;
    color: var(--accent); /* Consistent brand orange */
}

.hero-subtext {
    margin-top: 35px !important; /* Clear separation from headline */
    line-height: 1.85 !important;
}

.hero-btn-group {
    margin-top: 45px !important; /* Distinct gap before action buttons */
}

.hero-footnote {
    margin-top: 60px !important; /* Strong bottom anchor */
    opacity: 0.85;
}
/* Update these specific blocks in your CSS */

.footer-container {
    width: 100%;
    padding: 48px 0;
    /* Remove any alignment here to let the inner container handle it */
}

.footer-grid {
    display: grid !important;
    /* Forces 3 equal columns on desktop */
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 40px;
    align-items: start;
    /* This ensures it stays centered like your header */
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

/* Fix for mobile stacking */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    
    .footer-brand, .footer-links, .footer-contact-info {
        align-items: center;
        text-align: center;
    }
}
.package-card {
      background:#fff;
      border:1px solid var(--line);
      border-radius: var(--radius-lg);
      padding: 30px;
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column; /* Allows internal elements to push to bottom */
      height: 100%;
      position: relative;
    }

    /* Force the buttons to be visible and sit at the bottom of every card */
    .package-card .hero-btn {
      margin-top: auto !important; 
      display: inline-flex !important; 
      justify-content: center;
      width: 100%;
      text-align: center;
    }
    /* SURGICAL FIX: Ensures package buttons are always at the bottom and visible */
.package-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

.package-card .card-list {
    flex-grow: 1 !important; /* This creates the space that pushes the button down */
}

.package-card .hero-btn {
    margin-top: 20px !important; /* Provides a consistent gap if the list is long */
}
/* ============================================================
   SERVICE TRACKS: Unified Desktop & Mobile Stabilization
   ============================================================ */

/* 1. Desktop Layout */
.two-column {
  display: flex;
  align-items: center; 
  justify-content: space-between;
  gap: 60px; 
  margin-bottom: 80px;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.two-column-reverse {
  flex-direction: row-reverse;
}

.text-block, 
.visual-column {
  flex: 0 0 48%; /* Strict width to prevent image bleed */
  width: 48%;
  min-width: 0;
}

.track-visual-container {
  width: 100%;
  aspect-ratio: 16 / 10; 
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.track-img-fit {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 2. Mobile & Tablet Stabilization (Anti-Wiggle) */
@media (max-width: 992px) {
  .two-column, 
  .two-column-reverse {
    flex-direction: column !important;
    text-align: center !important;
    gap: 40px !important;
    padding: 0 20px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .text-block, 
  .visual-column {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .track-visual-container {
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
    max-height: 320px;
    margin: 0 auto !important;
  }

  /* Center buttons on mobile */
  /* Center buttons on mobile (DO NOT affect homepage hero) */
@media (max-width: 992px) {
  .btn-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
  }
}


/* 3. Global Safety Shield */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  position: relative !important;
  margin: 0;
  padding: 0;
}
/* =========================
   HOME HERO SYSTEM
   ========================= */

body[data-page="home"] {
  --hero-start: rgba(10,25,47,0.92);
  --hero-end: rgba(6,14,30,0.96);
  --accent: #e65100;
}

/* =========================
   SERVICES HERO SYSTEM (CLEAN)
   ========================= */

body[data-page="services"] {
  --hero-overlay: rgba(32,38,50,0.88);
}