:root {
  --container-max: 1368px;
  --container-padding: clamp(1rem, 3vw, 4.5rem);

  --font-family-base: "Roboto", sans-serif;
  --font-family-heading: "Times New Roman", serif;
  --font-family-accent: "Lexend", sans-serif;

  --fs-100: clamp(0.625rem, 0.3vw + 0.58rem, 0.75rem);
  --fs-200: clamp(0.875rem, 0.3vw + 0.8rem, 0.938rem);
  --fs-300: clamp(0.95rem, 0.2vw + 0.9rem, 1rem);
  --fs-400: clamp(1rem, 0.3vw + 0.94rem, 1.125rem);
  --fs-700: clamp(2.1rem, 2.8vw + 1.2rem, 3.625rem);

  --color-white: #ffffff;
  --color-off-white: #f4f4f4;
  --color-ink: #444444;
  --color-overlay: rgba(12, 0, 56, 0.45);
  --color-panel: rgba(20, 10, 40, 0.97);
  --color-heading: #2b2b2b;
  --color-lavender: #7b66a5;
  --color-border-soft: #e0e0e0;

  --radius-pill: 999px;
  --header-height: 96px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family-base);
  color: var(--color-off-white);
  background: #f4f4f4;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - (var(--container-padding) * 2), var(--container-max));
  margin-inline: auto;
}


.container.nav-shell {
    width: min(100% - (var(--container-padding) * 2), var(--container-max));
    margin-inline: auto;
    max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: 0.9rem;
  padding-bottom: 0.8rem;
  background: transparent;
  backdrop-filter: none;
  transition: background-color 0.25s ease, backdrop-filter 0.25s ease, box-shadow 0.25s ease;
}

.inner-blog .site-header {
    position: relative;
    background: #7b66a5;
}

.site-header.is-scrolled {
  background: rgb(244 244 244);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
 
}

.inner-blog .site-header.is-scrolled {
    position: fixed;
   background: rgb(244 244 244);
}

.site-header.is-scrolled .btn-light {
    color: #ffffff;
    background: #7b66a5;
}

.blue-log {
    display: none;
}

.is-scrolled span.blue-log {
    display: flex;
    width: 226px;
    height:48px;
}

.is-scrolled span.blue-log svg {
    width: 100%;
    height: 100%;
}

.is-scrolled span.white-logo {
    display: none;
}

.is-scrolled .desktop-nav a, .is-scrolled .dropdown-trigger {
    color: #2b2b2b;
  }

  .desktop-nav a:hover{
   
    border-bottom: 1px solid transparent;
  }

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--color-white);
}

.brand-mark {
  width: 42px;
  height: 42px;
}

.brand-text {
  font-family: var(--font-family-accent);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.desktop-nav a,
.dropdown-trigger {
  color: var(--color-off-white);
  font-size: var(--fs-200);
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-family-base);
}

.desktop-nav a{
   
    border-bottom: 1px solid transparent;
  }

.desktop-nav a:hover {
    border-bottom: 1px solid #fff;
}

.dropdown:hover {
    border-bottom: 1px solid #fff;
}

.dropdown {
  position: relative;
  border-bottom: 1px solid transparent;
}


.is-scrolled .desktop-nav a:hover, .is-scrolled .dropdown:hover {
   border-color: #2b2b2b;

}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.caret {
  font-size: 0.68rem;
}

.dropdown-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 0.7rem);
  width: 230px;
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  border-radius: 12px;
  background: var(--color-panel);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.dropdown.is-open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.65rem 0.7rem;
  border-radius: 8px;
}



.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.btn {
  border-radius: var(--radius-pill);
  font-family: var(--font-family-accent);
  font-size: var(--fs-200);
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 43px;
  padding-inline: 1rem;
}

.btn-light {
  color: var(--color-ink);
  background: var(--color-white);
}

a.btn.btn-light:hover {
    opacity: 0.8;
}

.btn-outline {
  color: var(--color-white);
  border: 1px solid var(--color-off-white);
}

a.btn.btn-outline:hover {
    background: #fff;
    color: #2b2b2b;
}

.btn-outline-lavender {
  color: var(--color-lavender);
  border: 1px solid var(--color-lavender);
}

