/**
 * Mkwawa Construction — Full Visual Redesign
 * Typography: Barlow Condensed (headings) + DM Sans (body)
 * Palette: Navy #102a49, Amber #ed8600 — unchanged
 * Approach: Opinionated overrides on top of main.css + Bootstrap
 */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* ---- Colors (unchanged) ---- */
  --mk-navy: #102a49;
  --mk-navy-dark: #0b1e34;
  --mk-navy-mid: #1a3d62;
  --mk-amber: #ed8600;
  --mk-amber-light: #f5a535;
  --mk-amber-pale: rgba(237, 134, 0, 0.08);
  --mk-gray-bg: #f7f8fa;
  --mk-gray-border: #e4e7ec;
  --mk-gray-text: #566275;
  --mk-text: #1a1f2b;
  --mk-white: #ffffff;

  /* ---- Typography ---- */
  --font-heading: "Fraunces", serif;
  --font-body: "Google Sans", "Product Sans", system-ui, sans-serif;

  /* ---- Spacing ---- */
  --section-py: 120px;
  --section-py-md: 80px;
  --section-py-sm: 56px;
  --mk-radius: 8px;
  --mk-radius-sm: 5px;
}

/* ============================================================
   1. GLOBAL BASE
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--mk-text);
  background: var(--mk-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--mk-navy);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

section,
.section {
  background-color: var(--mk-white);
  color: var(--mk-text);
  padding: var(--section-py) 0;
  overflow: visible;
}

.light-background {
  background-color: var(--mk-gray-bg) !important;
}

a {
  transition: color 0.2s ease;
}

/* ---- AOS — fast, subtle ---- */
[data-aos] {
  transition-duration: 400ms !important;
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* ============================================================
   2. HEADER
   ============================================================ */

.header {
  background: var(--mk-white) !important;
  border-bottom: none;
  box-shadow: none;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.header .branding {
  min-height: 72px;
  padding: 0;
}

.header .logo img {
  max-height: 42px;
  width: auto;
}

.scrolled .header {
  box-shadow: 0 4px 32px rgba(16, 42, 73, 0.08) !important;
  border-bottom-color: transparent;
}

/* ============================================================
   3. NAVIGATION
   ============================================================ */

@media (min-width: 1200px) {

  .navmenu a,
  .navmenu a:focus {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--mk-gray-text);
    padding: 26px 18px;
    text-transform: none;
    transition: color 0.2s ease;
  }

  .navmenu li:hover>a {
    color: var(--mk-navy);
  }

  /* Active state — thick amber bottom bar */
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--mk-navy) !important;
    position: relative;
  }

  .navmenu .active::after,
  .navmenu .active:focus::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    background: var(--mk-amber);
    border-radius: 3px 3px 0 0;
  }

  /* Dropdown */
  .navmenu .dropdown ul {
    border: 1px solid var(--mk-gray-border);
    border-radius: var(--mk-radius-sm);
    box-shadow: 0 20px 60px rgba(16, 42, 73, 0.12);
    padding: 8px 0;
    top: calc(100% + 6px);
    left: 0;
  }

  .navmenu .dropdown ul a {
    font-size: 16px;
    font-weight: 500;
    padding: 12px 22px;
    color: var(--mk-gray-text);
    text-transform: none;
    letter-spacing: 0;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--mk-amber) !important;
    background: var(--mk-amber-pale);
  }
}

@media (max-width: 1199px) {

  .navmenu a,
  .navmenu a:focus {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--mk-text);
  }
}

/* ============================================================
   4. SECTION TITLES
   Amber uppercase eyebrow (h2) + large condensed heading (p)
   ============================================================ */

.section-title {
  padding-bottom: 56px;
  text-align: center;
}

/* Eyebrow — amber uppercase */
.section-title h2 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--mk-amber);
  line-height: 1;
  margin-bottom: 0;
}

.section-title h2::after {
  display: none;
}

/* Main heading below eyebrow */
.section-title p {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--mk-navy);
  margin: 16px auto 0;
  max-width: 700px;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .section-title p {
    font-size: 2rem;
  }
}

/* ============================================================
   5. HERO — Dark, immersive, construction-first
   ============================================================ */

.hero,
.hero.hero-slider {
  background-color: #0a0f16 !important;
}

.hero.hero-slider {
  min-height: 90vh;
}

.hero.hero-slider .hero-slider-wrapper,
.hero.hero-slider .swiper-wrapper,
.hero.hero-slider .swiper-slide {
  height: 90vh;
}

/* Full-frame image */
.hero.hero-slider .hero-media {
  object-position: center center;
  filter: brightness(0.6) contrast(1.1);
  transition: none;
}

/* Dark overlay — strong enough to read text, transparent enough to see image */
.hero.hero-slider .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(10, 15, 22, 0.88) 0%,
      rgba(10, 15, 22, 0.75) 40%,
      rgba(10, 15, 22, 0.40) 65%,
      rgba(10, 15, 22, 0.10) 100%);
  z-index: 1;
}

/* No hover effects — static, confident */
.hero.hero-slider .swiper-slide:hover .hero-media {
  transform: none;
  filter: brightness(0.6) contrast(1.1);
}

.hero.hero-slider .swiper-slide:hover::after {
  background: linear-gradient(to right,
      rgba(10, 15, 22, 0.88) 0%,
      rgba(10, 15, 22, 0.75) 40%,
      rgba(10, 15, 22, 0.40) 65%,
      rgba(10, 15, 22, 0.10) 100%);
}

/* Overlay content — left-aligned, bottom-weighted */
.hero.hero-slider .hero-overlay-content {
  padding-top: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
}

.hero.hero-slider .hero-overlay-content .row {
  justify-content: flex-start;
}

.hero.hero-slider .hero-content {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 680px;
}

@media (min-width: 992px) {
  .hero.hero-slider .hero-content {
    margin-left: 20% !important;
  }
}

/* Eyebrow subtitle */
.hero .hero-content .subtitle {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--mk-amber);
  margin-bottom: 20px;
  padding-left: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero .hero-content .subtitle::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--mk-amber);
  flex-shrink: 0;
  position: static;
  transform: none;
}

.hero.hero-slider .hero-content .subtitle::before {
  display: block;
}

/* Hero heading — large condensed, white */
.hero .hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--mk-white);
  margin-bottom: 0;
  text-shadow: none;
}

/* Amber bar below heading */
.hero .hero-content h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--mk-amber);
  margin-top: 24px;
  margin-bottom: 8px;
  border-radius: 2px;
}

/* Hero body text */
.hero .hero-content p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 480px;
}

.hero.hero-slider .hero-content p {
  text-align: left;
}

.hero .hero-content .hero-desc-secondary {
  margin-bottom: 32px;
}

/* Hero buttons */
.hero .hero-buttons,
.hero.hero-slider .hero-buttons {
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 40px;
}

/* Primary CTA — amber button */
.hero .hero-buttons .btn-primary {
  background: var(--mk-amber);
  color: var(--mk-white);
  padding: 16px 36px;
  border-radius: var(--mk-radius-sm);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: background 0.2s ease;
  border: none;
}

.hero .hero-buttons .btn-primary:hover {
  background: var(--mk-amber-light);
  transform: none;
  box-shadow: none;
}

/* Secondary CTA — ghost button */
.hero .hero-buttons .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--mk-radius-sm);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--mk-white);
  transition: border-color 0.2s, background 0.2s;
}

