/* Independent Diamond Com motion preview. All fonts and visual assets stay local. */
:root {
  --accent-color: #087eb9;
  --nav-hover-color: #087eb9;
  --nav-dropdown-hover-color: #087eb9;
  --heading-color: #17344c;
  --default-color: #33495d;
  --background-color: transparent;
  --surface-color: rgba(255, 255, 255, 0.84);
  --contrast-color: #fff;
  --default-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nav-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  color: #30465a;
  background:
    radial-gradient(ellipse at 79% 18%, rgba(197, 239, 242, 0.42), transparent 38%),
    radial-gradient(ellipse at 18% 79%, rgba(221, 226, 249, 0.28), transparent 44%),
    linear-gradient(135deg, #fbfdff, #f4fafc 60%, #f8f8ff);
  font-family: var(--default-font);
  overflow-x: hidden;
}

body > main,
body > footer {
  position: relative;
  z-index: 1;
  background: transparent;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  letter-spacing: -0.025em;
}

a {
  text-underline-offset: 0.18em;
}

.v2-ribbon-scene {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  mix-blend-mode: normal;
}

.v2-ribbon-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #f1f1f3;
}

.header {
  top: 16px;
  padding: 0;
  background: transparent;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.header > .container-fluid {
  width: min(1220px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  padding: 8px 16px 8px 22px;
  border: 1px solid rgba(72, 121, 153, 0.13);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 36px rgba(28, 61, 87, 0.09);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.header .logo {
  min-width: max-content;
  gap: 8px;
  margin-right: 0 !important;
}

.header .logo .brand-name {
  color: #17344c;
}

.header .logo img.brand-mark {
  display: block;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  max-width: 36px;
  margin: 0;
  object-fit: contain;
}

@media (max-width: 420px) {
  .header .logo img.brand-mark {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    max-width: 28px;
  }
}

.header .navmenu a,
.header .mobile-nav-toggle {
  color: #29465d;
}

.header .navmenu a:hover,
.header .navmenu .active,
.header .mobile-nav-toggle:hover {
  color: var(--accent-color);
}

.header .btn-getstarted {
  color: #fff;
  background: linear-gradient(135deg, #168eca, #0873af);
  border-radius: 999px;
  box-shadow: 0 7px 18px rgba(8, 126, 185, 0.18);
  white-space: nowrap;
}

.header .btn-getstarted:hover,
.hero .hero-actions .btn-getstarted:hover,
.contact .php-email-form button[type="submit"]:not(:disabled):hover {
  color: #fff;
  background: #075d8d;
}

body.mobile-nav-active .header > .container-fluid {
  background: rgba(255, 255, 255, 0.97);
}

.skip-link {
  z-index: 10002;
}

main#main {
  background: transparent;
}

section.section:not(.accent-background) {
  background: transparent !important;
}

.section {
  padding-top: clamp(62px, 7vw, 96px);
  padding-bottom: clamp(62px, 7vw, 96px);
}

.section-title {
  max-width: 850px;
  margin: 0 auto;
  padding-bottom: clamp(34px, 4vw, 58px);
}

.section-title h2 {
  color: #17344c;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  line-height: 1.15;
}

.section-title h2::before,
.section-title h2::after {
  width: 34px;
  background: #56b8d0;
  opacity: 0.7;
}

.section-title p {
  max-width: 690px;
  margin: 12px auto 0;
  color: #586f82;
  line-height: 1.75;
}

#hero.hero {
  --default-color: #30465a;
  --background-color: transparent;
  --heading-color: #15344d;
  --contrast-color: #fff;
  min-height: max(740px, 100svh);
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(172px, 26vh, 258px) 0 clamp(74px, 12vh, 142px);
  overflow: clip;
  background: linear-gradient(96deg, rgba(249, 252, 255, 0.08) 0%, rgba(248, 252, 254, 0.035) 47%, rgba(248, 250, 255, 0) 100%);
}

#hero.hero > img,
#hero.hero::before {
  display: none;
}

#hero.hero > .container {
  z-index: 2;
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

#hero.hero .row > [class*="col-"] {
  max-width: 790px;
}

#hero.hero h1 {
  max-width: 760px;
  margin: 0;
  color: #14334c;
  font-size: clamp(2.55rem, 5.3vw, 4.55rem);
  font-weight: 700;
  line-height: 1.04;
  text-wrap: balance;
}

#hero.hero p {
  max-width: 650px;
  margin: 20px 0 0;
  color: #425c70;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.72;
}

#hero .hero-actions {
  gap: 14px 22px;
  margin-top: 28px;
}

