/* =========================================================
   Pashupati Legal Services — Modern Classic Theme
   ========================================================= */

:root {
  --navy: #0b2545;
  --navy-dark: #071a33;
  --gold: #c9a44c;
  --gold-light: #e4c983;
  --cream: #f8f5ef;
  --ink: #1c2530;
  --gray: #5c6772;
  --border: #e4e1d8;
  --radius: 10px;
  --shadow: 0 12px 30px rgba(11, 37, 69, 0.08);
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; }

svg { width: 18px; height: 18px; fill: currentColor; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin: 0 0 12px;
  line-height: 1.25;
}

p { color: var(--gray); margin: 0 0 16px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}
.eyebrow.center { text-align: center; }
.section-title.center, h2.center { text-align: center; }

.section { padding: 80px 0; }

.empty-note { color: var(--gray); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
  padding: 9px 22px;
}
.btn-outline:hover { background: var(--gold); color: var(--navy-dark); }

/* ---------- Top contact bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: #cfd9e8;
  font-size: 13.5px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-contacts { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-item { display: flex; align-items: center; gap: 6px; color: #cfd9e8; }
.topbar-item svg { width: 14px; height: 14px; fill: var(--gold); }
.topbar-item:hover { color: var(--gold-light); }
.topbar-socials { display: flex; gap: 12px; }
.topbar-socials a { color: #cfd9e8; }
.topbar-socials svg { width: 16px; height: 16px; }
.topbar-socials a:hover { color: var(--gold-light); }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(11,37,69,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo {
  height: 58px;
  max-height: 58px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  border-radius: 6px;
}
.brand-logo-footer {
  height: 52px;
  max-height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  background: #ffffff;
  padding: 4px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.brand-mark {
  width: 50px; height: 50px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-serif);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: 18px;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 21px;
  color: var(--navy);
}

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--navy); }

/* Navigation CTA Button - Connect Us */
.main-nav a.nav-cta {
  padding: 10px 24px !important;
  border: 2px solid var(--gold) !important;
  border-radius: 6px !important;
  color: var(--navy) !important;
  background: rgba(201, 164, 76, 0.08) !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  letter-spacing: 0.2px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 6px rgba(201, 164, 76, 0.12) !important;
  line-height: 1.2 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.main-nav a.nav-cta::after { display: none !important; }
.main-nav a.nav-cta:hover, .main-nav a.nav-cta.active {
  background: var(--gold) !important;
  color: var(--navy-dark) !important;
  border-color: var(--gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(201, 164, 76, 0.35) !important;
}

.nav-toggle { display: none; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-burger span { width: 26px; height: 2px; background: var(--navy); }

/* ---------- Flash ---------- */
.flash-wrap { margin-top: 18px; }
.flash {
  padding: 12px 18px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 500;
}
.flash-success { background: #e5f6ea; color: #1e7a37; }
.flash-danger { background: #fdeaea; color: #b12a2a; }
.flash-info { background: #eaf1fb; color: #1a4a8f; }
.flash-warning { background: #fff6e0; color: #8a6300; }

/* ---------- Hero ---------- */
.hero {
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 110px 0 90px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.hero h1 {
  color: #fff;
  font-size: 44px;
  margin-bottom: 18px;
}
.hero-desc { color: #d8e0ee; font-size: 16.5px; max-width: 520px; }
.hero-photo img {
  border-radius: var(--radius);
  box-shadow: 0 25px 50px rgba(0,0,0,0.35);
  border: 4px solid rgba(255,255,255,0.15);
}
.hero-photo-placeholder {
  background: rgba(255,255,255,0.08);
  border: 2px dashed rgba(255,255,255,0.3);
  color: #d8e0ee;
  border-radius: var(--radius);
  height: 340px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.hero-photo-placeholder.small { height: 100%; }

/* ---------- Practice Areas Horizontal Slider ---------- */
.practice-section { background: #f7f5ef; padding: 90px 0; }

.practice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}
.practice-header .section-title { margin-bottom: 0; }

.slider-controls {
  display: flex;
  gap: 12px;
}
.slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(11, 37, 69, 0.06);
}
.slider-btn svg {
  width: 22px;
  height: 22px;
  fill: var(--navy);
  transition: fill 0.2s ease;
}
.slider-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(201, 164, 76, 0.35);
}
.slider-btn:hover svg {
  fill: #fff;
}

.practice-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.practice-slider {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 4px 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.practice-slider::-webkit-scrollbar {
  height: 6px;
}
.practice-slider::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}
.practice-slider::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 10px;
}

.practice-card {
  flex: 0 0 320px;
  min-width: 320px;
  max-width: 340px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.practice-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 18px 40px rgba(11, 37, 69, 0.15);
}

.practice-card-image {
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: var(--navy-dark);
  position: relative;
}

.practice-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.practice-card:hover .practice-card-image img {
  transform: scale(1.08);
}

.practice-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.practice-image-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(201, 164, 76, 0.25), transparent 70%);
}

.practice-image-placeholder svg {
  width: 48px;
  height: 48px;
  fill: var(--gold);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.practice-card-content {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.practice-card-content h3 {
  font-size: 19px;
  font-family: var(--font-serif);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
}

.practice-card-content p {
  font-size: 14.5px;
  color: var(--gray);
  margin-bottom: 18px;
  flex-grow: 1;
  line-height: 1.55;
}

.card-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.card-link:hover {
  color: var(--navy);
  transform: translateX(4px);
}

/* ---------- Partners Single-Line Horizontal Slider ---------- */
.partners-section { background: #fff; padding: 80px 0; }

.partners-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}
.partners-header .section-title { margin-bottom: 0; }

.partners-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.partners-slider {
  display: flex;
  flex-wrap: nowrap !important;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 4px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  align-items: center;
}

.partners-slider::-webkit-scrollbar {
  height: 5px;
}
.partners-slider::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}
.partners-slider::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 10px;
}

.partner-logo-card {
  flex: 0 0 190px;
  min-width: 190px;
  max-width: 200px;
  height: 105px;
  scroll-snap-align: start;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: 0 6px 16px rgba(11, 37, 69, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.partner-logo-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(11, 37, 69, 0.12);
  background: #fff;
}

.partner-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(80%);
  opacity: 0.85;
  transition: all 0.25s ease;
}

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

.partner-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-weight: 600;
  font-size: 13.5px;
}

.partner-badge svg {
  width: 28px;
  height: 28px;
  fill: var(--gold);
}
.partner-logo img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* ---------- Contact section (home) ---------- */
.contact-section { background: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}
.contact-meta { list-style: none; padding: 0; margin-top: 24px; }
.contact-meta li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.meta-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: rgba(11, 37, 69, 0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.meta-icon svg {
  fill: var(--gold);
  width: 20px;
  height: 20px;
}
.meta-text strong {
  display: block;
  color: var(--navy);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.meta-text span {
  color: var(--ink);
  font-size: 14.5px;
}
.meta-text span a:hover {
  color: var(--gold);
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}
.required {
  color: #d93838;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  background: #fcfbf9;
  transition: all 0.2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201, 164, 76, 0.18);
}
.contact-form textarea { resize: vertical; }

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 15px;
  margin-top: 6px;
}
.submit-btn svg {
  fill: currentColor;
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.submit-btn:hover svg {
  transform: translateX(4px);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 60px 0;
  text-align: center;
}
.page-hero.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11,37,69,.88), rgba(11,37,69,.6));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: 36px; margin: 0; }
.page-hero .eyebrow { color: var(--gold-light); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.about-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-photo .hero-photo-placeholder { height: 320px; color: var(--gray); border-color: var(--border); background: var(--cream); }

.values-section { background: var(--cream); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  margin-top: 40px;
}
.value-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}
.value-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.value-icon svg { fill: var(--gold); width: 26px; height: 26px; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
}
.team-card {
  text-align: center;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px 20px 32px;
  border: 1px solid var(--border);
}
.team-photo {
  width: 140px; height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 18px;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin-bottom: 4px; font-size: 18px; }
.team-title { color: var(--gold); font-weight: 600; font-size: 13.5px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.team-bio { font-size: 14px; }

/* ---------- Publications ---------- */
.publications-list { display: flex; flex-direction: column; gap: 30px; }
.publication-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 26px;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.publication-image { height: 100%; }
.publication-image img { width: 100%; height: 100%; object-fit: cover; min-height: 160px; }
.publication-body { padding: 24px 26px 24px 0; }
.publication-body h3 { margin-bottom: 8px; }
.share-row { display: flex; gap: 14px; align-items: center; font-size: 13.5px; margin-top: 12px; flex-wrap: wrap; }
.share-row span { color: var(--gray); font-weight: 600; }
.share-row a { color: var(--navy); font-weight: 600; }
.share-row a:hover { color: var(--gold); }

/* ---------- Connect Page ---------- */
.page-hero-sub { color: #d0daf0; font-size: 16px; max-width: 600px; margin: 10px auto 0; }

.connect-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}
.connect-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.connect-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(11, 37, 69, 0.12);
}
.connect-card-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(201, 164, 76, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.connect-card-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--gold);
}
.connect-card-body h3 {
  font-size: 16px;
  font-family: var(--font-sans);
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--navy);
}
.connect-card-body p {
  margin: 0;
  font-size: 14px;
  color: var(--gray);
}
.connect-card-body p a {
  color: var(--ink);
  font-weight: 500;
  transition: color 0.2s ease;
}
.connect-card-body p a:hover {
  color: var(--gold);
}