.hero .hero-buttons .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
  transform: none;
}

/* Trust badges */
.hero .trust-badges {
  gap: 12px;
  max-width: 100%;
  grid-template-columns: repeat(3, auto);
}

.hero.hero-slider .trust-badges {
  margin-left: 0;
  margin-right: 0;
}

.hero .trust-badges .badge-item {
  border-radius: var(--mk-radius-sm);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  min-height: auto;
  gap: 10px;
}

.hero .trust-badges .badge-item i {
  font-size: 20px;
  color: var(--mk-amber);
}

.hero .trust-badges .badge-item .badge-text .count {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--mk-white);
}

.hero .trust-badges .badge-item .badge-text .label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero .trust-badges .badge-item .badge-text .meta {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
}

/* Swiper pagination */
.hero.hero-slider .swiper-pagination {
  bottom: 32px;
  left: 0;
  width: auto;
  padding: 0 var(--bs-gutter-x, 1.5rem);
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
}

.hero.hero-slider .swiper-pagination .swiper-pagination-bullet {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transition: all 0.3s ease;
}

.hero.hero-slider .swiper-pagination .swiper-pagination-bullet-active {
  background: var(--mk-amber);
  width: 40px;
}

/* Mobile hero */
@media (max-width: 992px) {

  .hero.hero-slider,
  .hero.hero-slider .hero-slider-wrapper,
  .hero.hero-slider .swiper-wrapper,
  .hero.hero-slider .swiper-slide {
    height: 80vh;
  }

  .hero.hero-slider .hero-overlay-content {
    padding-bottom: 60px;
  }
}

@media (max-width: 768px) {
  .hero.hero-slider .swiper-slide::after {
    background: linear-gradient(to top,
        rgba(10, 15, 22, 0.9) 0%,
        rgba(10, 15, 22, 0.75) 40%,
        rgba(10, 15, 22, 0.5) 100%);
  }

  .hero.hero-slider .hero-content {
    max-width: 100%;
  }

  .hero .hero-content p {
    max-width: 100%;
  }

  .hero .trust-badges {
    grid-template-columns: 1fr;
  }

  .hero.hero-slider .swiper-pagination {
    justify-content: center;
    padding: 0 16px;
  }

  .hero.hero-slider .hero-overlay-content {
    padding-bottom: 48px;
  }
}

@media (max-width: 480px) {

  .hero.hero-slider,
  .hero.hero-slider .hero-slider-wrapper,
  .hero.hero-slider .swiper-wrapper,
  .hero.hero-slider .swiper-slide {
    height: 100svh;
    min-height: 560px;
  }
}

/* ============================================================
   6. ABOUT SECTION
   ============================================================ */

.about.section {
  background: var(--mk-white);
}

.about .about-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--mk-navy);
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 24px;
  letter-spacing: -0.01em;
}

.about .about-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 4px;
  background: var(--mk-amber);
  border-radius: 2px;
}

.about .about-content .lead {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--mk-gray-text);
}

.about .about-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--mk-gray-text);
}

/* Achievement stat boxes — oversized numbers */
.about .achievement-boxes .achievement-box {
  background: var(--mk-white);
  border: 1px solid var(--mk-gray-border);
  border-top: 4px solid var(--mk-amber);
  border-radius: var(--mk-radius-sm);
  padding: 24px 18px;
  box-shadow: none;
  text-align: center;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.about .achievement-boxes .achievement-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(16, 42, 73, 0.08);
}

.about .achievement-boxes .achievement-box h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--mk-navy);
  margin-bottom: 6px;
  line-height: 1;
}

.about .achievement-boxes .achievement-box p {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--mk-gray-text);
  margin: 0;
}

/* CTA button */
.about .cta-container .btn-primary {
  background: var(--mk-navy);
  border: none;
  border-radius: var(--mk-radius-sm);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--mk-white);
  transition: background 0.2s ease;
}

.about .cta-container .btn-primary:hover {
  background: var(--mk-navy-mid);
  transform: none;
  box-shadow: none;
}

.about .about-image .main-image {
  border-radius: var(--mk-radius);
  box-shadow: 0 20px 60px rgba(16, 42, 73, 0.14);
}

/* About page — mission/vision headings */
.about-page .about .about-image+div h2,
.about-page .about .mt-4 h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  margin-top: 2.5rem;
}

/* ============================================================
   7. PARTNERS SECTION
   ============================================================ */



.partners .section-title {
  padding-bottom: 40px;
}

.partners .partners-grid {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}

.partners .partner-logo {
  background: var(--mk-white);
  border-radius: var(--mk-radius-sm);
  padding: 22px 18px;
  border: 1px solid var(--mk-gray-border);
  box-shadow: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.partners .partner-logo:hover {
  box-shadow: 0 8px 24px rgba(16, 42, 73, 0.08);
  transform: translateY(-3px);
}

.partners .partner-logo img {
  min-height: 32px;
  max-height: 46px;
  filter: grayscale(0%) opacity(0.9);
  transition: filter 0.25s, opacity 0.25s;
}

.partners .partner-logo:hover img {
  filter: grayscale(0%) opacity(1);
}

/* ============================================================
   8. SERVICES SECTION
   ============================================================ */

.services.section {
  background: var(--mk-white);
}

/* Service cards — amber left border accent */
.services .service-card {
  background: var(--mk-white);
  border: 1px solid var(--mk-gray-border);
  border-left: 4px solid var(--mk-navy);
  border-radius: var(--mk-radius-sm);
  padding: 36px 32px;
  box-shadow: none;
  transition: border-left-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.services .service-card:hover {
  border-left-color: var(--mk-amber);
  box-shadow: 0 12px 40px rgba(16, 42, 73, 0.08);
  transform: translateY(-4px);
}

.services .service-card.featured {
  border-left-color: var(--mk-amber);
  background: linear-gradient(135deg, var(--mk-white) 0%, rgba(237, 134, 0, 0.02) 100%);
}

/* Icon */
.services .service-card .service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--mk-radius-sm);
  background: var(--mk-amber-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.services .service-card .service-icon i {
  font-size: 1.4rem;
  color: var(--mk-amber);
}

.services .service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--mk-navy);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.services .service-card p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--mk-gray-text);
  margin-bottom: 20px;
}

.services .service-card .service-features {
  gap: 8px;
  margin-bottom: 20px;
}

.services .service-card .service-features span {
  font-size: 16px;
  color: var(--mk-text);
  font-weight: 500;
}

.services .service-card .service-features span i {
  color: var(--mk-amber);
  font-size: 12px;
}

.services .service-card .service-link {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--mk-navy);
  gap: 6px;
  transition: color 0.2s, gap 0.2s;
}

.services .service-card .service-link:hover {
  color: var(--mk-amber);
  gap: 10px;
}

.services .service-card .service-badge {
  background: var(--mk-amber);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 0 var(--mk-radius-sm) 0 0;
  padding: 5px 14px;
}

/* Service list block */
.services .service-list-block {
  padding: 0 0 0 48px;
}

@media (max-width: 991px) {
  .services .service-list-block {
    padding: 0;
    margin-top: 40px;
  }
}

.services .service-list-block h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--mk-navy);
  margin-bottom: 10px;
}

.services .service-list-block>p {
  font-size: 16px;
  color: var(--mk-gray-text);
  margin-bottom: 32px;
}

