#ftco-logo .ftco-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 60px; /* Fixed height of the navbar */
}

#ftco-logo .ftco-logo-img {
  max-height: 120px;  /* Make sure the logo fits within the navbar height */
  width: auto;
  display: block;
}

/* Mobile */
@media (max-width: 768px) {
  #ftco-logo .ftco-logo-img {
    max-height: 80px; /* Increase logo size on mobile, adjust as needed */
    width: auto;
  }

  .nk-navbar {
    height: auto;  /* Allow navbar height to adjust based on content */
    padding: 10px 0; /* Adjust padding for mobile for better spacing */
  }
}

.nk-navbar {
  background: linear-gradient(135deg, #000000 0%, #4f4e4e 50%, #111827 100%);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: 112px;  /* Ensure navbar height remains consistent */
}


body.nk-modal-open {
  overflow: hidden;
}

body.nk-modal-open #page {
  filter: blur(8px);
  transform: scale(0.995);
  transition: filter 0.25s ease, transform 0.25s ease;
}

.nk-disclaimer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 99999;
  display: none;
  padding: 20px;
}

.nk-disclaimer-overlay.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nk-disclaimer-modal {
  width: min(680px, 100%);
  background: #ffffff;
  border-radius: 14px;
  padding: 22px 22px 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  animation: nkPop 0.22s ease;
}

.nk-disclaimer-modal h3 {
  margin: 0 0 10px;
  font-weight: 700;
  color: #111;
}

.nk-disclaimer-modal p {
  margin: 0 0 12px;
  color: #333;
  line-height: 1.6;
}

.nk-disclaimer-modal ul {
  margin: 0 0 14px 18px;
  color: #333;
}

.nk-disclaimer-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: #222;
  margin: 12px 0 16px;
}

.nk-disclaimer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

#disclaimerBtn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

@keyframes nkPop {
  from { transform: translateY(10px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

/* =========================
   Govt Form Sheet Style
========================= */

.nk-form-sheet{
  background:#fff;
  border:2px solid #222;
  padding:18px;
  margin-top:15px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.nk-form-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  border-bottom:2px solid #222;
  padding-bottom:12px;
  margin-bottom:12px;
  gap:12px;
}

.nk-head-title{
  font-size:22px;
  font-weight:800;
  color:#111;
  margin:0;
}

.nk-head-sub{
  font-size:15px;
  font-weight:700;
  color:#222;
  margin-top:4px;
}

.nk-photo-box{
  width:150px;
  min-width:150px;
  height:130px;
  border:2px solid #222;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:8px;
}

.nk-photo-label{
  font-size:13px;
  line-height:1.25;
  color:#111;
  font-weight:700;
}

.nk-photo-input{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
}

.nk-section-title{
  margin-top:14px;
  padding:10px 10px;
  border:2px solid #222;
  font-weight:800;
  color:#111;
  background:#f6f6f6;
}

.nk-form-row{
  display:flex;
  gap:12px;
  align-items:center;
  border-bottom:1px solid #222;
  padding:10px 8px;
}

.nk-form-row:last-child{
  border-bottom:none;
}

.nk-label{
  width:260px;
  min-width:260px;
  font-weight:700;
  color:#111;
}

.nk-field{
  flex:1;
}

.nk-line-input{
  border:none !important;
  border-bottom:1px solid #222 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  padding-left:0 !important;
  padding-right:0 !important;
  height:36px;
}

.nk-line-input:focus{
  border-bottom:2px solid #000 !important;
  outline:none !important;
  box-shadow:none !important;
}

.nk-box-textarea{
  border:1px solid #222 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  resize:vertical;
}

.nk-checkline{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
}

.nk-checkline-wrap{
  gap:10px 18px;
}

.nk-check{
  margin:0;
  font-weight:700;
  color:#111;
}

.nk-note{
  background:#fcfcfc;
}

.nk-declare-text{
  color:#111;
  line-height:1.7;
  margin:0 0 10px 0;
}

.nk-small{
  color:#666;
  display:block;
  margin-top:4px;
}

.nk-form-actions{
  padding-top:16px;
  text-align:center;
}

.nk-submit-btn{
  width:100%;
  max-width:420px;
}

/* Grid rows */
.nk-grid-2 .nk-label{ width:210px; min-width:210px; }
.nk-grid-3{
  flex-wrap:wrap;
}
.nk-grid-3 .nk-label{ width:160px; min-width:160px; }
.nk-grid-3 .nk-field{ width: calc(33.33% - 40px); min-width: 220px; }

/* Responsive */
@media (max-width: 768px){
  .nk-form-head{ flex-direction:column; }
  .nk-photo-box{ width:100%; min-width:100%; height:140px; }

  .nk-form-row{ flex-direction:column; align-items:flex-start; }
  .nk-label{ width:100%; min-width:100%; }
  .nk-grid-3 .nk-field{ width:100%; min-width:100%; }
}
.service-link{
  cursor: pointer;
  text-decoration: none;
  color: var(--primary);
}
.service-link:hover{
  text-decoration: underline;
}

/* ===== Modal ===== */
.modal-overlay{
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(0,0,0,.6);
  padding: 18px;
  z-index: 9999;
}

.modal-overlay.open{ display: grid; }

.modal{
  width: min(520px, 96%);
  background: linear-gradient(180deg, #121a2b, #0e1526);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.modal-header{
  padding: 18px 18px 8px;
}
.modal-header h3{
  margin: 0;
  font-size: 22px;
}
.modal-sub{
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.modal-body{
  padding: 14px 18px 18px;
}

.modal-footer{
  padding: 12px 18px 16px;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,.06);
}

.modal-close{
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: rgba(255,255,255,.06);
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  cursor: pointer;
}
.modal-close:hover{ background: rgba(255,255,255,.12); }

.court-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.court-btn{
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor: pointer;
  font-size: 16px;
  text-align: center;
  transition: .15s ease;
}
.court-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(79,124,255,.55);
  background: rgba(79,124,255,.12);
}

/* ===== Advocates Page ===== */
.advocates-page{
  padding-bottom: 40px;
}

.page-top{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.back-btn{
  border: 0;
  background: rgba(255,255,255,.08);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
}
.back-btn:hover{ background: rgba(255,255,255,.14); }

.page-title h2{
  margin: 0;
  font-size: 24px;
}
.page-title p{
  margin: 6px 0 0;
  color: var(--muted);
}

.info-bar{
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.adv-grid{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.adv-card{
  background: linear-gradient(180deg, #121a2b, #0e1526);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.adv-name{
  margin: 0;
  font-size: 18px;
}
.adv-meta{
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

@media (min-width: 720px){
  .court-grid{ grid-template-columns: repeat(3, 1fr); }
  .adv-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 420px){
  .adv-grid{ grid-template-columns: 1fr; }
}
.nk-district-gate {
  margin-bottom: 24px;
  padding: 18px;
  border: 2px solid #b7924b;
  border-radius: 8px;
  background: #fffaf0;
}

.nk-district-gate-label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-size: 18px;
  font-weight: 700;
}

.nk-district-gate select {
  height: 46px;
  background-color: #fff;
  cursor: pointer;
}

.nk-district-gate small {
  display: block;
  margin-top: 8px;
  color: #795d29;
}

.nk-form-locked input:disabled,
.nk-form-locked textarea:disabled,
.nk-form-locked select:disabled,
.nk-form-locked button:disabled {
  cursor: not-allowed;
}
