/* Import Rethink Sans from Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Rethink+Sans:wght@400;500;600;700&display=swap");


.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

:root {
  --bg-dark: #133034;
  --card-bg: #0e2933;
  --text-main: #ffffff;
  --text-muted: #9cb3c1;
  --accent: #ffffff;
  --radius-xl: 24px;
  --accent-lighter:#9599ff;
  --accent-light: #8e99e8;
  --accent-dark: #6365b8;
  --brand-dark: #1d484e;
  --brand-light: #abe7e5;
  --back-light:#ebebeb;
  --back-middle:#f9f9f7;
}

/* Utility Classes - Padding & Margins */
.pt-5 { padding-top: 5px; }
.pb-5 { padding-bottom: 5px; }
.mt-5 { margin-top: 5px; }
.mb-5 { margin-bottom: 5px; }

.pt-10 { padding-top: 10px; }
.pb-10 { padding-bottom: 10px; }
.mt-10 { margin-top: 10px; }
.mb-10 { margin-bottom: 10px; }

.pt-12 { padding-top: 12px; }
.pb-12 { padding-bottom: 12px; }
.mt-12 { margin-top: 12px; }
.mb-12 { margin-bottom: 12px; }

.pt-20 { padding-top: 20px; }
.pb-20 { padding-bottom: 20px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

.pt-25 { padding-top: 25px; }
.pb-25 { padding-bottom: 25px; }
.mt-25 { margin-top: 25px; }
.mb-25 { margin-bottom: 25px; }

.pt-30 { padding-top: 30px; }
.pb-30 { padding-bottom: 30px; }
.mt-30 { margin-top: 30px; }
.mb-30 { margin-bottom: 30px; }

.pt-40 { padding-top: 40px; }
.pb-40 { padding-bottom: 40px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

.pt-50 { padding-top: 50px; }
.pb-50 { padding-bottom: 50px; }
.mt-50 { margin-top: 50px; }
.mb-50 { margin-bottom: 50px; }

.pt-80 { padding-top: 80px; }
.pb-80 { padding-bottom: 80px; }
.mt-80 { margin-top: 80px; }
.mb-80 { margin-bottom: 80px; }

.pt-100 { padding-top: 100px; }
.pb-100 { padding-bottom: 100px; }
.mt-100 { margin-top: 100px; }
.mb-100 { margin-bottom: 100px; }

.mtb-0{
    margin-top:0 !important;
    margin-bottom:0 !important;
}
.ptb-0{
    padding-top:0 !important;
    padding-bottom:0 !important;
}

.underline-accent {
  text-decoration-line: underline;
  text-decoration-color: var(--brand-light);
  text-decoration-thickness: 3px;
  text-underline-offset: 2px;
}

.accent-text{
    color: var(--accent-light);
}

.p-20{
    padding: 20px;
}
.pr-20{
    padding-right: 0 !important;
}
@media (min-width: 1112px) {
  .pr-20 {
    padding-right: 20px !important;
  }
}
.pl-20{
    padding-left: 0 !important;
}
@media (min-width: 1112px) {
  .pl-20 {
    padding-left: 20px !important;
  }
}



body {
  font-family: "Rethink Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background-color: var(--bg-dark);
  padding-top: 80px; /* same as your navbar height */
}

/* Ensure all links and clickable elements show pointer cursor */
a,
button,
.btn,
.nav-link,
.dropdown-item,
.dropdown-toggle,
[role="button"],
[onclick] {
  cursor: pointer !important;
}

.site-wrapper,
.main-wrapper {
  min-height: 100vh;
  background-color: var(--bg-dark);
  display: flex;
  flex-direction: column;
}

.contact-page .main-wrapper {
  background-color: #ffffff;
}

.news-list-page .main-wrapper {
  background-color: #ffffff;
}

.site-wrapper > .site-footer,
.main-wrapper > .site-footer {
  margin-top: auto;
}

/* NAVBAR */
.navbar-custom {
  background-color: transparent;
}

.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
}

.navbar-brand img {
  height: 58px;
  width: auto;
  max-width: 100%;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}

.navbar-brand img:hover {
  opacity: 0.85;
}

/* Responsive logo sizing */
@media (max-width: 575px) {
  .navbar-brand img {
    height: 58px;
  }
}

.navbar-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #9ce3ff, #4b6cff 45%, #6ffff1);
  margin-right: 0.4rem;
}

.navbar-nav .nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.96rem;
  padding-left: 0.9rem;
  padding-right: 0.9rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--text-main);
}

.btn-cta {
  border-radius: 999px;
  padding: 0.55rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  background-color: #ffffff;
  color: #00151c;
  border: none;
}

.btn-cta:hover {
  background-color: #e9f2f7;
  color: #00151c;
}
/* ================
   WHITE CUT BUTTON
   ================ */
.btn-white-cut {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  background: #ffffff;
  color: #133034;
  padding: 0.65rem 1.4rem;
  border: none;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;

  border-radius: 0;               /* no round edges */

  /* cut corner top-left */
clip-path: polygon(18px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 18px);

  transition: all 0.25s ease;
}

.btn-white-cut:hover {
  background: var(--accent-light);
  color: #ffffff;
}

.btn-white-cut svg {
  fill: #e3e3e3;
}

.btn-white-cut:hover svg {
  fill: #6062b4;
}

/* Profile sidebar button - purple initially, black on hover */
.team-profile-sidebar .btn-white-cut {
  background: var(--accent-light);
  color: #ffffff;
}

.team-profile-sidebar .btn-white-cut:hover {
  background: #000000;
  color: #ffffff;
}

.team-profile-sidebar .btn-white-cut svg {
  fill: #ffffff;
}

.team-profile-sidebar .btn-white-cut:hover svg {
  fill: #ffffff;
}

/* Footer button - keep original white style */
.footer-cta-btn.btn-white-cut {
  background: #ffffff;
  color: #133034;
}

.footer-cta-btn.btn-white-cut:hover {
  background: var(--accent-light);
  color: #ffffff;
}

.footer-cta-btn.btn-white-cut svg {
  fill: #e3e3e3;
}

.footer-cta-btn.btn-white-cut:hover svg {
  fill: #6062b4;
}

/* ================
   PURPLE CUT BUTTON (Inverted from white-cut)
   ================ */
.btn-purple-cut {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  background: var(--accent-light);
  color: #ffffff;
  padding: 0.65rem 1.4rem;
  border: none;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;

  border-radius: 0;

  /* cut corner top-left */
  clip-path: polygon(18px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 18px);

  transition: all 0.25s ease;
}

.btn-purple-cut:hover {
  background: #ffffff;
  color: #133034;
}

.btn-purple-cut svg {
  fill: #6062b4;
}

.btn-purple-cut:hover svg {
  fill: #e3e3e3;
}