.services .service-list {
  gap: 0;
}

.services .service-list-item {
  border-bottom: 1px solid var(--mk-gray-border);
  padding: 20px 0;
  gap: 16px;
}

.services .service-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.services .service-list-item .service-list-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--mk-radius-sm);
  background: var(--mk-amber-pale);
  flex-shrink: 0;
}

.services .service-list-item .service-list-icon i {
  font-size: 1.2rem;
  color: var(--mk-amber);
}

.services .service-list-item .service-list-content h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mk-navy);
  margin-bottom: 4px;
}

.services .service-list-item .service-list-content p {
  font-size: 16px;
  color: var(--mk-gray-text);
  line-height: 1.6;
  margin: 0;
}

/* Service image block */
.services .service-image-block {
  border-radius: var(--mk-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 12px 40px rgba(16, 42, 73, 0.1);
}

.services .service-image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Services CTA bar — navy panel */
.services .cta-container {
  margin-top: 80px;
  padding: 56px 52px;
  background: var(--mk-navy);
  border-radius: var(--mk-radius);
  color: var(--mk-white);
}

.services .cta-container h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--mk-white);
  font-weight: 700;
  margin-bottom: 12px;
}

.services .cta-container p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 16px;
}

.services .cta-container .btn-cta {
  background: var(--mk-amber);
  color: var(--mk-white);
  border-radius: var(--mk-radius-sm);
  padding: 16px 40px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: background 0.2s ease;
}

.services .cta-container .btn-cta:hover {
  background: var(--mk-amber-light);
  transform: none;
}

/* ============================================================
   9. PROJECTS SECTION
   ============================================================ */

.projects.section {
  background: var(--mk-gray-bg);
}

.projects .projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 860px) {
  .projects .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Card — image on top, content below */
.projects .project-item {
  display: flex;
  flex-direction: column;
  background: var(--mk-white);
  border-radius: var(--mk-radius);
  overflow: hidden;
  border: 1px solid var(--mk-gray-border);
  box-shadow: none;
  min-height: auto;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.projects .project-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(16, 42, 73, 0.1);
}

/* Image */
.projects .project-visual {
  flex: none;
  height: 260px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.projects .project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.projects .project-item:hover .project-visual img {
  transform: scale(1.05);
}

/* Badge on image */
.projects .project-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  right: auto;
  width: 40px;
  height: 40px;
  background: var(--mk-navy);
  border-radius: var(--mk-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.projects .project-badge i {
  color: var(--mk-amber);
  font-size: 16px;
}

/* Content area */
.projects .project-content {
  flex: 1;
  padding: 24px 28px 18px;
  display: flex;
  flex-direction: column;
}

/* Category badge */
.projects .project-header {
  margin-bottom: 10px;
}

.projects .project-category {
  background: var(--mk-amber-pale);
  color: var(--mk-amber);
  border: 1px solid rgba(237, 134, 0, 0.2);
  padding: 4px 12px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

/* Title row */
.projects .project-title-row {
  margin-bottom: 12px;
  gap: 10px;
  flex-wrap: nowrap;
  align-items: flex-start;
}

.projects .project-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--mk-navy);
  line-height: 1.2;
  margin-bottom: 0;
  flex: 1;
}

.projects .project-status {
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 4px 10px;
  letter-spacing: 0.5px;
}

.projects .project-status.in-progress {
  background: rgba(237, 134, 0, 0.1);
  color: #b86700;
}

.projects .project-status.completed {
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
}

/* Description */
.projects .project-info p {
  font-size: 16px;
  color: var(--mk-gray-text);
  line-height: 1.65;
  margin-bottom: 14px;
}

/* Location */
.projects .project-location {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 0 0;
  border-top: 1px solid var(--mk-gray-border);
  margin-bottom: 0;
}

.projects .project-location i {
  color: var(--mk-amber);
  font-size: 16px;
  flex-shrink: 0;
}

.projects .project-location span {
  font-size: 12px;
  color: var(--mk-gray-text);
  font-weight: 600;
}

/* Spacer */
.projects .project-details {
  flex: 1;
  margin-bottom: 0;
}

/* Full-width CTA button — navy bar at bottom of card */
.projects .project-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% + 56px);
  margin: 20px -28px -18px -28px;
  padding: 18px 28px;
  background: var(--mk-navy);
  color: var(--mk-white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  border-radius: 0 0 var(--mk-radius) var(--mk-radius);
  border: none;
  text-decoration: none;
  transition: background 0.2s ease;
}

.projects .project-link:hover,
.projects .project-item:hover .project-link {
  background: var(--mk-navy-mid);
  color: var(--mk-white);
}

.projects .project-link i {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.projects .project-link:hover i {
  transform: translateX(4px);
}

/* ============================================================
   10. CERTIFICATIONS SECTION
   ============================================================ */

.certifications.section {
  background: var(--mk-white);
  padding: var(--section-py) 0;
}

.certifications {
  background: var(--mk-white) !important;
}

.certifications .content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--mk-navy);
  line-height: 1.1;
  margin-bottom: 16px;
}

.certifications .content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--mk-gray-text);
}

.certifications .badge-highlight {
  border-radius: var(--mk-radius-sm);
  border: 1px solid var(--mk-gray-border);
  box-shadow: 0 8px 24px rgba(16, 42, 73, 0.06);
}

.certifications .certification-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 48px 0 40px;
}

.certifications .certification-grid .cert-card {
  border-radius: var(--mk-radius-sm);
  border: 1px solid var(--mk-gray-border);
  border-left: 4px solid var(--mk-amber);
  padding: 24px 22px;
  box-shadow: none;
  gap: 16px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.certifications .certification-grid .cert-card::before {
  display: none;
}

.certifications .certification-grid .cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(16, 42, 73, 0.08);
}

.certifications .certification-grid .cert-card .cert-icon {
  background: var(--mk-amber-pale);
  border-radius: var(--mk-radius-sm);
  width: 56px;
  height: 56px;
}

.certifications .certification-grid .cert-card .cert-details h5 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mk-navy);
  margin-bottom: 4px;
}

.certifications .certification-grid .cert-card .cert-details .cert-category {
  background: var(--mk-amber);
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.5px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.certifications .certification-grid .cert-card .cert-details p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--mk-gray-text);
}

/* Achievement stats banner — navy */
.certifications .achievements-banner {
  background: var(--mk-navy);
  border-radius: var(--mk-radius);
  border: none;
  box-shadow: none;
  margin-top: 0;
  padding: 48px 28px;
}

.certifications .achievements-banner .achievement-item i {
  color: var(--mk-amber);
  font-size: 2rem;
}

.certifications .achievements-banner .achievement-item h3 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--mk-white);
  line-height: 1;
}

.certifications .achievements-banner .achievement-item p {
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin: 0;
}

/* ============================================================
   11. CALL TO ACTION SECTION
   ============================================================ */

.call-to-action.section {
  background: var(--mk-gray-bg) !important;
}

.call-to-action::before {
  display: none;
}

.call-to-action .cta-hero-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--mk-navy);
  margin-bottom: 16px;
}

@media (max-width: 992px) {
  .call-to-action .cta-hero-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .call-to-action .cta-hero-content h2 {
    font-size: 1.75rem;
  }
}

.call-to-action .cta-hero-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--mk-gray-text);
  margin-bottom: 28px;
}