.main-connect-wrap {
  align-items: stretch;
}
.connect-left-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.map-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
}
.map-header h3 {
  margin: 0;
  font-size: 16px;
}
.map-embed {
  margin-bottom: 0;
}
.social-connect-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.social-connect-box h3 {
  font-size: 16px;
  margin-bottom: 14px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s ease;
  border: 1px solid var(--border);
}
.fb-btn {
  background: rgba(24, 119, 242, 0.08);
  color: #1877f2;
  border-color: rgba(24, 119, 242, 0.2);
}
.fb-btn svg { fill: #1877f2; }
.fb-btn:hover {
  background: #1877f2;
  color: #fff;
}
.fb-btn:hover svg { fill: #fff; }

.insta-btn {
  background: rgba(225, 48, 108, 0.08);
  color: #e1306c;
  border-color: rgba(225, 48, 108, 0.2);
}
.insta-btn svg { fill: #e1306c; }
.insta-btn:hover {
  background: #e1306c;
  color: #fff;
}
.insta-btn:hover svg { fill: #fff; }

.connect-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}
.form-header {
  margin-bottom: 24px;
}
.form-header h2 {
  font-size: 24px;
  margin-bottom: 6px;
}
.form-header p {
  font-size: 14.5px;
  margin: 0;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #b9c4d6; padding-top: 60px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-col h4 { color: #fff; font-family: var(--font-sans); font-size: 15px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 14px; font-size: 14px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer-list a:hover { color: var(--gold-light); }
.footer-socials { display: flex; flex-direction: column; gap: 10px; }
.footer-socials a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  text-align: center;
  font-size: 13.5px;
  color: #8b98ac;
}

/* ---------- Responsive & Screen Optimization ---------- */

/* Laptops & Desktops (1200px - 1366px) */
@media (max-width: 1280px) {
  .container, .header-inner, .topbar-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .main-nav { gap: 20px; }
  .hero h1 { font-size: 38px; }
}

/* Small Laptops & Tablets Landscape (992px - 1199px) */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 0.9fr;
    gap: 30px;
  }
  .hero h1 { font-size: 34px; }
  .practice-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 14px; }
  .main-nav a.nav-cta { padding: 8px 18px !important; font-size: 13.5px !important; }
}