/* ================
   LANGUAGE SWITCHER
   ================ */
.lang-switcher {
  position: relative;
  margin-left: 1rem;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  padding: 0.4rem 0.5rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.lang-toggle:hover {
  opacity: 0.8;
}

.lang-flag {
  width: 24px;
  height: 18px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  vertical-align: middle;
}

.lang-toggle .lang-arrow {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255,255,255,0.7);
  transition: transform 0.2s ease;
  display: inline-block;
  vertical-align: middle;
}

.lang-switcher.show .lang-toggle .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none;
  border-radius: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  padding: 0;
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.lang-switcher.show .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.lang-option:hover {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
}

.lang-option.active {
  background: rgba(255,255,255,0.1);
}

/* Desktop: fixed right position */
@media (min-width: 1112px) {
  .lang-switcher {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
    z-index: 1001;
  }
  
  .lang-dropdown {
    top: 100%;
    bottom: auto;
    margin-top: 0.5rem;
    margin-bottom: 0;
  }
}

/* Mobile: in navbar */
@media (max-width: 1111.98px) {
  .lang-switcher {
    margin-left: 0;
    margin-top: 2.5rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    align-self: flex-end;
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
  
  .lang-dropdown {
    right: 0;
    left: auto;
  }
}

/* ================
   BLACK CUT BUTTON
   ================ */
.btn-black-cut {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  background: #000000;
  color: #ffffff;
  padding: 0.65rem 1.4rem;
  border: none;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;

  border-radius: 0; /* no rounded edges */

  /* same cut corner */
clip-path: polygon(18px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 18px);

  transition: all 0.25s ease;
}

.btn-black-cut:hover {
  background: var(--accent-light);  /* your brand accent */
  color: #000000;
}

.btn-black-cut:hover svg {
  fill: #6062b4;
}

/* ===========================
   HERO – BB LAW
   IMAGE + 2 COLUMNS AT BOTTOM
   =========================== */

.hero.hero-law {
  position: relative;
  color: #ffffff;
  display: flex;
  align-items: stretch;
  min-height: 80vh;
}

/* Background image */
.hero.hero-law .hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/bnb-lawyer-firm-agency-serbia-hero.jpg"); /* path from assets/css/ */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Gradient mainly at the BOTTOM of the hero */
.hero.hero-law .hero-overlay {
  position: absolute;
  inset: 0;
background: linear-gradient( to top, rgba(0, 0, 0, 0.85) 5%, rgba(0, 0, 0, 0.7) 14%, rgba(0, 0, 0, 0.35) 31%, rgba(0, 0, 0, 0.0) 46% );
  z-index: 1;
}

/* Container side padding */
.hero-container {
  padding-left: 20px;
  padding-right: 20px;
}

/* Navbar and footer containers - desktop only */
@media (min-width: 1112px) {
  .navbar .hero-container {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (min-width: 1200px) {
  .site-footer .hero-container {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Container & row anchored to bottom, above bg + overlay */
.hero.hero-law .hero-container {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  padding-top: 4.5rem;   /* leaves room for navbar */
  padding-bottom: 2.8rem;
  display: flex;
  align-items: flex-end; /* content sits towards bottom of hero */
}

.hero-row {
  width: 100%;
}

/* LEFT BLOCK */
.hero-text-block {
  padding-bottom: 0.5rem;
}

/* Small label */
.hero-kicker-text {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.9;
}

.hero-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background-color: var(--accent-dark);
}

/* Main title */
.hero-title {
  font-size: clamp(2.1rem, 2.4vw + 1.2rem, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hero-title-em {
  font-style: italic;
  font-weight: 500;
}

/* Handwritten pen underline effect */
.hero-underline-word {
  position: relative;
  display: inline-block;
}

.hero-underline-word::after {
  content: "";
  position: absolute;
  left: -2%;
  bottom: -2px;
  width: 104%;
  height: 3px;
  background-color: var(--brand-light);
  transform: rotate(-1deg);
  transform-origin: left center;
}

/* Subtitle */
.hero-subtitle {
  max-width: 460px;
  font-size: 0.98rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* RIGHT BLOCK – stats panel */
.hero-stats-panel {
  padding-bottom: 0.8rem;
  padding-top: 1.5rem;
}

/* Stats container: one row, equal-width centered columns */
.hero-stats {
  display: flex;
  flex-wrap: nowrap !important;    /* keep in one row on all breakpoints */
  justify-content: flex-end;       /* align to right within hero column */
  width: 100%;
  gap: 0;                          /* spacing handled via padding + dividers */
}

/* Each stat: equal width & centered content */
.hero-stat {
  flex: 1;                         /* equal width for all three */
  display: flex;
  flex-direction: column;
  align-items: center;             /* center horizontally */
   /*justify-content: center;         center vertically */
  position: relative;
  padding: 0 1rem;
  min-height: 60px;
  text-align: center;
}

/* Vertical divider between stats */
.hero-stat:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-stat-value {
  font-size: 4rem;
  font-weight: 600;
  line-height: 1;
}

.hero-stat-label {
  font-size: 1.5rem;
  opacity: 0.9;
  margin-top: 0.3rem;
}

/* Logo stats styling */
.hero-stat-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
}

.hero-stat-logo-img {
  max-width: 126%;
  max-height: 93px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* Keep Legal 500 and Thought Leaders logos in color */
.hero-stat-logo:nth-child(2) .hero-stat-logo-img,
.hero-stat-logo:nth-child(3) .hero-stat-logo-img {
  filter: none;
  opacity: 1;
}

/* Adjust Thought Leaders logo size for proper spacing */
.hero-stat-logo:nth-child(3) .hero-stat-logo-img {
  max-width: 100%;
}

/* Align text stat to logo height */
.hero-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 93px;
}

/* HERO RESPONSIVE */

@media (max-width: 991.98px) {
  .hero.hero-law {
    min-height: 90vh;
  }

  .hero.hero-law .hero-container {
    padding-top: 4.25rem;
    padding-left: 2rem;
    padding-bottom: 0.2rem;
  }

  .hero-stats {
    justify-content: space-between;
  }
}

@media (max-width: 767.98px) {
  .hero.hero-law {
    min-height: 72vh;
  }

  .hero.hero-law .hero-container {
    padding-top: 4.5rem;
    padding-bottom: 0.2rem;
  }

  .hero-title {
    font-size: clamp(1.9rem, 1.8rem + 1.2vw, 2.4rem);
  }

  .hero-subtitle {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .hero-stat-value {
    font-size: 4.3rem;
  }

  .hero-stat-label {
    font-size: 0.75rem;
  }

  .hero-stat:not(:first-child)::before {
    height: 1.6rem;
  }

  .hero-stat-logo-img {
    max-height: 70px;
  }

  .hero-stat {
    min-height: 60px;
  }
}

@media (min-width: 1420px) {
  .hero.hero-law .hero-bg {
    background-image: url("../images/bnb-lawyer-firm-agency-serbia-hero-lg.jpg");
  }
}

@media (max-width: 500px) {
  .hero.hero-law .hero-bg {
    background-image: url("../images/bnb-lawyer-firm-agency-serbia-hero-mobile.jpg");
  }
}

/* =============================
   ABOUT SECTION
   ============================= */

.about-section {
  background-color: var(--back-middle);
  color: #042533;
  padding: 5rem 0 4.5rem;
}

.about-top-row {
  margin-bottom: 1.5rem;
}

.about-label-text {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #475a65;
}
.about-label-white {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.7;
}
.about-label-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background-color: var(--accent-dark);
}

/* Big paragraph on the right */
.about-intro {
  margin: 0;
  max-width: 760px;
  font-size: 2.1rem;          /* close to screenshot size */
  line-height: 1.35;
  font-weight: 500;
}

/* =====================================
   STAT GRID — EQUAL WIDTH BOXES
===================================== */

/* Flex row to control layout */
.about-stats-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 3rem;
}

/* The columns that hold each stat box */
.about-stats-row > div {
  display: flex;
  flex: 0 0 25%;    /* 4 equal columns on desktop */
  max-width: 25%;
}

/* The stat box itself: ALWAYS full border */
.about-stat {
  flex: 1;
  padding: 1.9rem 1.8rem 1.7rem;
  border: 1px solid #e1e7ec !important;  /* force border on ALL sides */
  box-sizing: border-box;
  height: 100%;
}

/* Text inside boxes */
.about-stat-value {
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.about-stat-label {
  font-size: 0.95rem;
  color: #6a7c87;
  line-height: 1.45;
}

/* TABLET & PHONES: 2×2 LAYOUT */
@media (max-width: 767.98px) {
  .about-stats-row > div {
    flex: 0 0 50%;    /* 2 columns */
    max-width: 50%;
  }
}

/* VERY SMALL PHONES: STILL 2×2 */
@media (max-width: 480px) {
  .about-stats-row > div {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .about-stat {
    padding: 1.5rem 1.4rem 1.4rem;
    border: 1px solid #e1e7ec !important;  /* double-ensure border */
  }
}

/* Logos row */
.about-logos {
  opacity: 0.7;
}

.about-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #9aadb9;
  font-size: 0.95rem;
  font-weight: 500;
}

.about-logo-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 2px solid #d2dde5;
  position: relative;
}

.about-logo-icon::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  border: 2px solid #d2dde5;
}

.about-logo-img {
  max-height: 32px;
  width: auto;
  filter: grayscale(100%) brightness(60%);
  opacity: 0.3;
}

/* ABOUT responsive tweaks */
@media (max-width: 991.98px) {
  .about-section {
    padding: 3.5rem 1.7rem 3.5rem;
  }

  .about-intro {
    font-size: 1.7rem;
  }
}

@media (max-width: 767.98px) {
  .about-intro {
    font-size: 1.4rem;
  }
}
/* === CUSTOM HAMBURGER MENU === */

.navbar-toggler.custom-hamburger {
  border: none !important;
  padding: 0.4rem;
  outline: none;
  box-shadow: none !important;
}

.hamburger-lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;                /* spacing between lines */
}

.hamburger-lines .line {
  display: block;
  height: 1px;             /* thickness */
  background-color: #ffffff;
  border-radius: 3px;
    margin-left: auto;     /* shifts all lines to the right */
}

/* Line lengths */
.hamburger-lines .l1 { width: 34px; }
.hamburger-lines .l2 { width: 20px; }
.hamburger-lines .l3 { width: 26px; }
.hamburger-lines .l4 { width: 16px; }

/* Bigger overall size on mobile */
.navbar-toggler.custom-hamburger {
  transform: scale(1.15);
}

/* Remove the Bootstrap default icon */
.navbar-toggler-icon {
  display: none !important;
}
/* === CUSTOM 4-LINE HAMBURGER WITH X ANIMATION ==== */

.navbar-toggler.custom-hamburger {
  border: none !important;
  padding: 0.45rem;
  outline: none !important;
  box-shadow: none !important;
  transform: scale(1.2);
}

.hamburger-lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  position: relative;
}

.hamburger-lines .line {
  display: block;
  height: 1px;
  background-color: #ffffff;
  border-radius: 4px;
    margin-left: auto;     /* shifts all lines to the right */
  transition:
    width 0.25s ease,
    transform 0.35s ease,
    opacity 0.25s ease;
}

/* CLOSED STATE — your custom lengths */
.l1 { width: 34px; }  /* longest  */
.l2 { width: 20px; }  /* short    */
.l3 { width: 26px; }  /* medium   */
.l4 { width: 16px; }  /* smallest */

/* ================================
   OPEN STATE  (Bootstrap applies aria-expanded="true")
   We animate to a clean symmetrical X
   ================================ */

.navbar-toggler.custom-hamburger[aria-expanded="true"] .line {
  width: 34px;                   /* All full width during animation */
}

/* Top line -> rotate into "\" part of X */
.navbar-toggler.custom-hamburger[aria-expanded="true"] .l1 {
  transform: translateY(10px) rotate(45deg);
}

/* Second line -> fade away */
.navbar-toggler.custom-hamburger[aria-expanded="true"] .l2 {
  opacity: 0;
}

/* Third line -> fade away */
.navbar-toggler.custom-hamburger[aria-expanded="true"] .l3 {
  opacity: 0;
}

/* Bottom line -> rotate into "/" part of X */
.navbar-toggler.custom-hamburger[aria-expanded="true"] .l4 {
  transform: translateY(-10px) rotate(-45deg);
}

/* Hide default Bootstrap icon */
.navbar-toggler-icon {
  display: none !important;
}
/* =============================
   PARTNERS / TEAM CUBES SECTION
   ============================= */

.partners-section {
  background-color: #00151c; /* dark base to blend with hero */
}

/* Full-width "cubes" */
.partner-card {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dark gradient at the bottom over the image */
.partner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.75) 35%,
    rgba(0, 0, 0, 0.35) 65%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Text block sitting on top of gradient */
.partner-card-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2.2rem 2.4rem 2.3rem;
  color: #ffffff;
}

/* Typographic hierarchy */
.partner-role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.85;
  margin-bottom: 0.6rem;
}