#hero .hero-actions .btn-getstarted,
#articles .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 23px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #138cc4, #0871a9);
  box-shadow: 0 12px 26px rgba(14, 119, 169, 0.18);
}

#hero .hero-actions .btn-getstarted:hover,
#hero .hero-actions .btn-getstarted:focus-visible,
#hero .hero-actions .btn-getstarted:active,
#articles .btn-primary:hover,
#articles .btn-primary:focus-visible,
#articles .btn-primary:active {
  color: #fff;
  background: #075d8d;
}

#hero .hero-actions .btn-getstarted:focus-visible,
#articles .btn-primary:focus-visible {
  outline: 3px solid #087eb9;
  outline-offset: 3px;
}

#hero .hero-actions .hero-contact-link {
  color: #1a587e;
  font-weight: 600;
  text-decoration-color: rgba(26, 88, 126, 0.45);
}

.page-title {
  color: #30465a;
  background:
    radial-gradient(ellipse at 76% 20%, rgba(194, 238, 243, 0.42), transparent 45%),
    linear-gradient(140deg, rgba(251, 253, 255, 0.96), rgba(244, 249, 253, 0.86));
}

.page-title .heading {
  padding: 138px 0 34px;
}

.page-title .heading h1 {
  max-width: 920px;
  margin: 0 auto;
  color: #17344c;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.1;
  text-wrap: balance;
}

.page-title .heading p {
  max-width: 790px;
  margin: 16px auto 0;
  color: #526a7c;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

.breadcrumbs {
  border-top: 1px solid rgba(82, 128, 157, 0.11);
  background: rgba(255, 255, 255, 0.42);
}

.breadcrumbs a,
.breadcrumbs li {
  color: #557083;
}

.service-item,
.post-box,
.faq-item,
.info-item,
.about .icon-box,
.contact .php-email-form,
.client-logo {
  border: 1px solid rgba(91, 134, 162, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(38, 72, 96, 0.065);
}

.service-item,
.post-box,
.about .icon-box {
  transition: transform 0.35s cubic-bezier(0.2, 0.6, 0.25, 1), box-shadow 0.35s ease;
}

.service-item:hover,
.post-box:hover,
.about .icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 23px 52px rgba(38, 72, 96, 0.11);
}

.service-item .icon i,
.about .icon-box .icon i {
  color: #0b86bc;
}

.faq .faq-item {
  margin-bottom: 13px;
  padding: 21px 24px;
}

.faq .faq-item h3 {
  margin: 0;
  font-size: 1.08rem;
}

.faq .faq-item .faq-question {
  gap: 11px;
  color: #24425a;
}

.faq .faq-item .faq-content {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.6, 0.25, 1), opacity 0.35s ease;
}

.faq .faq-item .faq-content[hidden] {
  display: none !important;
}

.faq .faq-item .faq-content.is-collapsing {
  grid-template-rows: 0fr;
  opacity: 0;
}

.faq .faq-item .faq-content-inner {
  min-height: 0;
  overflow: hidden;
}

.faq .faq-item .faq-content p {
  margin: 14px 0 0;
  color: #536a7b;
  line-height: 1.75;
}

.faq .faq-toggle {
  color: #6d8798;
  transition: transform 0.35s ease;
}

.faq .faq-item.faq-active .faq-toggle {
  transform: rotate(90deg);
}

.blog-details .content {
  padding: clamp(24px, 5vw, 58px);
  border: 1px solid rgba(91, 134, 162, 0.13);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 54px rgba(38, 72, 96, 0.06);
}

.blog-details .content p,
.blog-details .content li {
  color: #435b6f;
  line-height: 1.85;
}

.blog-details .content h2,
.blog-details .content h3 {
  color: #17344c;
}

.contact .php-email-form {
  padding: clamp(22px, 4vw, 34px);
}

.contact .php-email-form .preview-note {
  margin: 0 0 22px;
  padding: 13px 16px;
  border: 1px solid rgba(8, 126, 185, 0.18);
  border-radius: 12px;
  color: #285875;
  background: rgba(232, 247, 252, 0.92);
  font-size: 0.94rem;
  line-height: 1.55;
}

.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form textarea {
  border-radius: 10px;
  color: #2d465b;
  background: rgba(248, 251, 253, 0.94);
}

.contact .php-email-form input::placeholder,
.contact .php-email-form textarea::placeholder {
  color: #718797;
}

.contact .php-email-form button[type="submit"] {
  border-radius: 999px;
}

.contact .php-email-form button[type="submit"]:disabled {
  color: #fff;
  background: #8298a7;
  cursor: not-allowed;
  opacity: 0.78;
}

.footer {
  border-top: 1px solid rgba(82, 128, 157, 0.13);
  background: rgba(246, 250, 253, 0.82);
  backdrop-filter: blur(12px);
}