/* Tablets Portrait (768px - 991px) */
@media (max-width: 991px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .hero-desc {
    margin: 0 auto 20px;
  }
  .hero-photo {
    max-width: 550px;
    margin: 0 auto;
    width: 100%;
  }
  .about-grid, .contact-grid, .connect-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .publication-card {
    grid-template-columns: 1fr;
  }
}

/* Mobile & Tablet Navigation Drawer (<= 860px) */
@media (max-width: 860px) {
  .nav-toggle { display: none; }
  .nav-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
  }
  .nav-burger span {
    width: 26px;
    height: 2.5px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    gap: 12px;
    box-shadow: 0 12px 30px rgba(11, 37, 69, 0.15);
    border-top: 1px solid var(--border);
    display: none;
    z-index: 999;
  }
  .main-nav a {
    font-size: 15px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  .main-nav a::after { display: none; }
  .main-nav a.nav-cta {
    margin-top: 6px;
    text-align: center;
    justify-content: center;
    padding: 12px 24px !important;
    width: 100%;
  }
  .nav-toggle:checked ~ .main-nav { display: flex; }
}

/* Small Mobile Screens (<= 576px) */
@media (max-width: 576px) {
  .container, .header-inner, .topbar-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
  .topbar-inner {
    justify-content: center;
    text-align: center;
    gap: 6px;
  }
  .topbar-contacts {
    justify-content: center;
    width: 100%;
    gap: 12px;
    font-size: 12.5px;
  }
  .topbar-socials { display: none; }
  .brand-name { font-size: 18px; }
  .brand-logo { height: 46px; max-height: 46px; width: auto; max-width: 180px; }
  .brand-mark { width: 40px; height: 40px; }
  .hero { padding: 50px 0 40px; }
  .hero h1 { font-size: 26px; }
  .hero-desc { font-size: 14.5px; }
  .section { padding: 45px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .connect-cards-grid { grid-template-columns: 1fr; }
  .connect-form-card { padding: 22px 16px; }
}

/* ---------- Floating WhatsApp Button ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}
.whatsapp-fab svg {
  width: 34px;
  height: 34px;
  fill: #fff;
}
.whatsapp-fab:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65);
  background: #20ba5a;
}
.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--navy-dark);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  pointer-events: none;
}
.whatsapp-fab:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@media (max-width: 600px) {
  .whatsapp-fab {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-fab svg {
    width: 28px;
    height: 28px;
  }
}

/* ---------- Team: phone ---------- */
.team-phone { font-size: 14px; margin-bottom: 8px; }
.team-phone a { color: var(--navy); font-weight: 600; }
.team-phone a:hover { color: var(--gold); }

/* ---------- About: Message from the MD ---------- */
.md-section { background: var(--cream); }
.md-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.md-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4/5;
}
.md-photo .hero-photo-placeholder { aspect-ratio: 4/5; height: auto; }
.md-quote-mark { font-family: var(--font-serif); font-size: 56px; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.md-message { font-size: 16px; font-style: italic; color: var(--navy); margin-bottom: 18px; }
.md-name { font-weight: 700; font-size: 18px; margin-bottom: 2px; }
.md-title { color: var(--gold); font-size: 13.5px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
@media (max-width: 720px) {
  .md-grid { grid-template-columns: 1fr; padding: 26px; }
}

/* ---------- Blog / Publications: search ---------- */
.blog-search-bar { margin-bottom: 34px; }
.blog-search-form {
  display: flex;
  max-width: 480px;
  border: 1px solid var(--border);
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.blog-search-form input[type="text"] {
  flex: 1;
  border: none;
  padding: 13px 20px;
  font-size: 14.5px;
  font-family: var(--font-sans);
}
.blog-search-form input[type="text"]:focus { outline: none; }
.blog-search-form button {
  border: none;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 0 22px;
  font-weight: 700;
  cursor: pointer;
}
.blog-search-form button:hover { background: var(--gold-light); }
.blog-search-clear { display: inline-block; margin-top: 10px; font-size: 13.5px; color: var(--gray); }
.blog-search-clear:hover { color: var(--gold); }

/* ---------- Blog / Publications: author, video, about, subtopics ---------- */
.publication-card { display: block; grid-template-columns: none; padding: 0; }
.publication-card .publication-top {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 26px;
}
.publication-image { border-radius: 0; }
.publication-body { padding: 24px 26px; }
.publication-meta { color: var(--gray); font-size: 13px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.publication-meta .author { color: var(--gold); font-weight: 700; }

.publication-video { padding: 0 26px 24px; }
.publication-video .video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}
.publication-video .video-frame iframe,
.publication-video .video-frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.publication-about {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  align-items: center;
  padding: 0 26px 24px;
}
.publication-about img { width: 100%; border-radius: 10px; object-fit: cover; aspect-ratio: 4/3; }
.publication-about-text h4 { margin-bottom: 8px; font-size: 15.5px; color: var(--navy); }

.publication-subtopics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  padding: 0 26px 24px;
}
.subtopic-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.subtopic-card img { width: 100%; height: 140px; object-fit: cover; display: block; }
.subtopic-card p { padding: 14px 16px; font-size: 14px; margin: 0; }

@media (max-width: 720px) {
  .publication-card .publication-top { grid-template-columns: 1fr; }
  .publication-about { grid-template-columns: 1fr; }
}

/* ---------- Home hero: background video ---------- */
.hero { position: relative; overflow: hidden; }
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video-wrap video,
.hero-video-wrap iframe {
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  min-width: 100%; min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.4);
  border: 0;
  pointer-events: none;
}
.hero-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(11,37,69,.88), rgba(11,37,69,.6));
}
.hero .hero-inner { position: relative; z-index: 1; }

