:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #1f2937;
  background: #f7f8fa;
  line-height: 1.5;
}

.container {
  width: min(1000px, 92%);
  margin: 0 auto;
}



.site-header,
.navbar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.nav-row,
.navbar .container-fluid {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.navbar-brand {
  color: #111827;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.nav-links a,
.navbar-nav .nav-link,
.navbar a {
  color: #374151;
  text-decoration: none;
  margin-left: 1rem;
}

.navbar .navbar-nav.ms-auto {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar .navbar-nav.ms-auto .nav-link {
  margin-left: 0;
}

.navbar .navbar-nav.ms-auto .nav-link[aria-label] {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 0;
}

.navbar .nav-link.active {
  color: #111827;
  font-weight: 600;
}

.navbar #quarto-search .aa-DetachedSearchButton {
  border: 1px solid #d1d5db;
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navbar #quarto-search {
  display: inline-flex;
  align-items: center;
}

.navbar #quarto-search .aa-DetachedSearchButton .aa-DetachedSearchButtonIcon,
.navbar #quarto-search .aa-DetachedSearchButton .aa-SubmitIcon {
  color: #374151;
  opacity: 1;
}

.navbar #quarto-search .aa-DetachedSearchButton svg {
  color: #374151;
  fill: currentColor;
  stroke: currentColor;
}

.navbar #quarto-search .aa-DetachedSearchButtonIcon,
.navbar #quarto-search .aa-DetachedSearchButtonIcon svg,
.navbar #quarto-search .aa-DetachedSearchButtonIcon path {
  color: #374151 !important;
  fill: #374151 !important;
  stroke: #374151 !important;
  opacity: 1 !important;
}

.theme-toggle-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  line-height: 1;
  font-size: 1rem;
  text-decoration: none;
}

.theme-toggle-link i {
  font-size: 1rem;
}

.hero {
  position: relative;
  background: transparent;
  color: #ffffff;
  min-height: clamp(420px, 68vh, 860px);
  display: flex;
  align-items: center;
  padding: 96px 0;
  overflow: hidden;
}

.hero + section {
  margin-top: 30px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media p {
  margin: 0;
  height: 100%;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.landing-page #quarto-document-content {
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}

.landing-page #quarto-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.landing-page #quarto-content.quarto-container,
.landing-page .quarto-container.page-columns,
.landing-page .page-layout-article {
  max-width: none !important;
  width: 100% !important;
}

.landing-page #quarto-content,
.landing-page main.content,
.landing-page main.content > .hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.landing-page #title-block-header {
  display: none;
}

.landing-page .hero {
  width: 100vw;
  margin-left: 50%;
  margin-right: 0;
  transform: translateX(-50%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.62) 0%, rgba(2, 6, 23, 0.48) 42%, rgba(2, 6, 23, 0.70) 100%),
    radial-gradient(120% 90% at 50% 40%, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.38) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(820px, 92%);
  margin: 0 auto;
  padding: clamp(1.6rem, 2.8vw, 2.4rem);
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.24) 0%,
    rgba(15, 23, 42, 0.12) 100%
  );
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.18);
}

.eyebrow {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.98;
  color: #e2e8f0;
  text-shadow: 0 1px 2px rgba(2, 6, 23, 0.45);
}

.hero h1 {
  margin: 0.5rem 0 0.9rem;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 3px 14px rgba(2, 6, 23, 0.45);
}

.hero p {
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(241, 245, 249, 0.92);
  text-shadow: 0 1px 4px rgba(2, 6, 23, 0.42);
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hero-actions p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions .button {
  min-width: 180px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.section {
  padding: 64px 0;
}


.section-heading-spacer {
  height: 2.5rem;
}

.template-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 1000px) {
  .template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .template-grid {
    grid-template-columns: 1fr;
  }
}

.template-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px;
}

.template-card h3 {
  margin-top: 0;
}

.section-intro {
  margin-bottom: 1rem;
  color: #4b5563;
  max-width: 760px;
}

.case-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.case-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.case-image {
  display: block;
  width: calc(100% - 32px);
  height: 240px;
  object-fit: cover;
  margin: 16px 16px 0 16px;
  border-radius: 8px;
}

.case-card h3,
.case-card p {
  padding-left: 16px;
  padding-right: 16px;
}

.case-card h3 {
  margin-top: 14px;
  margin-bottom: 8px;
}

.case-card .case-title-link {
  color: inherit;
  text-decoration: none;
}

.case-card .case-title-link:hover,
.case-card .case-title-link:focus {
  text-decoration: underline;
}

.case-card h3 .anchorjs-link {
  display: none !important;
}

.case-card .case-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  color: #2563eb;
  text-decoration: none;
  vertical-align: middle;
}

.case-card .case-title-icon:hover,
.case-card .case-title-icon:focus {
  color: #1d4ed8;
}

.case-card p {
  margin-top: 0;
  margin-bottom: 16px;
}

