:root {
  --navy: #0a1a2f;
  --navy-dark: #050b1a;
  --gold: #FFE87C;
  --gold-light: #FDBD01;
  --gray-bg: #f8f7f4;
  --white: #ffffff;

  --text-body: black;
  --text-muted: rgba(10, 26, 47, 0.60);
  --border-soft: rgba(10, 26, 47, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Maiandra GD';
  background: var(--white);
  color: var(--text-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-light); }

h1, h2, h3, h4 {
  font-family: 'Maiandra GD';
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.container { max-width: 1280px; }
section { padding: 50px 0; }
@media (max-width: 768px) { section { padding: 34px 0; } }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 18px;
  z-index: 2000;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ===================== TOP BAR ===================== */
.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 9px 0;
  font-size: 0.82rem;
}
@media (max-width: 900px) { .top-bar { display: none; } }

.contact-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.7rem; }
.contact-line span { display: inline-flex; align-items: center; gap: 8px; }
.contact-line i { color: var(--gold); width: 16px; font-size: 0.85rem; }
.contact-line a { color: rgba(255, 255, 255, 0.85); }
.contact-line a:hover { color: var(--gold); }

/* ===================== NAVBAR ===================== */
.main-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 18px rgba(10, 26, 47, 0.07);
  border-bottom: 1px solid navy;
}
.navbar-brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; overflow: hidden; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text .title { font-size: clamp(1rem, 2.4vw, 1.32rem); font-weight: 800; color: var(--navy); line-height: 1.2; }
.brand-text .tagline { font-size: 0.66rem; font-weight: 700; color: var(--gold-light); letter-spacing: 1.4px; text-transform: uppercase; }

.nav-link { font-weight: 600; color: var(--navy) !important; margin: 0 6px; font-size: 0.92rem; transition: color 0.2s; }
.nav-link:hover { color: var(--gold-light) !important; }
.nav-link.active-page { color: var(--gold-light) !important; border-bottom: 2px solid var(--gold-light); }

.btn-consult {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700;
  border-radius: 40px;
  padding: 9px 22px;
  font-size: 0.86rem;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: background 0.25s, transform 0.25s;
}
.btn-consult:hover { background: var(--gold-light); color: var(--navy) !important; transform: translateY(-2px); }

/* ===================== BUTTONS ===================== */
.btn-gold-large {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--gold);
  box-shadow: 0 12px 28px rgba(255, 232, 124, 0.25);
  transition: all 0.25s ease;
}
.btn-gold-large:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy); transform: translateY(-2px); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid rgba(255,255,255,0.55);
  transition: all 0.25s ease;
}
.btn-outline-white:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--navy);
  transition: all 0.25s ease;
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--gold);
  box-shadow: 0 10px 24px rgba(255, 232, 124, 0.22);
  transition: all 0.25s ease;
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); }

.hero-actions a i { transition: transform 0.25s ease; }
.hero-actions a:hover i { transform: translateX(4px); }

/* SECTION LABELS  */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 6px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gold-light); display: block; }
.eyebrow.center { justify-content: center; }

.section-title {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  margin-bottom: 0.3rem;
  position: relative;
}
.section-title.underline::after { content: ''; display: block; width: 58px; height: 3px; background: var(--gold-light); margin-top: 8px; }
.section-title.underline.center::after { margin-left: auto; margin-right: auto; }

.section-intro { font-size: clamp(0.94rem, 1.4vw, 1.02rem); color: var(--text-body); line-height: 1.65; }
p { margin-bottom: 0.6rem; }
.row.g-4 { --bs-gutter-y: 1.5rem; }
.text-center.mb-5 { margin-bottom: 2.2rem !important; }

/*  HERO */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
}
@media (max-width: 768px) { .hero { min-height: 82vh; clip-path: none; } }