/* ---------- Admin: dynamic subtopic rows ---------- */
.subtopic-row {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 14px;
  position: relative;
  background: #fafbfd;
}
.subtopic-row .remove-subtopic {
  position: absolute;
  top: 10px; right: 10px;
  background: none;
  border: none;
  color: #c9302c;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.admin-form .checkbox-field { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.admin-form .checkbox-field input { width: auto; }
.admin-form .checkbox-field label { margin: 0; }
.admin-form .help-text { font-size: 12.5px; color: var(--gray); margin-top: 4px; }
.admin-form .add-row-btn {
  background: none;
  border: 1px dashed var(--gold);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
}
.admin-form .add-row-btn:hover { background: rgba(201,164,76,0.1); }
.admin-form .card-head-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.admin-form .card-head-row h2 { margin: 0; }

/* ---------- Single Blog Detail Page (Image 2 style) ---------- */
.publication-title-link {
  color: var(--navy);
  transition: color 0.2s ease;
}
.publication-title-link:hover {
  color: var(--gold);
}

.single-blog-hero {
  background: var(--navy);
  color: #fff;
  padding: 44px 0 40px;
}
.back-to-blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a3b8cc;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 14px;
  transition: color 0.2s ease;
}
.back-to-blog-link:hover {
  color: var(--gold-light);
}
.back-to-blog-link svg {
  fill: currentColor;
  width: 15px;
  height: 15px;
}
.single-blog-title {
  color: #ffffff !important;
  font-size: 38px;
  font-family: var(--font-serif);
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.2;
}
.single-blog-meta {
  color: #a3b8cc;
  font-size: 14px;
  margin: 0;
}