.partner-name {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  padding-right: 0.1em; /* prevent last letter clipping */
}

.partner-text {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 26rem;
  opacity: 0.93;
  margin-bottom: 1.4rem;
}

/* BUTTON — SHARP RECTANGLE, WHITE OUTLINE, NO CUT CORNERS */
.btn-partner-outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;

  padding: 0.55rem 1.35rem;
  background: transparent;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;

  /* sharp edges */
  border-radius: 0;

  /* simple outline */
  border: 1px solid var(--accent-light);

  backdrop-filter: blur(2px);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-partner-outline:hover {
  background-color: #ffffff;
  color: #00151c;
  transform: translateY(-1px);
}

/* icon inside button */
.partner-btn-icon {
  font-size: 0.9rem;
  line-height: 1;
  transform: translateY(1px);
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .partner-card {
    aspect-ratio: 1 / 1;
  }

  .partner-card-overlay {
    padding: 1.9rem 1.8rem 1.9rem;
  }

  .partner-name {
    font-size: 1.45rem;
  }
}

@media (max-width: 767.98px) {
  .partner-card {
    aspect-ratio: 1 / 1;
  }

  .partner-card-overlay {
    padding: 1.6rem 1.4rem 1.7rem;
  }

  .partner-text {
    font-size: 0.9rem;
  }
}
/* =============================
   CLIENT LOGOS SECTION
   ============================= */