.case-card .case-read-more {
  display: inline-block;
  margin-top: 10px;
}

.selected-work-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1rem;
}

.case-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(50% - 8px);
  gap: 16px;
  overflow: hidden;
  scroll-behavior: smooth;
  width: 100%;
}

.case-carousel-track .case-card {
  min-width: 0;
}

.carousel-button {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #1f2937;
  font-size: 1.8rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.carousel-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

body.theme-dark .carousel-button {
  background: #1f2937;
  color: #e5e7eb;
  border: 1px solid #374151;
}



@media (max-width: 900px) {
  .case-carousel-track {
    grid-auto-columns: 100%;
  }
}

.tool-list {
  margin-top: 1rem;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.contact-form {
  margin-top: 1rem;
  max-width: 640px;
  display: grid;
  gap: 10px;
}

.contact-form-embed {
  margin-top: 1rem;
  width: 100%;
  max-width: 760px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.contact-form-embed iframe {
  display: block;
  width: 100%;
  height: clamp(900px, 82vh, 1260px);
  border: 0;
}

@media (max-width: 768px) {
  .contact-form-embed iframe {
    height: min(78vh, 980px);
  }
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font: inherit;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;   /* less rounded */
  background: #2563eb;
  color: #ffffff;
  padding: 12px 20px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.30);
}

.button-secondary {
  background: #2563eb;
  border: none;
  color: #ffffff;
}

.site-footer,
.footer {
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 18px 0;
  color: #6b7280;
  font-size: 0.95rem;
}

main.content {
  max-width: none;
}

body.theme-dark {
  color: #e5e7eb;
  background: #0f172a;
}

body.theme-dark .site-header,
body.theme-dark .navbar {
  background: #111827;
  border-bottom: 1px solid #374151;
}

body.theme-dark .brand,
body.theme-dark .navbar-brand,
body.theme-dark .navbar .nav-link,
body.theme-dark .navbar .dropdown-item,
body.theme-dark .navbar a {
  color: #e5e7eb;
}

body.theme-dark .navbar .nav-link.active {
  color: #ffffff;
}

body.theme-dark .theme-toggle-link {
  border: 1px solid #4b5563;
}

body.theme-dark .navbar .navbar-nav.ms-auto .nav-link[aria-label] {
  border: 1px solid #4b5563;
}

body.theme-dark .navbar #quarto-search .aa-DetachedSearchButton {
  border: 1px solid #4b5563;
  background: #111827;
}

body.theme-dark .navbar #quarto-search .aa-DetachedSearchButton .aa-DetachedSearchButtonIcon,
body.theme-dark .navbar #quarto-search .aa-DetachedSearchButton .aa-SubmitIcon {
  color: #e5e7eb;
}

body.theme-dark .navbar #quarto-search .aa-DetachedSearchButton svg {
  color: #e5e7eb;
  fill: currentColor;
}

body.theme-dark .template-card {
  background: #1f2937;
  border: 1px solid #374151;
}

body.theme-dark .case-card,
body.theme-dark .tool-list {
  background: #1f2937;
  border: 1px solid #374151;
}

body.theme-dark .case-card .case-title-icon {
  color: #93c5fd;
}

body.theme-dark .case-card .case-title-icon:hover,
body.theme-dark .case-card .case-title-icon:focus {
  color: #bfdbfe;
}

body.theme-dark .section-intro {
  color: #cbd5e1;
}

body.theme-dark .contact-form input,
body.theme-dark .contact-form textarea {
  background: #111827;
  color: #e5e7eb;
  border: 1px solid #4b5563;
}

body.theme-dark .contact-form-embed {
  background: #1f2937;
  border: 1px solid #374151;
}

body.theme-dark .site-footer,
body.theme-dark .footer {
  border-top: 1px solid #374151;
  background: #111827;
  color: #9ca3af;
}

body.theme-dark .footer .nav-footer,
body.theme-dark .footer .nav-footer p,
body.theme-dark .footer .nav-footer a,
body.theme-dark .footer .nav-footer-left,
body.theme-dark .footer .nav-footer-center,
body.theme-dark .footer .nav-footer-right {
  color: #9ca3af;
}

body.theme-dark .footer .nav-footer a:hover,
body.theme-dark .footer .nav-footer a:focus {
  color: #e5e7eb;
}

.hero-media {
  background-image: url("images/New_banner_image-1536.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-banner {
  display: none;
}


.landing-page #quarto-content {
  grid-template-columns:
    [screen-start] minmax(24px, 1fr)
    [page-start] minmax(0, 1320px)
    [page-end] minmax(24px, 1fr)
    [screen-end] !important;
}

.landing-page main.content {
  grid-column: page-start / page-end !important;
}

.case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.case-card p:last-child {
  margin-top: auto;
}

.carousel-button {
  width: 44px;
  height: 74px;
  font-size: 24px;
}

.anchorjs-link {
  display: none !important;
}