.call-to-action .cta-hero-content .cta-badge {
  background: var(--mk-amber);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 6px 16px;
}

.call-to-action .cta-hero-content .highlight-item i {
  color: var(--mk-amber);
  font-size: 1rem;
}

.call-to-action .cta-hero-content .highlight-item span {
  font-size: 16px;
  color: var(--mk-text);
}

/* Form */
.call-to-action .cta-form-section .form-container {
  background: var(--mk-white);
  border-radius: var(--mk-radius);
  padding: 44px;
  box-shadow: 0 12px 48px rgba(16, 42, 73, 0.08);
  border: 1px solid var(--mk-gray-border);
}

@media (max-width: 768px) {
  .call-to-action .cta-form-section .form-container {
    padding: 28px 22px;
  }
}

.call-to-action .cta-form-section .form-header h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--mk-navy);
}

.call-to-action .cta-form-section .form-header p {
  font-size: 16px;
  color: var(--mk-gray-text);
}

.call-to-action .cta-form-section .form-group input,
.call-to-action .cta-form-section .form-group select,
.call-to-action .cta-form-section .form-group textarea {
  border: 1.5px solid var(--mk-gray-border);
  border-radius: var(--mk-radius-sm);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--mk-white);
  color: var(--mk-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.call-to-action .cta-form-section .form-group input:focus,
.call-to-action .cta-form-section .form-group select:focus,
.call-to-action .cta-form-section .form-group textarea:focus {
  border-color: var(--mk-navy);
  box-shadow: 0 0 0 3px rgba(16, 42, 73, 0.06);
  outline: none;
}

/* Submit button */
.call-to-action .cta-form-section .form-actions .btn-primary,
.call-to-action .cta-form-section .form-actions a.btn-primary {
  background: var(--mk-navy) !important;
  color: var(--mk-white) !important;
  border-radius: var(--mk-radius-sm);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 15px 28px;
  transition: background 0.2s ease;
  border: none;
}

.call-to-action .cta-form-section .form-actions .btn-primary:hover,
.call-to-action .cta-form-section .form-actions a.btn-primary:hover {
  background: var(--mk-navy-mid) !important;
  transform: none;
  box-shadow: none;
}

.call-to-action .cta-form-section .form-actions .phone-link {
  color: var(--mk-navy);
  font-weight: 700;
  font-size: 1rem;
}

.call-to-action .cta-form-section .trust-indicators {
  border-top: 1px solid var(--mk-gray-border);
}

.call-to-action .cta-form-section .trust-indicators .trust-item .trust-icon i {
  color: var(--mk-amber);
  font-size: 1.3rem;
}

.call-to-action .cta-form-section .trust-indicators .trust-item .trust-number {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--mk-navy);
}

/* ============================================================
   12. FOOTER
   ============================================================ */

.footer.dark-background {
  background: var(--mk-navy-dark) !important;
}

.footer .footer-top {
  padding-top: 72px;
  padding-bottom: 48px;
  border-top: none;
}

.footer .footer-about p {
  font-family: var(--font-body) !important;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  max-width: 360px;
  margin-bottom: 0;
}

.footer h4 {
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--mk-amber) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 20px;
  padding-bottom: 0;
}

.footer .footer-contact p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.9;
  margin-bottom: 2px;
}

.footer .footer-contact p strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.footer .social-links a {
  width: 38px;
  height: 38px;
  border-radius: var(--mk-radius-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  margin-right: 8px;
}

.footer .social-links a:hover {
  background: var(--mk-amber);
  border-color: var(--mk-amber);
  color: var(--mk-white);
}

.footer .copyright {
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
}

.footer .copyright p {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.35) !important;
  margin: 0;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul li {
  padding-bottom: 12px;
}

.footer .footer-links ul a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
  font-size: 16px;
  text-decoration: none;
  font-family: var(--font-body);
}

.footer .footer-links ul a:hover {
  color: var(--mk-amber);
}

/* ============================================================
   13. CONTACT PAGE
   ============================================================ */

.contact .contact-wrapper {
  border-radius: var(--mk-radius);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(16, 42, 73, 0.08);
  border: 1px solid var(--mk-gray-border);
}

.contact .contact-info-panel {
  background: var(--mk-navy);
}

.contact .contact-info-panel h3 {
  font-family: var(--font-heading);
}

.contact .contact-form-panel .form-container h3 {
  font-family: var(--font-heading);
}

.contact .btn-submit {
  border-radius: var(--mk-radius-sm);
  background: var(--mk-navy);
  color: var(--mk-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 32px;
  border: none;
  width: 100%;
  letter-spacing: 0.5px;
  transition: background 0.2s ease;
}

.contact .btn-submit:hover {
  background: var(--mk-navy-mid);
}

/* ============================================================
   14. PROJECT DETAIL PAGES
   ============================================================ */

.project-details .project-header .project-summary .main-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: -0.01em;
}

.project-details .project-header .project-summary .tag {
  font-family: var(--font-body);
}

.project-details .detailed-breakdown h3 {
  font-family: var(--font-heading);
}

.project-details .detailed-breakdown .specifications-panel {
  border-radius: var(--mk-radius-sm);
  border: 1px solid var(--mk-gray-border);
}

.project-details .detailed-breakdown .specifications-panel h4 {
  font-family: var(--font-heading);
}

.project-details .technical-gallery .gallery-header h3 {
  font-family: var(--font-heading);
}

/* ============================================================
   15. SERVICE DETAIL PAGES
   ============================================================ */

.service-details .service-sidebar .service-overview-card,
.service-details .service-sidebar .quick-info-card,
.service-details .service-sidebar .contact-action-card {
  border-radius: var(--mk-radius-sm);
  border: 1px solid var(--mk-gray-border);
  box-shadow: 0 4px 16px rgba(16, 42, 73, 0.05);
}

.service-details .service-sidebar h3,
.service-details .service-sidebar h4 {
  font-family: var(--font-heading);
}

.service-details .service-main-content h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  letter-spacing: -0.01em;
}

.service-details .service-main-content h2 {
  font-family: var(--font-heading);
}

.service-details .service-main-content .capabilities-grid .capability-card {
  border-radius: var(--mk-radius-sm);
  border: 1px solid var(--mk-gray-border);
  box-shadow: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.service-details .service-main-content .capabilities-grid .capability-card:hover {
  box-shadow: 0 8px 28px rgba(16, 42, 73, 0.08);
  transform: translateY(-4px);
}

.service-details .service-main-content .capabilities-grid .capability-card h4 {
  font-family: var(--font-heading);
}

.service-details .service-main-content .methodology-section h4 {
  font-family: var(--font-heading);
}

.service-details .portfolio-showcase .showcase-header h2 {
  font-family: var(--font-heading);
}

/* ============================================================
   16. QUOTE PAGE
   ============================================================ */

.quote .quote-form-container {
  border-radius: var(--mk-radius);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(16, 42, 73, 0.08);
  border: 1px solid var(--mk-gray-border);
}

.quote .quote-info h3 {
  font-family: var(--font-heading);
}

.quote .quote-form-wrapper .form-header h4 {
  font-family: var(--font-heading);
}

.quote .quote-form-wrapper button[type="submit"] {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--mk-radius-sm);
}

/* ============================================================
   17. PAGE HERO BANNERS (inner pages)
   ============================================================ */

.page-hero {
  background: var(--mk-navy);
  padding: 48px 0 44px;
  text-align: left;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--mk-white);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.05;
}