.single-blog-section {
  background: #ffffff;
  padding: 50px 0 80px;
}
.single-blog-container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}
.single-blog-cover {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 34px;
  box-shadow: 0 8px 30px rgba(11, 37, 69, 0.08);
}
.single-blog-cover img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.single-blog-video {
  margin-bottom: 34px;
}

.single-blog-lead {
  font-size: 16.5px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 34px;
}
.single-blog-lead p {
  margin-bottom: 18px;
  color: #334155;
}

.single-blog-about-box {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  background: var(--cream);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 36px;
  align-items: center;
}
.single-blog-about-box img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}
.single-blog-about-box .about-text h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.single-blog-subtopics {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-bottom: 40px;
}
.subtopic-block {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid #e8e5dc;
}
.subtopic-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.subtopic-text {
  flex: 1;
}
.subtopic-text h4 {
  font-size: 20px;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.subtopic-text p {
  font-size: 15.5px;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 12px;
}
.subtopic-media {
  width: 320px;
  min-width: 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}
.subtopic-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.single-blog-hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 40px 0 30px;
}

/* Social share section */
.single-blog-share {
  margin-top: 30px;
}
.single-blog-share h4 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}
.share-buttons-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-decoration: none;
}
.social-icon-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  color: #fff;
}
.social-icon-btn svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

.btn-fb { background: #1877f2; }
.btn-wa { background: #25d366; }
.btn-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.btn-tw { background: #000000; }
.btn-li { background: #0a66c2; }
.btn-tg { background: #229ed9; }
.btn-email { background: #1c2530; }
.btn-copy { background: #65676b; }
.btn-share { background: #f26522; }

.share-tip-note {
  font-size: 12.5px;
  color: #718096;
  line-height: 1.55;
  margin-top: 14px;
}

.copy-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1c2530;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 99999;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .single-blog-title { font-size: 28px; }
  .subtopic-block {
    flex-direction: column-reverse;
    gap: 18px;
  }
  .subtopic-media {
    width: 100%;
    min-width: 100%;
  }
  .subtopic-media img {
    height: 220px;
  }
  .single-blog-about-box {
    grid-template-columns: 1fr;
  }
}