.hero-slides { position: absolute; inset: 0; z-index: 1; }
.hero-slide { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.6s ease; z-index: 1; }
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); animation: kenBurnsIn 11s ease-in-out infinite alternate; }
.hero-slide:nth-child(even) img { animation-name: kenBurnsOut; object-position: 30% center; }
.hero-slide:nth-child(3) img { object-position: 70% center; }

@keyframes kenBurnsIn { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.16) translate(-1.5%, -1%); } }
@keyframes kenBurnsOut { from { transform: scale(1.16) translate(1.5%, 1%); } to { transform: scale(1.03) translate(0, 0); } }

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(5,11,26,0.94) 0%, rgba(10,26,47,0.82) 42%, rgba(10,26,47,0.55) 100%);
  z-index: 3;
}

.hero-inner { position: relative; z-index: 4; padding: 0; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.hero-eyebrow::before { content: ''; width: 30px; height: 2px; background: var(--gold); display: block; }

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  min-height: 2.3em;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-caption-wrap { min-height: 84px; }
.hero-caption {
  color: rgba(255,255,255,0.86);
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  max-width: 600px;
  line-height: 1.75;
  margin: 0 0 28px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-fade-out .hero-eyebrow,
.hero-fade-out .hero-caption,
.hero-fade-out h1 { opacity: 0; transform: translateY(8px); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }

.hero-dots { display: flex; gap: 10px; }
.hero-dots button {
  width: 34px; height: 4px;
  border-radius: 4px;
  border: none;
  background: rgba(255,255,255,0.3);
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease;
}
.hero-dots button.active { background: var(--gold); }

/* ---- logo on the right side of the hero ---- */
.hero-logo-col {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-frame {
  width: clamp(360px, 18vw, 340px);
  height: clamp(360px, 18vw, 340px);
  border: 2px solid rgba(255, 232, 124, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  
}
.hero-logo-frame img { width: 100%; height: 100%; object-fit: contain; }
@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 991px) { .hero-logo-col { display: none; } }

/*    ABOUT  */
.about-section { background: var(--white); }
.about-section .col-lg-5 { position: relative; z-index: 1; }

.about-photo { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 26px 50px rgba(10, 26, 47, 0.20); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 80px; }
.about-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--gold-light);
  border-radius: 22px;
  outline: 10px solid var(--gray-bg);
  outline-offset: 14px;
  pointer-events: none;
  z-index: -1;
}
.about-photo-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--navy);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 12px;
  border-left: 4px solid var(--gold);
  font-size: 0.85rem;
  max-width: 260px;
  line-height: 1.5;
}
.about-photo-badge strong { color: var(--gold); display: block; font-size: 1rem; margin-bottom: 2px; }

.about-check-list { list-style: none; margin: 14px 0; }
.about-check-list li { display: flex; align-items: flex-start; gap: 10px; padding: 4px 0; font-size: 0.95rem; color: var(--text-body); }
.about-check-list i { color: var(--gold-light); margin-top: 4px; }

/* PRACTICE AREAS - dark section, elevated cards */

.services-section { background: linear-gradient(180deg, var(--navy) 0%, #0d2742 100%); position: relative; }
.services-section .eyebrow { color: var(--gold); }
.services-section .eyebrow::before { background: var(--gold); }
.services-section .section-title { color: var(--white); }
.services-section .section-title.underline::after { background: var(--gold); }
.services-section .section-intro { color: white; }
.services-section .section-intro a { color: var(--gold); }

.service-card {
  background: var(--white);
  border-radius: 18px;
  padding: 1.8rem 1.6rem;
  height: 100%;
  box-shadow: 0 14px 30px rgba(5, 11, 26, 0.22);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 26px 48px rgba(5, 11, 26, 0.32); }

.service-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 8px 18px rgba(253, 189, 1, 0.35);
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.7rem; }
.service-card p { font-size: 0.9rem; line-height: 1.7; color: var(--text-body); margin-bottom: 0.6rem; }
.service-features { list-style: none; }
.service-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.83rem; color: var(--text-body); padding: 4px 0; }
.service-features i { color: var(--gold-light); font-size: 0.7rem; margin-top: 5px; }