.clients-section {
  background-color: var(--accent);
}

.clients-title {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* logos row */
.clients-logos-wrapper {
  background-color: var(--accent);
}

/* same shade always, no hover difference */
.client-logo-img {
  max-height: 34px;
  width: auto;
  filter: grayscale(100%) brightness(55%);
  opacity: 0.18;
}

/* responsiveness */
@media (max-width: 767.98px) {
  .client-logo-img {
    max-height: 26px;
    opacity: 0.18;
  }
}
/* MOBILE NAV — bigger links, right aligned, padding on whole mainNavbar */
@media (max-width: 1111.98px) {
  /* whole collapse div */
  #mainNavbar {
    padding: 20px !important;
  }

  /* align nav list and links to the right */
  #mainNavbar .navbar-nav {
    align-items: flex-end !important;
  }

  #mainNavbar .nav-link {
    font-size: 2rem !important;
    text-align: right;
    width: 100%;
  }

  /* Dropdown items */
  #mainNavbar .dropdown-menu .dropdown-item {
    font-size: 1.4rem !important;
    text-align: right;
  }

  /* Mobile dropdown menu color */
  #mainNavbar .dropdown-menu {
    background-color: #0b2023 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
  }
}

/* Make navbar transparent + blurred */
.navbar-custom {
  background-color: rgba(19, 48, 52, 0.90) !important;  /* transparency */
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;

  /* required to let blur show behind BEGIN */
  position: fixed !important;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  /* required to let blur show behind END */

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


/* Replace background-image system with a real zoomable image layer */
.partner-card {
  position: relative;
  overflow: hidden; /* keeps zoom inside */
}

.partner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: transform 0.6s ease; /* smooth zoom */
}

/* Fallback for specific classes if needed */
.partner-card-left::before {
  background-image: url("../images/Bojana-Miljanovic-lawyer-advokat.jpg");
}

.partner-card-right::before {
  background-image: url("../images/Bojan-Vuckovic-lawyer-advokat.jpg");
}

.partner-card-mladen::before {
  background-image: url("../images/Mladen-Vujic-lawyer-advokat.jpg");
}

.partner-card-milena::before {
  background-image: url("../images/Milena-Mitic-lawyer-advokat.jpg");
}

/* Index page - specific images */
.page-home .partner-card-left::before {
  background-image: url("../images/Bojana-Miljanovic-lawyer-advokat-alt.jpg");
}

.page-home .partner-card-right::before {
  background-image: url("../images/Bojan-Vuckovic-lawyer-advokat.jpg");
}

.page-home .partner-card-mladen::before {
  background-image: url("../images/Mladen-Vujic-lawyer-advokat.jpg");
}

.page-home .partner-card-milena::before {
  background-image: url("../images/Milena-Mitic-lawyer-advokat-alt.jpg");
}

.team-card-3::before { background-image: url("https://media.istockphoto.com/id/2215974791/photo/job-interview.jpg?s=2048x2048&w=is&k=20&c=JEtiF2od77l7jmNb--wQD4Hfhylt5Ci_X3xbRI7QSnw="); }
.team-card-4::before { background-image: url("https://images.unsplash.com/photo-1560250097-0b93528c311a?q=80&w=1740&auto=format&fit=crop"); }

/* Zoom only the photo, not the whole card */
.partner-card:hover::before {
  transform: scale(1.08);
}



/* Duotone gradient */
.partner-card::after {
  content: "";
  position: absolute;
  inset: 0;

  /* two-color duotone gradient */
  background: linear-gradient(135deg, #6365b8 0%, #8e99e8 100%);

  /* this blend mode gives a true duotone look */
  mix-blend-mode: color;

  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 1;
  pointer-events: none;
}

.partner-card:hover::after {
  opacity: 1 !important;
}

/* show gradient on hover */
.partner-card:hover::after {
  opacity: 0.75;
}
/* Dark bottom gradient for readability */
.partner-card .partner-gradient-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.15) 45%,
    rgba(0, 0, 0, 0.05) 55%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
  pointer-events: none;
}
/* Make sure layering is correct */
.partner-card {
  position: relative;
  overflow: hidden;
}

/* photo layer – already set in your ::before */
.partner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: transform 0.6s ease;
}

/* Duotone overlay */
.partner-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #6365b8 0%, #8e99e8 100%);
  mix-blend-mode: color;
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 2;
  pointer-events: none;
}

/* Dark bottom gradient */
.partner-gradient-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.75) 35%,
    rgba(0, 0, 0, 0.35) 65%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* text overlay on top of everything */
.partner-card-overlay {
  position: relative;
  z-index: 3;
}

/* Angled duotone "wedge" with soft diagonal edge */
.partner-duo-spot {
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 100%;

  /* Diagonal duotone that fades out */
  background: linear-gradient(
    24deg,
    rgba(99, 101, 184, 0.95) 0%,   /* #6365b8 at corner */
    rgba(142, 153, 232, 0.9) 6%,  /* #8e99e8 close to corner */
    rgba(142, 153, 232, 0.0) 35%   /* fade to transparent along diagonal */
  );

  mix-blend-mode: color;
  opacity: 0.9;

  z-index: 2;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

/* On hover, full duotone takes over, patch fades out */
.partner-card:hover .partner-duo-spot {
  opacity: 0;
}
/* Metallic text - robust (prevents invisible text on some deployments) */
.text-metallic{
  display: inline-block; /* important for background-clip stability */
  background-image: linear-gradient(
    to bottom,
    #ffffff 0%,
    #fafafa 25%,
    #f2f2f2 55%,
    #ffffff 100%
  ) !important;
  background-repeat: no-repeat;
  background-size: 100% 200%; /* extra space for descenders */
  -webkit-background-clip: text;
  background-clip: text;
  padding-bottom: 0.1em; /* prevent descender clipping */
  padding-right: 0.15em; /* prevent right side clipping */

  /* default to visible */
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

/* If clip-text is supported, then we safely turn fill transparent */
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .text-metallic{
    color: transparent !important;
    -webkit-text-fill-color: transparent;
  }
}
/* Remove default Bootstrap caret */
.nav-link.dropdown-toggle::after {
  display: none !important;
}

/* Add clean minimalistic 2-line chevron */
.nav-link.dropdown-toggle {
  position: relative;
  padding-right: 22px !important; /* space for arrow */
}

.nav-link.dropdown-toggle::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;

  width: 7px;
  height: 7px;

  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;

  transform: translateY(-55%) rotate(45deg);
  opacity: 0.9;
  transition: transform 0.25s ease;
}