.page-hero .breadcrumb {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px;
  align-items: center;
}

.page-hero .breadcrumb li {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.page-hero .breadcrumb li a {
  color: var(--mk-amber);
  text-decoration: none;
}

.page-hero .breadcrumb li a:hover {
  color: var(--mk-amber-light);
}

.page-hero .breadcrumb li+li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .page-hero {
    padding: 36px 0 32px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }
}

/* ============================================================
   18. UTILITIES
   ============================================================ */

.scroll-top {
  background: var(--mk-navy);
  border-radius: var(--mk-radius-sm);
}

.scroll-top:hover {
  background: var(--mk-amber);
  color: var(--mk-white);
}

#preloader::before {
  border-color: var(--mk-amber) transparent var(--mk-navy) transparent;
}

.btn.btn-primary,
.btn-primary,
button.btn-primary {
  border-radius: var(--mk-radius-sm) !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
}

/* Project search on projects page */
.project-search .form-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--mk-gray-text);
}

.project-search .form-control,
.project-search .form-select {
  border: 1.5px solid var(--mk-gray-border);
  border-radius: var(--mk-radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 16px;
}

.project-search .form-control:focus,
.project-search .form-select:focus {
  border-color: var(--mk-navy);
  box-shadow: 0 0 0 3px rgba(16, 42, 73, 0.06);
}

/* ============================================================
   19. RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
  :root {
    --section-py: var(--section-py-md);
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: var(--section-py-sm);
  }

  .services .cta-container {
    padding: 36px 28px;
    margin-top: 48px;
  }

  .footer .footer-top {
    padding-top: 48px;
  }

  .projects .project-link {
    width: calc(100% + 56px);
    margin: 18px -28px -18px -28px;
  }

  .certifications .achievements-banner .achievement-item h3 {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .section-title p {
    font-size: 1.65rem;
  }

  .about .about-content h2 {
    font-size: 2rem;
  }

  .certifications .content h2 {
    font-size: 2rem;
  }
}

/* ============================================================
   USER REQUESTED OVERRIDES
   ============================================================ */

/* Navbar Background */
.header {
  background-color: var(--mk-navy-dark) !important;
  border-bottom: none !important;
}

.scrolled .header {
  background-color: #ffffff !important;
  box-shadow: 0 4px 32px rgba(16, 42, 73, 0.08) !important;
}

/* Navbar Link Colors (Top State - Dark Blue Background) */
.header .navmenu a,
.header .navmenu a:focus {
  color: rgba(255, 255, 255, 0.8) !important;
}

.header .navmenu a:hover,
.header .navmenu .active,
.header .navmenu .active:focus {
  color: #ffffff !important;
}

/* Dropdown text color fix for top state */
.header .navmenu .dropdown ul a {
  color: var(--mk-navy-dark) !important;
}

/* Navbar Link Colors (Scrolled State - White Background) */
.scrolled .header .navmenu a,
.scrolled .header .navmenu a:focus {
  color: var(--mk-navy-dark) !important;
}

.scrolled .header .navmenu a:hover,
.scrolled .header .navmenu .active,
.scrolled .header .navmenu .active:focus {
  color: var(--mk-amber) !important;
}

/* Mobile Toggle Icon Colors */
.header .mobile-nav-toggle {
  color: #ffffff !important;
}

.scrolled .header .mobile-nav-toggle {
  color: var(--mk-navy-dark) !important;
}

.mobile-nav-active .header .mobile-nav-toggle {
  color: #ffffff !important;
}

/* Mobile Navbar Link Colors - Ensure text is visible on white drawer */
@media (max-width: 1199px) {
  .mobile-nav-active .header .navmenu a,
  .mobile-nav-active .header .navmenu a:focus {
    color: var(--mk-navy-dark) !important;
  }

  .mobile-nav-active .header .navmenu a:hover,
  .mobile-nav-active .header .navmenu .active,
  .mobile-nav-active .header .navmenu .active:focus {
    color: var(--mk-amber) !important;
  }
}



.partners.section .section-title h2,
.partners.section .section-title p { color: white !important; }
/* 
.partners.section .section-title p {
  color: var(--mk-navy-dark) !important;
}

.partners.section .section-title h2::after {
  background: var(--mk-navy-dark) !important;
}

/* Logo handling: ensure we can see it on both */
/* If the logo is an SVG, we might need CSS filters or just leave it. Assuming it works. */

/* Globally increase body font size to 16px */
body {
  font-size: 16px !important;
}

p {
  font-size: 16px;
}

/* ============================================================
   INTERACTIVE REFINEMENTS (Phase 2 & 3)
   ============================================================ */

/* 1. Navbar Logo Logic */
.header .logo-dark {
  display: none;
}

.header .logo-white {
  display: block;
}

.scrolled .header .logo-dark {
  display: block;
}

.scrolled .header .logo-white {
  display: none;
}

/* 2. Faint Gray Texture on Body */
body {
  background-color: #fcfcfc !important;
  background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* 3. Hero Background Zoom */
.hero-slider-wrapper .swiper-slide img.hero-media {
  transition: transform 7s ease-in-out, opacity 1s ease;
}

.hero-slider-wrapper .swiper-slide-active img.hero-media {
  transform: scale(1.1);
}

.hero-slider-wrapper .swiper-slide.is-fading-out img.hero-media {
  opacity: 0 !important;
}

/* Typewriter Effect CSS Helpers */
.hero-title.typewriter {
  border-right: .05em solid #fff;
  white-space: nowrap;
  overflow: hidden;
  margin: 0;
  display: inline-block;
  animation: typing 2s steps(40, end), blink-caret .75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0
  }

  to {
    width: 100%
  }
}

@keyframes blink-caret {

  from,
  to {
    border-color: transparent
  }

  50% {
    border-color: #fff;
  }
}

/* 4. Our Partners Infinite Marquee */
.partners-grid.marquee {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 2rem;
  padding: 1rem 0;
}

.partners-grid.marquee .marquee-content {
  display: flex;
  animation: marquee 50s linear infinite;
  gap: 3rem;
  padding-left: 3rem;
  align-items: center;
}

.partners-grid.marquee .partner-logo img {
  height: 80px;
  /* Bigger logos */
  width: auto;
  max-width: none;
  filter: none !important;
  /* Keep colorful */
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* 5. Project Cards Top Image Fix */
.project-item {
  display: flex;
  flex-direction: column;
  /* Force column */
}

.project-item .project-visual {
  order: -1;
  /* Ensure visual is always first */
  border-radius: 8px 8px 0 0;
}

.project-item .project-content {
  border-radius: 0 0 8px 8px;
}

.project-link {
  margin-top: auto;
  /* Push button to bottom */
}

/* 6. Built for Quality Data Cards */
.achievement-boxes .achievement-box {
  padding: 2rem;
  border-radius: 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  background-color: #f8f9fa;
  border-left: 4px solid var(--mk-amber);
}

.achievement-boxes .achievement-box:hover {
  transform: translateY(-5px);
}

.achievement-boxes .achievement-box h3 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--mk-navy-dark);
  margin-bottom: 0.5rem;
}

.achievement-boxes .achievement-box p {
  color: var(--mk-gray-text);
  font-weight: 500;
  margin: 0;
}

/* Refinements Phase 2 Update */
.partners.section .section-title p {
  color: white !important;
}