.footer a,
.footer .sitename {
  color: #28465f;
}

.v2-motion-toggle {
  position: fixed;
  z-index: 10001;
  right: 18px;
  bottom: 16px;
  max-width: min(90vw, 300px);
  padding: 9px 14px;
  border: 1px solid rgba(69, 112, 139, 0.2);
  border-radius: 999px;
  color: #28465f;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 26px rgba(31, 66, 91, 0.16);
  font: 600 0.82rem/1.2 var(--default-font);
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.v2-motion-toggle[hidden] {
  display: none;
}

.v2-motion-toggle:disabled {
  cursor: default;
  opacity: 0.88;
}

.scroll-top.active {
  bottom: 72px;
}

.v2-motion-toggle:hover:not(:disabled) {
  color: #075d8d;
  border-color: rgba(8, 126, 185, 0.45);
}

.v2-motion-ready .v2-reveal {
  opacity: 0;
  transform: translateY(46px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.6, 0.25, 1),
    transform 0.8s cubic-bezier(0.2, 0.6, 0.25, 1);
  transition-delay: var(--v2-reveal-delay, 0ms);
  will-change: opacity, transform;
}

.v2-motion-ready .v2-reveal.is-visible,
.v2-motion-ready.v2-motion-paused .v2-reveal {
  opacity: 1;
  transform: none;
}

.v2-motion-ready .v2-typewriting .v2-char {
  opacity: 0;
  animation: v2-char-appear 0.22s ease-out forwards;
  animation-delay: var(--v2-char-delay, 0ms);
}

.v2-motion-ready.v2-motion-paused .v2-char,
.v2-motion-ready .v2-stage-finished .v2-char {
  opacity: 1;
  animation: none;
}

@keyframes v2-char-appear {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.v2-motion-ready.v2-motion-paused *,
.v2-motion-ready.v2-motion-paused *::before,
.v2-motion-ready.v2-motion-paused *::after {
  scroll-behavior: auto !important;
  animation-duration: 0s !important;
  animation-delay: 0s !important;
  transition-duration: 0s !important;
  transition-delay: 0s !important;
}

@media (max-width: 1199px) {
  .header {
    top: 10px;
  }

  .header > .container-fluid {
    width: calc(100% - 20px);
    min-height: 62px;
    padding-inline: 16px;
    border-radius: 19px;
  }

  .header .navmenu > ul {
    position: absolute;
    inset: auto;
    top: calc(100% + 10px);
    right: 0;
    bottom: auto;
    left: 0;
    z-index: 1002;
    width: auto;
    max-height: calc(100vh - 108px);
    max-height: calc(100dvh - 108px);
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: visible;
    transform: none;
    border: 1px solid rgba(69, 112, 139, 0.15);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 50px rgba(31, 66, 91, 0.16);
  }

  .header .navmenu,
  body.mobile-nav-active .header .navmenu {
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    background: transparent;
    transition: none;
  }

  .header .navmenu > ul {
    display: none;
  }

  body.mobile-nav-active .header .navmenu > ul {
    display: block;
  }

  .header .mobile-nav-toggle,
  body.mobile-nav-active .header .mobile-nav-toggle {
    position: relative;
    top: auto;
    right: auto;
    z-index: 1003;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border-radius: 12px;
    color: #17344c;
    font-size: 26px;
    line-height: 1;
  }

  .header .mobile-nav-toggle:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
  }

  .header .navmenu a {
    color: #29465d;
  }

  .header .mobile-nav-toggle {
    color: #17344c;
  }

  .page-title .heading {
    padding-top: 118px;
  }
}

@media (max-width: 767px) {
  #hero.hero {
    min-height: max(720px, 94svh);
    padding-top: 180px;
    padding-bottom: 76px;
  }

  #hero.hero > .container {
    width: min(100% - 30px, 680px);
  }

  #hero.hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.25rem);
  }

  #hero.hero p {
    margin-top: 16px;
    font-size: 1rem;
  }

  #hero .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 23px;
  }

  .header .btn-getstarted {
    display: none;
  }

  .faq .faq-item {
    padding: 18px;
  }

  .v2-motion-toggle {
    right: 10px;
    bottom: 10px;
    font-size: 0.76rem;
  }

  .scroll-top.active {
    right: 10px;
    bottom: 66px;
  }
}

@media (max-width: 380px) {
  .header > .container-fluid {
    width: calc(100% - 12px);
    padding-inline: 11px;
  }

  .header .logo .brand-name {
    font-size: 17px;
  }

  #hero.hero h1 {
    font-size: 2.18rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