/*    WHY NCKLAW */
.pillars-section { background: var(--white); 
  border-bottom: 1px solid navy;}
.pillar-card {
  text-align: center;
  padding: 1.5rem 1.2rem;
  border-radius: 18px;
  height: 100%;
  border: 1px solid var(--border-soft);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.pillar-card:hover { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(10,26,47,0.08); border-color: var(--gold-light); }
.pillar-icon {
  width: 58px; height: 58px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, #14304f 100%);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 10px 22px rgba(10, 26, 47, 0.22);
}
.pillar-card h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.pillar-card p { font-size: 0.86rem; color: var(--text-body); }

/*   HOW WE WORK - solid navy cards */
.process-section { background: var(--gray-bg); }
.process-card {
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 1.8rem;
  height: 100%;
  box-shadow: 0 14px 28px rgba(10, 26, 47, 0.18);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.process-card:hover { transform: translateY(-6px); background: #0d2742; box-shadow: 0 22px 40px rgba(10, 26, 47, 0.28); }
.process-step-num { font-size: 2.2rem; font-weight: 800; color: var(--gold); opacity: 0.9; line-height: 1; margin-bottom: 0.6rem; }
.process-card h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.5rem; }
.process-card p { color: rgba(255,255,255,0.72); font-size: 0.87rem; }

/* ==========================================================================
   MOTTO BANNER
   ========================================================================== */
.motto-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2742 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.motto-banner h2 { color: var(--white); font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin-bottom: 0.8rem; }
.motto-banner h2 span { color: var(--gold); font-style: italic; }
.motto-banner p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 640px; margin: 0 auto 1.6rem; }

/*    GET IN TOUCH - 4 columns including the map*/

.contact-section { background: var(--white);
border-top: 1px solid navy;}
.touch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 992px) { .touch-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .touch-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--navy);
  border-radius: 18px;
  padding: 1.7rem 1.3rem;
  text-align: center;
  height: 100%;
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 24px rgba(10, 26, 47, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(10,26,47,0.08); border-color: var(--gold); }
.contact-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1rem;
}
.contact-card h3 { font-size: 1.1rem; margin-bottom: 0.7rem; color: var(--gold);}
.contact-card p { font-size: 0.9rem; color: white; line-height: 1.65; margin-bottom: 0.4rem; }
.contact-card a { font-weight: 600; color: white;}

.touch-map-card {
  border-radius: 18px;
  overflow: hidden;
  min-height: 220px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 24px rgba(10, 26, 47, 0.06);
}
.touch-map-card iframe { width: 100%; height: 100%; min-height: 220px; border: 0; display: block; }

/* 
   FOOTER
 */
footer.site-footer { background: var(--navy); color: rgba(255,255,255,0.72); padding: 60px 0 24px; }
footer.site-footer h3 { color: var(--gold); font-size: 0.8rem; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 1rem; font-weight: 700; }
footer.site-footer a { color: rgba(255,255,255,0.75); }
footer.site-footer a:hover { color: var(--gold); }
footer.site-footer .footer-brand-title { font-size: 1.2rem; color: var(--white); font-weight: 800; }
footer.site-footer .footer-tagline { color: var(--gold-light); font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase; }
footer.site-footer p.small { font-size: 0.85rem; }
footer.site-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.10); margin-top: 30px; padding-top: 20px; font-size: 0.82rem; text-align: center; color: var(--gold); }
footer .footer-motto { font-style: italic; line-height: 1.8; color: rgba(255,255,255,0.55); font-size: 0.85rem; }

/* 
   FLOATING WHATSAPP
 */
.floating-wa {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 54px;
  height: 54px;
  background: var(--navy);
  color: var(--gold);
  border: 2px solid var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  z-index: 1100;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 8px 20px rgba(10,26,47,0.3);
}
.floating-wa:hover { transform: scale(1.08); background: var(--gold-light); color: var(--navy); }