@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

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

:root {
  --white: #ffffff;
  --bg: #f7f8fa;
  --navy: #003A5C;
  --navy-dark: #081525;
  --blue: #0687D1;
  --blue-hover: #081525;
  --text-primary: #0d1f35;
  --text-secondary: #4b5a6e;
  --text-muted: #8a96a6;
  --border: #e2e6ec;
  --card-bg: #ffffff;
  --font: 'Manrope', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 120px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 60px;
  justify-content: space-between;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(13, 31, 53, 0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.logo-img {
  width: 160px;
  object-fit: contain;
  display: block;
}


.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-btn {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 16px 32px;
  font-size: 16px !important;
  font-weight: 400 !important;
  transition: background 0.2s !important;
  text-decoration: none;
}

.nav-btn:hover {
  background: var(--blue-hover) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 199;
  flex-direction: column;
  padding: 16px 24px 20px;
  gap: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-nav a:last-child {
  border-bottom: none;
  color: var(--blue);
  font-weight: 600;
  margin-top: 4px;
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 669px;  /* add this */
  margin-top: 120px;
}

.hero-left {
  height: 100%;           /* replaces min-height: calc(100vh - 120px) */
  padding: 80px 64px 80px 60px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 28px;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--blue);
}

.hero-heading {
  font-size: 52px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-heading .accent {
  color: var(--blue);
}

.hero-body {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  padding: 16px 32px;
  width: fit-content;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}

.hero-right {
  height: 100%;           /* add this */
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(14,127,225,0.18) 0%, transparent 60%);
}

.hero-brand-center {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-logo-big .logo-mark {
  width: 72px;
  height: 72px;
  gap: 5px;
  margin: 0 auto 18px;
}


.hero-brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
}

.hero-brand-sub {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-top: 6px;
}

/* Decorative lines on hero right */
.hero-deco {
  position: absolute;
}
.hero-deco-v {
  width: 1px;
  background: rgba(14,127,225,0.22);
  top: 12%;
  right: 22%;
  height: 160px;
}
.hero-deco-h {
  height: 1px;
  background: rgba(14,127,225,0.22);
  bottom: 22%;
  left: 14%;
  width: 100px;
}

/* ─────────────────────────────────────────
   ABOUT
───────────────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-img {
  min-height: 480px;
  background: url('assets/about-image.avif') center/cover no-repeat;
}

.about-content {
  background: var(--bg);
  padding: 88px 64px 88px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ─────────────────────────────────────────
   SECTION LABEL (shared)
───────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--blue);
}

.section-heading {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 20px;
}

.about-content .section-heading {
  font-size: 32px;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  font-weight: 400;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* ─────────────────────────────────────────
   PRACTICES
───────────────────────────────────────── */

.practices {
  background: var(--white);
  padding: 96px 60px;
}

.practices-header {
  margin-bottom: 52px;
}

.practices-header .section-heading {
  font-size: 38px;
  margin-top: 12px;
  margin-bottom: 0;
}

.practices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  gap: 32px;
}

.practice-card {
  padding: 36px 30px 32px;
  background: var(--white);
  border-right: 1px solid var(--border);
  position: relative;
  transition: background 0.25s, box-shadow 0.25s;
  cursor: default;
  text-decoration: none;
  display: block;
  color: inherit;
}

.pc-see-details {
  display: none; /* hidden on desktop, shown only in the @600px block above */
}

/* Remove right border on last in each row */


.practice-card:hover {
  background: var(--navy);
  z-index: 1;
}

.practice-card:hover .pc-num { color: var(--blue); }
.practice-card:hover .pc-title { color: var(--white); }
.practice-card:hover .pc-body { color: rgba(255,255,255,0.6); }
.practice-card:hover .pc-arrow { opacity: 1; transform: translate(0, 0); }

.pc-num {
  font-size: 19px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 14px;
  transition: color 0.25s;
}

.pc-title {
  font-size: 33px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 10px;
  transition: color 0.25s;
}

.pc-body {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
  transition: color 0.25s;
}

.pc-arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  color: var(--blue);
  opacity: 0;
  transform: translate(-5px, 5px);
  transition: opacity 0.25s, transform 0.25s;
}

.pc-arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-left {
  padding: 88px 64px 88px 60px;
  border-top: 1px solid var(--border);
}