.partners-grid.marquee {
  gap: 1.5rem !important;
  
  
}

.partners-grid.marquee .marquee-content {
  gap: 1.2rem !important;
}

.partners-grid.marquee .partner-logo img {
  height: 104px !important;
}

/* Contact Page Update */
.contact-info-panel {
  
}

.contact-info-panel h3,
.contact-info-panel h4,
.contact-info-panel p,
.contact-info-panel .icon-container i {
  color: var(--mk-navy-dark) !important;
}

/* Services Page Update */
.service-icon,
.service-icon i,
.service-features span i,
.service-list-icon i {
  color: var(--mk-amber) !important;
}

.service-list-icon {
  border-color: var(--mk-amber) !important;
}

.service-card:hover .service-icon {
  
}

.service-card:hover .service-icon i {
  color: #fff !important;
}

/* Any potential number circles or steps */
.step-number,
.circle-number {
  
  color: #fff !important;
}

/* Hero Gradient Overlay */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 250px;
  background: linear-gradient(to bottom, var(--mk-navy-dark) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.hero .container {
  z-index: 3;
  position: relative;
}

/* Hero Title Typewriter Limits */

.typewriter-cursor {
  display: inline-block;
  width: 15px;
  height: 1.2em;
  background-color: #fff;
  vertical-align: middle;
  margin-left: 5px;
  animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {

  from,
  to {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Partners Marquee Refinements */
.partners-grid.marquee {
  gap: 1.5rem !important;
}

.partners-grid.marquee .marquee-content {
  gap: 1.5rem !important;
  padding-left: 0 !important;
  padding-right: 1.5rem !important;
  /* This creates the seamless gap between the two strips */
}

.partners-grid.marquee .partner-logo img {
  height: 160px !important;
  /* 60% bigger */
}

/* Hero Title Simple Fade */
.hero-title.fade-text-in {
  animation: textFadeIn 1.5s ease forwards;
}

@keyframes textFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Extended Gradient Overlay */
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 250px;
  background: linear-gradient(to bottom, var(--mk-navy-dark) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.page-hero {
  position: relative;
}

.page-hero .container {
  position: relative;
  z-index: 3;
}

.hero-title {
  max-width: 100%;
}

.hero-desc {
  max-width: 80%;
  /* keep paragraph from spanning the entire 10 cols */
}

body {
  background-color: #f4f5f7 !important;
}

/* Hero Centering */
.hero-overlay-content {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
}

.hero-content {
  padding-bottom: 0 !important;
}

/* ──────────────────────────────────────────────
   PROJECT CARDS — Premium vertical card layout
   ────────────────────────────────────────────── */
.projects-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 2rem !important;
}

/* Card shell */
.project-item {
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 24px rgba(16, 42, 73, 0.08), 0 1px 4px rgba(0,0,0,0.04) !important;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease !important;
  position: relative !important;
}

.project-item:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 60px rgba(16, 42, 73, 0.14), 0 4px 12px rgba(0,0,0,0.06) !important;
}

/* ── Image area ── */
.project-visual {
  order: -1 !important;
  position: relative !important;
  height: 240px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.project-visual img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  transition: transform 0.6s ease !important;
}

.project-item:hover .project-visual img {
  transform: scale(1.06) !important;
}

/* Gradient scrim over photo */
.project-visual::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to bottom, rgba(10,25,47,0.18) 0%, rgba(10,25,47,0.04) 60%, transparent 100%) !important;
  pointer-events: none !important;
}

/* Overlaid chips on top-left of image */
.project-header {
  position: absolute !important;
  top: 1rem !important;
  left: 1rem !important;
  display: flex !important;
  gap: 0.5rem !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  z-index: 5 !important;
  margin-bottom: 0 !important;
}

.project-category {
  background-color: var(--mk-amber) !important;
  color: var(--mk-navy-dark) !important;
  padding: 5px 14px !important;
  border-radius: 30px !important;
  font-weight: 800 !important;
  font-size: 0.72rem !important;
  text-transform: uppercase !important;
  display: inline-block !important;
  letter-spacing: 1.2px !important;
  backdrop-filter: blur(4px) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18) !important;
}

.project-status {
  padding: 5px 14px !important;
  border-radius: 30px !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  display: inline-block !important;
  margin-bottom: 0 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18) !important;
}

.project-status.in-progress {
  background-color: #1a7f3c !important;
  color: #ffffff !important;
}

.project-status.completed {
  background-color: var(--mk-navy-dark) !important;
  color: #ffffff !important;
}

/* Award badge – bottom-right of image */
.project-badge {
  position: absolute !important;
  bottom: 1rem !important;
  right: 1rem !important;
  top: auto !important;
  width: 44px !important;
  height: 44px !important;
  background-color: rgba(255,255,255,0.95) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15) !important;
  z-index: 10 !important;
  backdrop-filter: blur(4px) !important;
}

.project-badge i {
  font-size: 1.1rem !important;
  color: var(--mk-amber) !important;
}

/* ── Content panel ── */
.project-content {
  flex: 1 !important;
  padding: 1.75rem 1.75rem 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  text-align: left !important;
}

.project-title {
  font-family: var(--font-heading) !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: var(--mk-navy-dark) !important;
  margin-top: 0 !important;
  margin-bottom: 0.6rem !important;
  line-height: 1.25 !important;
}