/* Rotate arrow when dropdown opens */
.nav-link.dropdown-toggle[aria-expanded="true"]::before {
  transform: translateY(-30%) rotate(225deg);
}

/* =============================
   DROPDOWN HOVER ON DESKTOP
   ============================= */
@media (min-width: 1112px) {
  /* Show dropdown on hover */
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
  }

  /* Rotate arrow on hover */
  .nav-item.dropdown:hover .nav-link.dropdown-toggle::before {
    transform: translateY(-30%) rotate(225deg);
  }

  /* Prevent default toggle behavior on desktop - link should navigate */
  .nav-link.dropdown-toggle {
    pointer-events: auto;
  }
}

/* =============================
   GLASSMORPHIC DROPDOWN (DESKTOP ONLY)
   ============================= */
@media (min-width: 1112px) {
  .dropdown-menu {
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    padding: 0.5rem 0 !important;
  }

  .dropdown-item {
    color: rgba(255, 255, 255, 0.9) !important;
    background-color: transparent !important;
    transition: all 0.2s ease !important;
    padding: 0.5rem 1rem !important;
    margin: 0.25rem 0 !important;
  }

  .dropdown-item:hover,
  .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .dropdown-item.active {
    color: #ffffff !important;
    background-color: transparent !important;
    text-decoration: underline !important;
    text-decoration-color: var(--accent-light) !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 4px !important;
  }

  /* Full-width hover background for dropdown items */
  .dropdown-menu.ptb-0 {
    padding: 0 !important;
  }

  .dropdown-menu.ptb-0 .dropdown-item {
    margin: 0 !important;
    padding: 0.5rem 1rem !important;
  }
}

/* DESKTOP — bring arrow closer to text */
@media (min-width: 1112px) {
  .nav-link.dropdown-toggle {
    padding-right: 15px !important;   /* closer */
  }

  .nav-link.dropdown-toggle::before {
    right: 4px;                       /* shift arrow left */
    width: 6px;
    height: 6px;                      /* slightly tighter arrow */
  }
}
/* MOBILE: align call button to the right inside hamburger */
@media (max-width: 1111.98px) {

  /* give the collapse some padding */
  #mainNavbar {
    padding: 20px !important;
  }

  /* space between nav links and button */
  #mainNavbar .navbar-nav {
    align-items: flex-end !important;
    margin-bottom: 20px; /* gap from tabs to button */
  }

  /* push the call button to the right */
  #mainNavbar .btn-cta,
  #mainNavbar .btn-white-cut,
  #mainNavbar button {
    display: block !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  /* Mobile dropdown menu styling */
  #mainNavbar .dropdown-menu {
    background-color: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
  }

  #mainNavbar .dropdown-item {
    background-color: transparent !important;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.5rem 1rem !important;
    margin: 0 !important;
    transition: all 0.2s ease !important;
  }

  #mainNavbar .dropdown-item:hover,
  #mainNavbar .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
  }

  #mainNavbar .dropdown-item.active {
    color: #ffffff !important;
    background-color: transparent !important;
    text-decoration: underline !important;
    text-decoration-color: var(--accent-light) !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 4px !important;
  }
}
/* Big 3-column stats under intro */
.about-highlight-stats {
  margin-top: 1.75rem;
}

.about-highlight-stat {
  text-align: left;
}

.about-highlight-value {
  font-size: 3rem;         /* bigger than regular about-stat-value */
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #042533;
}

.about-highlight-label {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #6a7c87;
}
@media (max-width: 576px) {
    .about-highlight-value {
  font-size: 2rem;         /* bigger than regular about-stat-value */
    }
  .about-highlight-stats {
    gap: 30px !important;
  }
    /* make cards a bit taller on small phones */
  .partner-card {
    min-height: 600px;
  }

  /* Bojana image – keep centered */
  .partner-card-left::before {
    background-position: center;
    transform: scale(1);
  }

  /* Bojan image – keep centered */
  .partner-card-right::before {
    background-position: center;
    transform: scale(1);
  }

  /* keep hover scale from changing it on touch devices */
  .partner-card:hover::before {
    transform: scale(1.18);
  }
}
/* =============================
   SITE FOOTER – BB LAW
   ============================= */

.site-footer {
  background-color: #000000;
  color: #ffffff;
  padding: 5rem 0 3.5rem; /* more padding on entire footer */
}

.footer-container {
  max-width: 1120px;
}

/* Brand */
.footer-brand-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background: radial-gradient(circle at 30% 20%, #9ce3ff, #4b6cff 45%, #6ffff1);
}

/* Mission text */
.footer-mission {
  max-width: 520px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* Nav links */
.footer-nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer-nav-link:hover {
  color: #ffffff;
}

/* CTA buttons – always 2 columns via col-6 */
.footer-cta-grid .col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.footer-cta-badge {
  display: block;
  padding: 0.9rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  background-color: #ffffff;
  color: #000000;
}

.footer-cta-outline {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.footer-cta-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* Divider */
.footer-divider {
  margin: 2.6rem 0 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

/* Bottom row */
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Social icons */
.footer-social {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.85;
}

.footer-social:hover {
  opacity: 1;
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
  .site-footer {
    padding: 4.2rem 0 3.2rem;
  }

  .footer-mission {
    max-width: 100%;
  }

  .footer-bottom {
    gap: 1rem;
  }
}
/* =====================================
   LEGAL FIELDS – FULL WIDTH IMAGE CARDS
   ===================================== */

/* FULL WIDTH SECTION */
.legal-fields-section {
  width: 100%;
  padding: 0;
  margin: 0;
}

/* Remove all spacing between cards */
.legal-fields-grid {
  margin: 0 !important;
  row-gap: 0 !important;
}

.legal-field-col {
  padding: 0 !important;
}

/* Card base: full bleed, tall, no radius */
.legal-field-card {
  position: relative;
  height: 600px; /* tall cards */
  width: 100%;
  border-radius: 0;
  margin: 0 !important;
  overflow: hidden; /* keeps zoom inside */

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  color: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* Background image layer that will zoom */
.legal-field-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  z-index: 0;
  transition: transform 0.6s ease;
}

/* Dark overlay */
.legal-field-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 22, 36, 0.80) 0%,
    rgba(8, 22, 36, 0.70) 40%,
    rgba(8, 22, 36, 0.40) 70%,
    rgba(8, 22, 36, 0.15) 100%
  );
  z-index: 1;
}