.btn-outline-lavender:hover {
    background: #7b66a5;
    color: #fff;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  width: 32px;
  height: 30px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 99px;
}
.offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  width: min(84vw, 340px);
  height: 100vh;
  background: var(--color-panel);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 220;
  padding: 1rem;
}

.offcanvas.is-open {
  transform: translateX(0);
}

.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: var(--fs-400);
}

.offcanvas-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--color-white);
  font-family: var(--font-family-accent);
  font-size: 1.1rem;
}

.offcanvas-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.offcanvas-header button {
  font-size: 1.35rem;
  background: rgba(244, 244, 244, 0.14);
  color: var(--color-white);
  border: 1px solid rgba(244, 244, 244, 0.35);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.offcanvas-nav {
  display: grid;
  gap: 0.65rem;
}

.offcanvas-nav a,
.mobile-dropdown button {
  color: var(--color-off-white);
  text-decoration: none;
  font-size: var(--fs-300);
  background: transparent;
  border: 0;
  text-align: left;
  padding: 0.45rem 0;
  font-family: var(--font-family-base);
}

.mobile-dropdown ul {
  list-style: none;
  margin: 0;
  padding-left: 0.7rem;
  display: none;
}

.mobile-dropdown.is-open ul {
  display: grid;
}

.mobile-cta {
  margin-top: 0.5rem;
  max-width: 140px;
}

.offcanvas-nav a.mobile-cta {
  background: var(--color-white);
  color: var(--color-ink);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 210;
}

.site-footer {
  background: #fff;
  padding-top: 2.75rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 282px minmax(0, 485px) 252px;
  align-items: start;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  max-width:280px;
}

.footer-brand-mark {
  width: 64px;
  height: 60px;
}

.footer-brand-text {
  color: #045f87;
  font-family: var(--font-family-accent);
  font-size: 2.7rem;
  font-weight: 500;
  line-height: 1;
}

.footer-contact h3,
.footer-social h3 {
  margin: 0 0 1rem;
  color: var(--color-ink);
  font-family: var(--font-family-base);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
}

.footer-contact-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.footer-contact-row a,
.footer-address {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-ink);
  text-decoration: none;
  font-size: 1.25rem;
  line-height: 1.35;
  margin: 0;
}

.footer-contact-row img,
.footer-address img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social-icons a {
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social-icons a svg {
    width: 100%;
    height: 100%;
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid #e5e5e8;
  min-height: 67px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-top .footer-social {
    margin-top: 0;
    padding-left: 0;
}

.container.footer-top {
    max-width: 100%;
    width: min(100% - (var(--container-padding) * 2), var(--container-max));
}

.container.footer-bottom {
    margin-top: 2rem;
     max-width: 100%;
    width: min(100% - (var(--container-padding) * 2), var(--container-max));
}

.footer-bottom p {
  margin: 0;
  color: var(--color-ink);
  font-size: 1rem;
  line-height: 1.35;
}

.footer-bottom a {
  color: inherit;
  text-decoration: underline;
}

.is-scrolled ul.dropdown-menu li a {
    color: #fff;
}

@media(min-width:901px){
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
[data-dropdown]::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 20px; /* invisible bridge */
}
}

@media (max-width: 900px) {
  :root {
    --fs-100: 0.688rem;
    --fs-200: 0.813rem;
    --fs-300: 0.938rem;
    --fs-400: 1rem;
    --fs-700: clamp(1.9rem, 5.4vw, 2.55rem);
  }

  .desktop-nav,
  .header-actions .btn-light {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
  .site-footer {
    padding-top: 2rem;
  }

  .site-header.is-scrolled .menu-toggle span {
    background: #000;
}

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-brand-text {
    font-size: 2rem;
  }

  .footer-contact-row a,
  .footer-address {
    font-size: 1rem;
  }

  .footer-bottom {
    min-height: auto;
    padding-block: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-dropdown button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

  .mobile-dropdown.is-open ul{
    padding-left: 0;
  }

  .mobile-dropdown.is-open ul li {
    padding: 10px;
    border-bottom: 1px solid #fff;
    padding-left: 0;
}
}

@media (max-width: 600px) {
  :root {
    --fs-100: 0.625rem;
    --fs-200: 0.75rem;
    --fs-300: 0.875rem;
    --fs-400: 0.95rem;
  }
  .offcanvas {
    width: min(90vw, 320px);
  }
}