.project-details {
  width: 100% !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.project-info p {
  font-size: 0.95rem !important;
  color: #6c757d !important;
  line-height: 1.7 !important;
  margin-bottom: 0 !important;
}

/* ── Footer row: location + CTA ── */
.project-footer {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
  width: 100% !important;
  padding-top: 1.25rem !important;
  margin-top: 1.25rem !important;
  border-top: 1px solid #f0f2f5 !important;
}

.project-location {
  display: flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #6c757d !important;
  margin-bottom: 0 !important;
  min-width: 0 !important;
  flex-shrink: 1 !important;
}

.project-location i {
  color: var(--mk-amber) !important;
  font-size: 1rem !important;
}

.project-link {
  background-color: var(--mk-navy-dark) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 30px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease !important;
  white-space: nowrap !important;
  letter-spacing: 0.3px !important;
  flex-shrink: 0 !important;
}

.project-link:hover {
  background-color: var(--mk-amber) !important;
  color: var(--mk-navy-dark) !important;
  transform: translateX(3px) !important;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .projects-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .project-visual {
    height: 220px !important;
  }

  .project-content {
    padding: 1.5rem !important;
  }

  .project-title {
    font-size: 1.2rem !important;
  }
}
/* Reduce Hero Height */
.hero.hero-slider,
.hero.hero-slider .hero-slider-wrapper,
.hero.hero-slider .swiper-wrapper,
.hero.hero-slider .swiper-slide {
  height: 80vh !important;
  min-height: 600px !important;
}


/* ==============================================================
   FINAL BATCH FIXES – June 2026
   ============================================================== */

/* ── 1. PARTNERS SECTION: Real image background ── */
.partners.section {
  position: relative;
  background-image:
    linear-gradient(rgba(11, 30, 52, 0.80), rgba(11, 30, 52, 0.80)),
    url('../../Data/IMG_1322.JPG.jpeg') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: fixed !important;
  /* Cancel any colour override */
  background-color: transparent !important;
}

.partners.section .section-title h2,
.partners.section .section-title p {
  color: #ffffff !important;
}

.partners.section .section-title h2::after {
  background: rgba(255,255,255,0.4) !important;
}

/* ── 2. PARTNERS MARQUEE: Full-edge strip, no fade trim ── */
/* Break out of Bootstrap container */
.partners.section > .container {
  max-width: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.partners-grid.marquee {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow: hidden !important;
  gap: 0 !important;
  padding: 0 !important;
  /* Remove any mask */
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.partners-grid.marquee .marquee-content {
  display: flex !important;
  flex-shrink: 0 !important;
  align-items: center !important;
  /* The gap between cards equals the gap between strips for seamlessness */
  gap: 3rem !important;
  /* Pad right by same gap so the strip end-to-start gap matches */
  padding-right: 3rem !important;
  animation: marquee-scroll 40s linear infinite !important;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.partners-grid.marquee .partner-logo {
  flex-shrink: 0 !important;
  background: rgba(255,255,255,0.12) !important;
  border-radius: 12px !important;
  padding: 18px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.partners-grid.marquee .partner-logo img {
  height: 64px !important;
  width: auto !important;
  max-width: 160px !important;
  object-fit: contain !important;
  filter: none !important;
}

/* ── 3. SERVICE CARDS: White background + shadow ── */
.services .service-card {
  background: #ffffff !important;
  box-shadow: 0 8px 32px rgba(16, 42, 73, 0.08) !important;
  border-radius: 12px !important;
}

.services .service-card:hover {
  box-shadow: 0 16px 48px rgba(16, 42, 73, 0.14) !important;
}

/* ── 4. PROJECT CARDS: Tighten spacing & remove double lines ── */
.project-info p {
  margin-bottom: 1rem !important;
}

hr.project-separator {
  margin: 0 0 1rem 0 !important;
}

.project-location {
  margin-bottom: 1.5rem !important;
}

/* 2-column grid on md+ */
.projects-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 2rem !important;
}

.project-item {
  flex-direction: column !important;
}

.project-visual {
  order: -1 !important;
  min-height: 260px !important;
}

.project-content {
  padding: 2rem !important;
}

.project-title {
  font-size: 1.6rem !important;
}

@media (max-width: 767px) {
  .projects-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── 5. CONTACT PAGE: Info-card items white bg ── */
.contact-info-panel .info-card {
  background: rgba(255,255,255,0.18) !important;
  border-radius: 10px !important;
  padding: 1rem 1.25rem !important;
  backdrop-filter: blur(4px) !important;
  margin-bottom: 0.75rem !important;
}

.contact-info-panel .info-card .icon-container {
  background: rgba(255,255,255,0.25) !important;
  border-radius: 8px !important;
}

.contact-info-panel .info-card h4,
.contact-info-panel .info-card p {
  color: #ffffff !important;
}

/* ── 6. SERVICES PAGE: Icon circles = amber ── */
.service-details .service-icon,
.service-details .capability-card .capability-icon,
.service-details .step-number,
.service-details .methodology-section .step .step-number {
  background-color: var(--mk-amber) !important;
  color: #ffffff !important;
  border-color: var(--mk-amber) !important;
}

.service-details .service-icon i,
.service-details .capability-card .capability-icon i {
  color: #ffffff !important;
}

/* ── 7. SERVICES PAGE: Featured projects look like home project cards ── */
.service-details .project-showcase-item {
  background: #ffffff !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 32px rgba(16, 42, 73, 0.08) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  margin-bottom: 1.5rem !important;
}

.service-details .project-showcase-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 48px rgba(16, 42, 73, 0.14) !important;
}

.service-details .project-showcase-item .project-image {
  position: relative !important;
  overflow: hidden !important;
}

.service-details .project-showcase-item .project-image img {
  width: 100% !important;
  height: 280px !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s ease !important;
}

.service-details .project-showcase-item:hover .project-image img {
  transform: scale(1.04) !important;
}

/* ── 8. HERO: Fade transition on ALL content ── */
/* Handled by JS. These CSS rules support the animation class on the wrapper. */
.hero-content.fade-text-in {
  animation: heroContentFadeIn 0.9s ease forwards !important;
}

.hero-content.fade-text-out {
  animation: heroContentFadeOut 0.4s ease forwards !important;
}

@keyframes heroContentFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroContentFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-8px); }
}

/* ==============================================================
   JUNE 2026 – FINAL POLISH
   ============================================================== */

/* ── Partners: white card bg + breathing room above the strip ── */
.partners-grid.marquee {
  margin-top: 2.5rem !important; /* space between title and cards */
}

.partners-grid.marquee .partner-logo {
  background: #ffffff !important;
  box-shadow: 0 4px 16px rgba(16, 42, 73, 0.12) !important;
  border-radius: 12px !important;
  padding: 16px 28px !important;
}

/* ── Achievements banner: full screen width ── */
/* Pull the banner out of its parent .container via negative margins */
.certifications .achievements-banner {
  margin-left:  calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  border-radius: 0 !important;
  /* Keep the dark navy fill */
  background: var(--mk-navy-dark) !important;
  padding: 64px 5vw !important;
}

/* ── Call-To-Action: revert to light bg (user corrected) ── */
.call-to-action.section {
  background: var(--mk-gray-bg) !important;
}

/* ── "Ready to Start" CTA in Services: full-width dark navy ── */
/* Break the cta-container out of its Bootstrap container */
.services .cta-container {
  margin-left:  calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  border-radius: 0 !important;
  background: var(--mk-navy-dark) !important;
  padding: 72px 5vw !important;
  margin-top: 4rem !important;
  /* override the mt-5 Bootstrap spacing */
  margin-bottom: 0 !important;
}

.services .cta-container h3 {
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-size: 2.4rem !important;
  margin-bottom: 1rem !important;
}

.services .cta-container p {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 1.1rem !important;
  margin-bottom: 2rem !important;
}

.services .cta-container .btn-cta {
  background: var(--mk-amber) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 16px 40px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border-radius: var(--mk-radius-sm) !important;
  transition: background 0.2s ease !important;
}

.services .cta-container .btn-cta:hover {
  background: var(--mk-amber-light) !important;
}

/* ==============================================================
   JUNE 2026 – PATCH 3
   ============================================================== */

/* ── Partners: title = amber/orange ── */
.partners.section .section-title h2 {
  color: var(--mk-amber) !important;
}

/* ── Partners: bigger cards (×1.3) with tighter gap ── */
.partners-grid.marquee .marquee-content {
  gap: 1.5rem !important;         /* was 3rem, halved */
  padding-right: 1.5rem !important;
}

.partners-grid.marquee .partner-logo {
  padding: 20px 36px !important;  /* ~30% bigger padding vs 16px 28px */
}

.partners-grid.marquee .partner-logo img {
  height: 83px !important;        /* 64 × 1.3 ≈ 83px */
}

/* ── Project cards: category pill smaller ── */
.project-category {
  font-size: 0.72rem !important;
  padding: 5px 12px !important;
  letter-spacing: 0.8px !important;
}

/* ── Project cards: belt-and-braces — hide the separator in CSS too ── */
hr.project-separator {
  display: none !important;
}

/* ── Projects page: same grid/card style as home ── */
.projects-page .projects-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 2rem !important;
}

/* ── Service-details "Featured Projects": matching home card style ── */
.service-details .project-showcase-item {
  background: #ffffff !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 32px rgba(16, 42, 73, 0.08) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  margin-bottom: 0 !important;
}