/* Duotone overlay */
.legal-field-card .legal-field-duotone {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #6365b8 0%, #8e99e8 100%);
  mix-blend-mode: color;
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 2;
  pointer-events: none;
}

/* Zoom background image on hover */
.legal-field-card:hover::before {
  transform: scale(1.08);
}

/* Show duotone on hover */
.legal-field-card:hover .legal-field-duotone {
  opacity: 0.75;
}

/* Inner text */
.legal-field-inner {
  position: relative;
  z-index: 2;
  padding: 3rem 2.6rem 1.5rem;
}

/* FORCE all text to white */
.legal-field-inner * {
  color: #ffffff !important;
}

/* Title */
.legal-field-title {
  font-size: 2rem;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Divider line */
.legal-field-divider {
  width: 90px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.8);
  margin: 1.5rem 0 1rem;
}

/* Subtitle text */
.legal-field-text {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 16rem;
  opacity: 0.96;
}

/* Bottom area with cut button */
.legal-field-bottom {
  position: relative;
  z-index: 2;
  padding: 0 2.6rem 2.6rem;
}

/* Let the button sit left */
.legal-field-bottom .btn-black-cut {
  margin-top: 0.5rem;
}

/* Background images */

.legal-field-card--competition::before {
  background-image: url("/assets/images/Competition-Antitrust-Law-BnB-Law.jpg");
}

.legal-field-card--telecom::before {
  background-image: url("/assets/images/Telecommunications-Law-BnB-Law.jpg");
}

.legal-field-card--commercial::before {
  background-image: url("/assets/images/Commercial-Law-BnB-Law.jpg");
}

/* =====================================
   RESPONSIVE
   ===================================== */

@media (max-width: 1199.98px) {
  .legal-field-card { height: 520px; }
  .legal-field-title { font-size: 1.8rem; }
}

@media (max-width: 991.98px) {
  .legal-field-card { height: 480px; }
  .legal-field-title { font-size: 1.6rem; }
  .legal-field-text { font-size: 0.95rem; }
}

@media (max-width: 767.98px) {
  .legal-field-card { height: 420px; }
  .legal-field-inner { padding: 2.2rem 1.6rem 1.2rem; }
  .legal-field-bottom { padding: 0 1.6rem 1.8rem; }
  .legal-field-title { font-size: 1.4rem; }
  .legal-field-divider { width: 70px; }
}
/* ================================
   VALUE STEPS SECTION (dark)
================================ */
.value-steps-section {
  background-color: var(--bg-dark); /* #133034 */
  color: #ffffff;
  padding: 6rem 0 5rem;
}

.vs-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.8;
  margin: 0;
}

.vs-title {
  font-size: clamp(1.9rem, 2.4vw + 1.2rem, 3rem);
  font-weight: 500;
  max-width: 830px;
  line-height: 1.25;
   color: rgba(255, 255, 255, 0.6);
}

.vs-steps {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 600px;
}

.vs-step {
  position: relative;
  color: rgba(255, 255, 255, 1);
  font-size: 2.2rem;
  font-weight: 400;
  cursor: pointer;
  transition: color 0.25s ease;
}

/* Title color text on jurisdictions page */
.jurisdictions-page .vs-step {
  color: #133034;
  cursor: default;
}

.vs-step:hover {
  color:  var(--accent-light);
}

/* Remove hover on jurisdictions page */
.jurisdictions-page .vs-step:hover {
  color: #133034;
}

.vs-step.active {
  color: #ffffff;
  font-weight: 600;
}

.vs-step a {
  color: inherit;
  text-decoration: none;
}

.vs-step a:hover {
  color: inherit;
  text-decoration: underline;
}

.vs-line {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.28);
  margin-top: 6px;
  transition: width 0.25s ease;
}

.vs-step.active .vs-line {
  background-color: #ffffff;
  height: 2px;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .vs-title {
    font-size: 1.7rem;
  }

  .vs-step {
    font-size: 1.7rem;
  }
}
/* =============================
   CONTACT SECTION (bnb)
   ============================= */

.contact-section {
  background-color: var(--back-middle); /* matches your light sections */
  color: #042533;
  padding: 5rem 0 4.5rem;
}

.contact-left {
  padding-right: 0.5rem;
}

.contact-title {
  font-size: clamp(2rem, 2.1vw + 1.2rem, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
}

.contact-lead {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #475a65;
  max-width: 28rem;
}

/* Team page join CTA */
.team-join-cta {
  font-size: 0.95rem;
  color: #475a65;
}

.team-join-link {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.team-join-link:hover {
  color: var(--accent-light);
}

.team-join-link svg {
  vertical-align: middle;
  margin-left: 2px;
}

.contact-note {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(4, 37, 51, 0.12);
  background: rgba(255, 255, 255, 0.65);
}

.contact-note .material-symbols-outlined {
  font-size: 1.35rem;
  color: var(--accent-dark);
  transform: translateY(2px);
}

.contact-note-title {
  font-weight: 600;
  color: #042533;
  line-height: 1.2;
}

.contact-note-text {
  color: #6a7c87;
  font-size: 0.95rem;
  margin-top: 0.15rem;
}

/* Make your outline button work on light bg */
.contact-outline-dark {
  border-color: rgba(4, 37, 51, 0.25) !important;
  color: #042533 !important;
}
.contact-outline-dark:hover {
  background-color: #042533 !important;
  color: #ffffff !important;
}

/* Right side wrapper */
.contact-right {
  height: 100%;
  padding-top: 2.5rem;
}

/* Cards */
.contact-card {
  height: 100%;
  border-radius: 0;
  border: 1px solid rgba(4, 37, 51, 0.12);
  background: #ffffff;
  padding: 1.35rem 1.35rem 1.25rem;
}

.contact-card-accent {
  background: linear-gradient(135deg, rgba(99,101,184,0.10) 0%, rgba(142,153,232,0.08) 100%);
  border-color: rgba(99, 101, 184, 0.22);
}

.contact-card-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.contact-ico {
  font-size: 1.35rem;
  color: var(--accent-dark);
}

.contact-card-title {
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #475a65;
}

.contact-card-text {
  color: #042533;
  font-size: 1.02rem;
  line-height: 1.55;
}

.contact-card-link {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 600;
  color: #042533;
  text-decoration: none;
}
.contact-card-link:hover {
  color: var(--accent-dark);
}

.contact-card-sub {
  margin-top: 0.35rem;
  color: #6a7c87;
  font-size: 0.92rem;
  line-height: 1.45;
}

/* Form */
.contact-form-wrap {
  border: 1px solid rgba(4, 37, 51, 0.12);
  background: #ffffff;
  padding: 1.6rem 1.6rem 1.7rem;
}

.contact-label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #475a65;
  margin-bottom: 0.45rem;
}

.contact-input,
.contact-textarea {
  width: 100%;
  border-radius: 0;
  border: 1px solid rgba(4, 37, 51, 0.14);
  background: #fbfbfa;
  padding: 0.85rem 0.95rem;
  font-size: 1rem;
  color: #042533;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, padding-left 0.2s ease;
}

.contact-input:focus,
.contact-textarea:focus {
  border-color: rgba(99, 101, 184, 0.55);
  box-shadow: 0 0 0 3px rgba(142, 153, 232, 0.18);
}

/* Valid input styling */
.contact-input.is-valid {
  border-color: #198754;
  padding-left: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%23198754'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0.85rem center;
  background-size: 16px 16px;
}

.contact-textarea.is-valid {
  border-color: #198754;
  padding-left: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%23198754'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0.85rem 0.85rem;
  background-size: 16px 16px;
}

.contact-input.is-valid:focus,
.contact-textarea.is-valid:focus {
  border-color: #198754;
  box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.18);
}