.contact-left .section-label {
  color: #0687D1;
}

.contact-left .section-label::before {
  color: #0687D1;
}

.contact-left .section-heading {
  color: var(--navy);
  font-size: 34px;
  margin-bottom: 10px;
}

.contact-intro {
  font-size: 14px;
  color: #696969;
  line-height: 1.7;
  margin-bottom: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.form-group:last-of-type {
  margin-bottom: 0;
}

.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #696969;
}

.form-group input,
.form-group textarea {
  background: #f5f5f5;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 12px 14px;
  color: #000000;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.2);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: rgba(255,255,255,0.09);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 14px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  margin-top: 24px;
  transition: background 0.2s, transform 0.15s;
}

.form-submit:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}


.form-success {
  display: none;
  font-size: 13px;
  color: #5ddba6;
  margin-top: 14px;
  text-align: center;
  font-weight: 500;
}

.form-error {
  display: none;
  font-size: 13px;
  color: #e05555;
  margin-top: 14px;
  text-align: center;
  font-weight: 500;
}

.contact-right {
  background: url('assets/contact-image.avif') center/cover no-repeat;
  min-height: 500px;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 52px 60px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 300px;
  margin-top: 16px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col ul a {
  font-size: 13.5px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--navy);
}

.footer-contact-email {
  font-size: 13.5px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

.footer-contact-offices {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 400;
}

/* ─────────────────────────────────────────
   ANCHOR SCROLL OFFSET
───────────────────────────────────────── */
[id] {
  scroll-margin-top: 140px;
}

a.practice-card {
  cursor: pointer;
}


.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1100px) {
  .navbar { padding: 0 32px; }
  .hero-left { padding: 60px 40px 60px 32px; }
  .hero-heading { font-size: 44px; }
  .practices { padding: 80px 32px; }
  .practices-grid { grid-template-columns: repeat(2, 1fr); }
  footer { padding: 48px 32px 24px; }
}

@media (max-width: 900px) {
  .nav-btn{
    display: none;
  }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    height: calc(100vh - 68px);  /* full viewport minus navbar */
  }
  
  .hero-left {
    flex: 1;
    min-height: 0;
    padding: 60px 24px;
  }
  
  .hero-right {
    flex: 1;
    min-height: 0;
    display: flex;
  }
  .hero-heading { font-size: 38px; }

  .about { grid-template-columns: 1fr; }
  .about-img { min-height: 260px; }
  .about-content { padding: 60px 24px; }

  .contact { grid-template-columns: 1fr; }
  .contact-right { min-height: 260px; order: -1; }
  .contact-left { padding: 60px 24px; }
  .form-row { grid-template-columns: 1fr; }

  footer { padding: 40px 24px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
.nav-btn{
    display: none;
  }
 
  .hero {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 68px);
  }
  .hero-heading { font-size: 32px; }
  .section-heading { font-size: 28px; }
  .practices { padding: 64px 16px; }
  .practices-grid { grid-template-columns: 1fr; }
  .practice-card { 
    border-right: none !important;
    border-bottom: 1px solid var(--border);}
 
  .pc-see-details {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: 0.04em;
  }
 
  .pc-see-details svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    transition: transform 0.2s;
  }
 
  .practice-card:active .pc-see-details svg {
    transform: translateX(3px);
  }
 
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
 
/* ── BAR COUNCIL DISCLAIMER MODAL ── */
.disclaimer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 31, 53, 0.88);  /* slightly more opaque to compensate */
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: overlayIn 0.3s ease;
}

@keyframes overlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.disclaimer-box {
  background: #faf8f4;
  max-width: 720px;
  width: 100%;
  padding: 52px 56px 48px;
  text-align: center;
  animation: boxIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border);
}

@keyframes boxIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.disclaimer-logo {
  width: 140px;
  margin: 0 auto 20px;
  display: block;
}

.disclaimer-firm {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 32px;
}

.disclaimer-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 20px;
}

.disclaimer-body:last-of-type {
  margin-bottom: 36px;
}

.disclaimer-btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 16px 48px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s;
}

.disclaimer-btn:hover {
  background: var(--blue-hover);
}

@media (max-width: 600px) {
  .disclaimer-box { padding: 36px 24px 32px; }
  .disclaimer-body { font-size: 14px; text-align: left; }
}