.service-details .project-showcase-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 48px rgba(16, 42, 73, 0.14) !important;
}

/* Image inside the showcase card */
.service-details .project-showcase-item .project-image img {
  width: 100% !important;
  height: 260px !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s ease !important;
}

.service-details .project-showcase-item:hover .project-image img {
  transform: scale(1.04) !important;
}

/* Overlay info strip */
.service-details .project-showcase-item .project-overlay {
  position: absolute !important;
  bottom: 0 !important; left: 0 !important; right: 0 !important;
  background: linear-gradient(to top, rgba(11,30,52,0.88), transparent) !important;
  padding: 1.5rem 1.25rem 1rem !important;
}

.service-details .project-showcase-item .project-overlay h4 {
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-size: 1.15rem !important;
  margin-bottom: 0.25rem !important;
}

.service-details .project-showcase-item .project-overlay p {
  color: rgba(255,255,255,0.75) !important;
  font-size: 0.9rem !important;
  margin: 0 !important;
}

/* ── Contact page: "Contact Information" heading = white ── */
.contact-info-panel .contact-info-header h3 {
  color: #ffffff !important;
}

/* ============================================================
   STUNNING PROJECT CARD REDESIGN
   ============================================================ */

/* The Card */
.projects-grid .project-item, .projects .project-item, .project-item {
  display: flex !important;
  flex-direction: column !important;
  background: var(--mk-white) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: 0 4px 20px rgba(10, 25, 47, 0.06), 0 1px 3px rgba(0,0,0,0.03) !important;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease !important;
  position: relative !important;
  height: 100% !important;
  text-decoration: none !important;
}

.projects-grid .project-item:hover, .projects .project-item:hover, .project-item:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 22px 40px rgba(10, 25, 47, 0.12), 0 8px 16px rgba(0,0,0,0.04) !important;
}

/* Image section */
.projects-grid .project-item .project-visual, .projects .project-item .project-visual, .project-item .project-visual {
  order: -1 !important;
  position: relative !important;
  height: 250px !important;
  min-height: 250px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  border-radius: 16px 16px 0 0 !important;
}

.projects-grid .project-item .project-visual img, .projects .project-item .project-visual img, .project-item .project-visual img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.7s ease !important;
  transform: scale(1) !important;
}

.projects-grid .project-item:hover .project-visual img, .projects .project-item:hover .project-visual img, .project-item:hover .project-visual img {
  transform: scale(1.08) !important;
}

.projects-grid .project-item .project-visual::after, .projects .project-item .project-visual::after, .project-item .project-visual::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to bottom, rgba(10,25,47,0.4) 0%, rgba(10,25,47,0.05) 50%, rgba(10,25,47,0.6) 100%) !important;
  pointer-events: none !important;
  opacity: 0.8 !important;
  transition: opacity 0.4s ease !important;
}

.projects-grid .project-item:hover .project-visual::after, .projects .project-item:hover .project-visual::after, .project-item:hover .project-visual::after {
  opacity: 1 !important;
}

/* Chips overlay */
.projects-grid .project-item .project-header, .projects .project-item .project-header, .project-item .project-header {
  position: absolute !important;
  top: 1.2rem !important;
  left: 1.2rem !important;
  display: flex !important;
  gap: 0.5rem !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  z-index: 5 !important;
  margin: 0 !important;
}

.projects-grid .project-item .project-category, .projects .project-item .project-category, .project-item .project-category {
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--mk-navy-dark) !important;
  padding: 6px 14px !important;
  border-radius: 30px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  backdrop-filter: blur(4px) !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
}

.projects-grid .project-item .project-status, .projects .project-item .project-status, .project-item .project-status {
  background: var(--mk-amber) !important;
  color: var(--mk-navy-dark) !important;
  padding: 6px 14px !important;
  border-radius: 30px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
}

.projects-grid .project-item .project-badge, .projects .project-item .project-badge, .project-item .project-badge {
  display: none !important; /* Hide old badge if any */
}

/* Content Area */
.projects-grid .project-item .project-content, .projects .project-item .project-content, .project-item .project-content {
  padding: 1.8rem 1.8rem 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  background: transparent !important;
}

.projects-grid .project-item .project-title, .projects .project-item .project-title, .project-item .project-title {
  font-family: var(--font-headline) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--mk-navy-dark) !important;
  margin-bottom: 0.8rem !important;
  line-height: 1.3 !important;
  transition: color 0.3s ease !important;
}

.projects-grid .project-item:hover .project-title, .projects .project-item:hover .project-title, .project-item:hover .project-title {
  color: var(--mk-secondary) !important;
}

.projects-grid .project-item .project-details, .projects .project-item .project-details, .project-item .project-details {
  flex-grow: 1 !important;
  margin-bottom: 1.5rem !important;
}

.projects-grid .project-item .project-details p, .projects .project-item .project-details p, .project-item .project-details p {
  color: var(--mk-gray-text) !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  margin-bottom: 0 !important;
}

/* Footer / Action row */
.projects-grid .project-item .project-footer, .projects .project-item .project-footer, .project-item .project-footer {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  width: 100% !important;
  padding-top: 1.2rem !important;
  margin-top: auto !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.projects-grid .project-item .project-location, .projects .project-item .project-location, .project-item .project-location {
  display: flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: var(--mk-gray-text) !important;
  margin-bottom: 0 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  border-top: none !important;
}

.projects-grid .project-item .project-location i, .projects .project-item .project-location i, .project-item .project-location i {
  color: var(--mk-amber) !important;
  font-size: 1.1rem !important;
}

.projects-grid .project-item .project-location span, .projects .project-item .project-location span, .project-item .project-location span {
  font-size: 0.85rem !important;
  color: var(--mk-gray-text) !important;
  font-weight: 600 !important;
}

.projects-grid .project-item .project-link, .projects .project-item .project-link, .project-item .project-link {
  background: var(--mk-navy-dark) !important;
  color: var(--mk-white) !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
}

.projects-grid .project-item .project-link:hover, .projects .project-item .project-link:hover, .project-item .project-link:hover,
.projects-grid .project-item:hover .project-link, .projects .project-item:hover .project-link, .project-item:hover .project-link {
  background: var(--mk-amber) !important;
  color: var(--mk-navy-dark) !important;
  transform: translateX(4px) !important;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3) !important;
}

.projects-grid .project-item .project-link i, .projects .project-item .project-link i, .project-item .project-link i {
  transition: transform 0.3s ease !important;
  font-size: 1.1rem !important;
}

.projects-grid .project-item .project-link:hover i, .projects .project-item .project-link:hover i, .project-item .project-link:hover i {
  transform: translateX(4px) !important;
}

/* ============================================================
   MOBILE NAV MENU & ICON FIXES
   ============================================================ */

/* Make sure mobile drawer text isn't white-on-white */
body.mobile-nav-active .navmenu {
  background-color: var(--mk-navy-dark) !important;
}
body.mobile-nav-active .navmenu a,
body.mobile-nav-active .navmenu ul li a {
  color: var(--mk-white) !important;
}
body.mobile-nav-active .navmenu a:hover,
body.mobile-nav-active .navmenu ul li a:hover {
  color: var(--mk-amber) !important;
}

/* Nav icon color when navbar is darkblue (e.g. scrolled) */
.scrolled .mobile-nav-toggle {
  color: var(--mk-white) !important;
}