/* Invalid input styling */
.contact-input.is-invalid,
.contact-textarea.is-invalid {
  border-color: #dc3545;
}

.contact-input.is-invalid:focus,
.contact-textarea.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.18);
}

/* Field error messages */
.field-error {
  display: none;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  animation: slideDown 0.2s ease-out;
}

.field-error.show {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form success/error messages */
.form-message {
  display: none;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  font-size: 0.95rem;
  animation: slideDown 0.3s ease-out;
}

.form-message.show {
  display: block;
}

.form-message.success {
  background-color: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
}

.form-message.error {
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
}

/* Honeypot field (must be hidden) */
.hp-field {
  position: absolute !important;
  left: -5000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

/* Cloudflare Turnstile container */
.cf-turnstile {
  margin-top: 0.25rem;
}

/* Form submitting state */
.contact-form.submitting {
  opacity: 0.6;
  pointer-events: none;
}

.contact-form.submitting button[type="submit"] {
  position: relative;
  color: transparent;
}

.contact-form.submitting button[type="submit"]::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spinner 0.8s ease infinite;
}

@keyframes spinner {
  to { transform: rotate(360deg); }
}

/* Responsive spacing */
@media (max-width: 991.98px) {
  .contact-section {
    padding: 3.8rem 0 3.6rem;
  }

  .contact-lead {
    max-width: 100%;
  }
}
/* =============================
   NEWS SINGLE (based on screenshot)
   ============================= */

.news-page .main-wrapper {
  background-color: #ffffff;
}

/* section */
.news-single-section {
  background: var(--back-middle);
  color: #042533;
  padding: 3.8rem 0 5rem;
}

/* title */
.news-single-title {
  font-size: clamp(2.2rem, 2.2vw + 1.2rem, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 1.6rem 0;
}

/* hero media */
.news-hero-media {
  border-radius: 18px;
  overflow: hidden;
  background: #e9eef2;
  border: 1px solid rgba(4, 37, 51, 0.10);
}

.news-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* right sidebar */
.news-hero-side {
  padding-top: 0.5rem;
}

.news-meta-block {
  background: transparent;
}

.news-meta-label {
  font-size: 0.9rem;
  color: #475a65;
  margin-bottom: 0.8rem;
}

/* chips */
.news-chip-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.news-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(4, 37, 51, 0.08);
  color: #042533;
}

.news-chip-soft {
  background: rgba(4, 37, 51, 0.05);
}

/* author */
.news-author-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.news-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(4, 37, 51, 0.12);
  background: #fff;
  flex: 0 0 auto;
}

.news-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-author-name {
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
}

.news-author-role {
  font-size: 0.92rem;
  color: #6a7c87;
  margin-top: 0.25rem;
}

/* article body */
.news-article {
  padding-top: 1.6rem;
  max-width: 760px;
}

.news-article p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #223842;
  margin-bottom: 1.1rem;
}

.news-article h2 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #042533;
}

/* responsive */
@media (max-width: 991.98px) {
  .news-hero-img { height: 340px; }
  .news-single-section { padding: 3.2rem 0 4.2rem; }
}

@media (max-width: 575.98px) {
  .news-hero-img { height: 260px; }
  .news-single-title { margin-bottom: 1.2rem; }
}
/* =============================
   NEWS LIST PAGE
   ============================= */

.news-list-section {
  background: var(--back-middle);
  padding: 5rem 0 4.8rem;
  margin-top: var(--bs-gutter-y);
}

.news-list-title {
  font-size: clamp(2rem, 2.1vw + 1.2rem, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 2rem 0;
  color: #042533;
}

/* Card */
.news-card {
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  transition: transform 0.25s ease;
  clip-path: polygon(18px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 18px);
}

.news-card:hover {
  transform: translateY(-2px);
}

.news-card-media {
  position: relative;
  background: #e9eef2;
  border-radius: 0;
  overflow: hidden;
}

/* Duotone overlay for news card images */
.news-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #6365b8 0%, #8e99e8 100%);
  mix-blend-mode: color;
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 1;
  pointer-events: none;
}

.news-card:hover .news-card-media::after {
  opacity: 1;
}

.news-card-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.news-card:hover .news-card-media img {
  transform: scale(1.08);
}

.news-card-body {
  padding: 1rem 0.1rem 0;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  background: rgba(4, 37, 51, 0.06);
  color: #042533;
  margin-bottom: 0.6rem;
}

.news-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0 0 0.35rem 0;
  color: #042533;
}

.news-card-excerpt {
  margin: 0 0 0.8rem 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #5a6b75;
}

/* Learn more link */
.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #042533;
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
}

.news-card-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: var(--accent-dark);
  transition: width 0.3s ease;
}

.news-card-link svg {
  width: 18px;
  height: 18px;
  transition: fill 0.25s ease;
}

.news-card:hover .news-card-link {
  color: var(--accent-dark);
}

.news-card:hover .news-card-link::after {
  width: 100%;
}

.news-card:hover .news-card-link svg {
  fill: var(--accent-dark);
}

/* News grid row gap - larger on desktop */
.news-list-grid {
  row-gap: 3rem !important;
}

/* Responsive spacing */
@media (max-width: 991.98px) {
  .news-list-section {
    padding: 3.8rem 0 3.6rem;
  }
  .news-card-media img { height: 220px; }
}
@media (max-width: 575.98px) {
  .news-card-media img { height: 210px; }
}

/* Team profile hero section */
.team-profile-hero {
  position: relative;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

/* Gradient overlay for legal field pages only */
.team-profile-hero.legal-field-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.35) 100%);
  z-index: 1;
}

.team-profile-hero .container {
  position: relative;
  z-index: 2;
}

.team-profile-hero-content {
  max-width: 50%;
  color: #ffffff;
}

.team-profile-hero .about-label-dot {
  background-color: rgba(255, 255, 255, 0.9);
}

.team-profile-hero .about-label-text {
  color: rgba(255, 255, 255, 0.9);
}

.team-profile-hero .team-profile-name {
  color: #ffffff;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.team-profile-hero .team-profile-title {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.team-profile-hero p {
  color: rgba(255, 255, 255, 0.95);
}

.team-profile-hero .recognition-quote {
  color: rgba(255, 255, 255, 0.95);
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.team-profile-hero .quote-icon {
  color: rgba(255, 255, 255, 0.8);
}

.team-profile-hero .recognition-source {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

/* Mobile view */
@media (max-width: 991.98px) {
  .team-profile-hero {
    min-height: auto;
    background-image: none !important;
    padding: 0;
    display: block;
  }
  
  .team-profile-hero::before {
    display: none;
  }
  
  .team-profile-hero .container {
    padding: 0;
    max-width: 100%;
  }
  
  .team-profile-hero-mobile-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
  }
  
  .team-profile-hero-content {
    max-width: 100%;
    padding: 2rem 1.5rem;
    background-color: #ffffff;
    display: block;
    margin-top: 0;
  }
  
  .team-profile-hero .about-label-dot {
    background-color: #333333;
  }
  
  .team-profile-hero .about-label-text {
    color: #333333;
  }
  
  .team-profile-hero .team-profile-name {
    color: #000000;
    font-size: 2rem;
  }
  
  .team-profile-hero .team-profile-title {
    color: #333333;
  }
  
  .team-profile-hero .recognition-quote {
    color: #000000;
  }
  
  .team-profile-hero .quote-icon {
    color: #333333;
  }
  
  .team-profile-hero .recognition-source {
    color: #666666;
  }
}

/* Milena profile - large screen image at 1388px+ */
@media (min-width: 1388px) {
  .team-profile-hero.profile-milena {
    background-image: url('/assets/images/Milena-Mitic-lawyer-advokat-profile-lg.jpg') !important;
  }
}

/* Bojana profile - mobile image up to 500px */
@media (max-width: 500px) {
  .team-profile-hero.profile-bojana {
    background-image: url('/assets/images/Bojana-Miljanovic-lawyer-advokat.jpg') !important;
  }
}

/* Bojana profile - large screen image at 1388px+ */
@media (min-width: 1388px) {
  .team-profile-hero.profile-bojana {
    background-image: url('/assets/images/Bojana-Miljanovic-lawyer-advokat-profile-lg.jpg') !important;
  }
}

/* Bojan profile - default/medium screen image */
.team-profile-hero-bojan {
  background-image: url('/assets/images/Bojan-Vuckovic-lawyer-advokat-profile.jpg') !important;
}

/* Bojan profile - mobile image up to 500px */
@media (max-width: 500px) {
  .team-profile-hero-bojan {
    background-image: url('/assets/images/Bojan-Vuckovic-lawyer-advokat.jpg') !important;
  }
}

/* Bojan profile - large screen image at 1388px+ */
@media (min-width: 1388px) {
  .team-profile-hero-bojan {
    background-image: url('/assets/images/Bojan-Vuckovic-lawyer-advokat-profile-lg.jpg') !important;
  }
}

/* Mladen profile - default/medium screen image */
.team-profile-hero-mladen {
  background-image: url('/assets/images/Mladen-Vujic-lawyer-advokat-profile.jpg');
}

/* Mladen profile - mobile image up to 500px */
@media (max-width: 500px) {
  .team-profile-hero-mladen {
    background-image: url('/assets/images/Mladen-Vujic-lawyer-advokat.jpg') !important;
  }
}

/* Mladen profile - large screen image at 1388px+ */
@media (min-width: 1388px) {
  .team-profile-hero-mladen {
    background-image: url('/assets/images/Mladen-Vujic-lawyer-advokat-profile-lg.jpg') !important;
  }
}

.team-profile-bio {
  padding: 4rem 0 !important;
}

/* =============================
   CONTACT INFO REVEAL (Anti-crawler)
   ============================= */
.reveal-contact {
  background: none;
  border: none;
  color: var(--accent-light);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  transition: color 0.3s ease;
}

.reveal-contact:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.revealed-contact {
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.revealed-contact:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

/* =============================
   NAVBAR RESPONSIVE BREAKPOINT OVERRIDE
   ============================= */
/* Override Bootstrap's navbar-expand-lg (992px) to expand at 1112px instead */

/* Below 1112px: Show hamburger, collapse menu (override Bootstrap's 992px) */
@media (max-width: 1111.98px) {
  .navbar-expand-lg .navbar-toggler {
    display: block !important;
  }
  
  .navbar-expand-lg .navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
  }
  
  .navbar-expand-lg .navbar-collapse:not(.show) {
    display: none !important;
  }
  
  .navbar-expand-lg .navbar-nav {
    flex-direction: column;
  }
}

/* Explicitly override Bootstrap's default 992px behavior in the 992-1111.98px range */
@media (min-width: 992px) and (max-width: 1111.98px) {
  .navbar-expand-lg .navbar-toggler {
    display: block !important;
  }
  
  .navbar-expand-lg .navbar-collapse:not(.show) {
    display: none !important;
  }
  
  .navbar-expand-lg .navbar-collapse.show {
    display: block !important;
  }
  
  .navbar-expand-lg .navbar-nav {
    flex-direction: column !important;
  }
  
  .navbar-expand-lg {
    flex-wrap: wrap !important;
  }
}

/* At 1112px and above: Desktop navigation */
@media (min-width: 1112px) {
  .navbar-expand-lg {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  
  .navbar-expand-lg .navbar-toggler {
    display: none !important;
  }
  
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  
  /* Reset mobile styles for desktop */
  #mainNavbar {
    padding: 0 !important;
  }
  
  #mainNavbar .navbar-nav {
    align-items: center !important;
  }
  
  #mainNavbar .nav-link {
    font-size: 0.96rem !important;
    text-align: left !important;
    width: auto !important;
  }
  
  #mainNavbar .dropdown-menu .dropdown-item {
    font-size: 0.925rem !important;
    text-align: left !important;
  }
}
