/* ==========================================================================
   SecurEnds — Global Styles
   Reset, variables, typography, buttons, header, footer, utilities
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Reset / Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: CerebriSans, Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.74;
  color: #696969;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: #696969;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

a:hover,
a:focus {
  color: #57c4be;
}

/* Layout lists (nav, etc.) — no bullets by default */
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/*
  Content lists inside main — restore bullets/numbers.
  Keep decorative lists (custom markers / flex layouts) excluded.
*/
main ul:not(.navbar-nav):not(.dropdown-menu):not(.footer-quick-links):not(.footer-legal):not(.footer-social):not(.uar-check-list):not(.uar-point-list):not(.uar-compare-list):not(.pillar-list):not(.shift-list):not(.uar-key-dots):not(.snow-benefit-list),
.accordion-body ul {
  list-style: disc outside;
  padding-left: 1.5rem;
  margin: 0 0 1em;
}

main ol:not([class*="carousel"]):not(.breadcrumb),
.accordion-body ol {
  list-style: decimal outside;
  padding-left: 1.5rem;
  margin: 0 0 1em;
}

main ul:not(.navbar-nav):not(.dropdown-menu):not(.footer-quick-links):not(.footer-legal):not(.footer-social):not(.uar-check-list):not(.uar-point-list):not(.uar-compare-list):not(.pillar-list):not(.shift-list):not(.snow-benefit-list) > li,
main ol > li,
.accordion-body ul > li,
.accordion-body ol > li {
  margin-bottom: 0.45em;
  padding-left: 0.15rem;
}

main ul:not(.navbar-nav):not(.dropdown-menu):not(.footer-quick-links):not(.footer-legal):not(.footer-social):not(.uar-check-list):not(.uar-point-list):not(.uar-compare-list):not(.pillar-list):not(.shift-list):not(.snow-benefit-list) > li:last-child,
main ol > li:last-child,
.accordion-body ul > li:last-child,
.accordion-body ol > li:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  font-family: CerebriSans, Helvetica, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.42;
  color: #333333;
}

p {
  margin-top: 0;
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
:root {
  --se-plum: #882b64;
  --se-plum-alt: #8a2b64;
  --se-plum-deep: #7c2b5f;
  --se-teal: #57c4be;
  --se-teal-dark: #19535c;
  --se-teal-mid: #1a535c;
  --se-gold: #ffca3a;
  --se-gold-hover: #efb823;
  --se-black: #1d1a1a;
  --se-gray: #696969;
  --se-gray-light: #f6f8fa;
  --se-border: #d9d9d9;
  --se-white: #ffffff;
  --se-header-height: 80px;
  --se-container: 1140px;
  --se-focus: #57c4be;
}

/* --------------------------------------------------------------------------
   Accessibility
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--se-plum);
  color: var(--se-white);
  font-weight: 600;
  border-radius: 4px;
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--se-gold);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--se-focus);
  outline-offset: 2px;
}

.visually-hidden,
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

::selection {
  color: #fff;
  background-color: var(--se-teal);
}

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.fw-400 {
  font-weight: 400 !important;
}

.fw-700 {
  font-weight: 700 !important;
}

.text-plum {
  color: var(--se-plum-alt) !important;
}

.text-teal {
  color: var(--se-teal) !important;
}

.text-white-se {
  color: var(--se-white) !important;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background-color: var(--se-gold) !important;
  color: #000 !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  border: none;
  border-radius: 50px !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.btn-demo:hover,
.btn-demo:focus {
  background-color: var(--se-gold-hover) !important;
  color: #000 !important;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 19px 26px;
  background-color: var(--se-white);
  color: #000 !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 18px;
  border: none;
  border-radius: 32px;
  text-decoration: none !important;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-cta-white:hover,
.btn-cta-white:focus {
  background-color: #f5f5f5;
  color: #000 !important;
}

.btn-submit {
  display: inline-block;
  width: 100%;
  padding: 12px 24px;
  background-color: var(--se-teal);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-submit:hover,
.btn-submit:focus {
  background-color: #45b0aa;
  color: #fff !important;
}

/* --------------------------------------------------------------------------
   Layout utilities
   -------------------------------------------------------------------------- */
.container-se {
  width: 100%;
  max-width: var(--se-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.section-pad {
  padding-top: 60px;
  padding-bottom: 60px;
}

.section-pad-sm {
  padding-top: 40px;
  padding-bottom: 40px;
}

.max-639 {
  max-width: 639px;
  margin-left: auto;
  margin-right: auto;
}

.max-699 {
  max-width: 699px;
  margin-left: auto;
  margin-right: auto;
}

.max-860 {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
.tm-animation {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.tm-animation.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .tm-animation {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* --------------------------------------------------------------------------
   Header / Navbar
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: var(--se-white);
  border-bottom: 1px solid #ccc;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.site-header .navbar {
  min-height: var(--se-header-height);
  padding-top: 0;
  padding-bottom: 0;
}

.site-header .navbar-brand {
  padding-top: 15px;
  padding-bottom: 15px;
  margin-right: 1.5rem;
}

.site-header .navbar-brand img {
  width: 230px;
  height: auto;
  max-height: 45px;
}

.site-header.is-scrolled .navbar-brand img {
  width: 180px;
}

.site-header .nav-link {
  color: #333 !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.75rem 0.9rem !important;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus,
.site-header .nav-link.show {
  color: var(--se-plum) !important;
}

.site-header .dropdown-toggle::after {
  margin-left: 0.35em;
  vertical-align: 0.15em;
}

.site-header .dropdown-menu {
  border: none;
  border-bottom: 4px solid var(--se-plum);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
  min-width: 260px;
}

.site-header .dropdown-item {
  font-size: 14px;
  color: #333;
  padding: 8px 20px;
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus {
  background-color: #f8f8f8;
  color: var(--se-plum);
}

/* --------------------------------------------------------------------------
   Mobile header bar + offcanvas (≤991.98px only)
   Desktop nav (≥992px) unchanged above
   -------------------------------------------------------------------------- */
.header-mobile-actions {
  gap: 10px;
}

.btn-demo-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background-color: #802b6a;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 6px;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.btn-demo-mobile:hover,
.btn-demo-mobile:focus {
  background-color: #6a2458;
  color: #fff !important;
}

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background-color: #57c4be;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background-color: #45b0aa;
  outline: 2px solid var(--se-focus);
  outline-offset: 2px;
}

.mobile-menu-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.mobile-menu-toggle-bars span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hamburger → X while offcanvas open */
body.mobile-nav-open .mobile-menu-toggle-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.mobile-nav-open .mobile-menu-toggle-bars span:nth-child(2) {
  opacity: 0;
}

body.mobile-nav-open .mobile-menu-toggle-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Offcanvas panel */
.mobile-nav-offcanvas {
  --bs-offcanvas-width: min(86vw, 360px);
  border: none;
}

.mobile-nav-offcanvas .offcanvas-backdrop,
.offcanvas-backdrop {
  background-color: rgba(0, 0, 0, 0.55);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between !important;
  gap: 12px;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 14px 18px;
  min-height: 72px;
}

.mobile-nav-logo {
  padding: 0;
  margin: 0;
}

.mobile-nav-logo img {
  width: 150px;
  height: auto;
  max-height: 36px;
}

.mobile-nav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  order: 0;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: 0 0 0 auto;
  padding: 0;
  border: none;
  background: transparent;
  color: #1d1a1a;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
}

.mobile-nav-close:hover,
.mobile-nav-close:focus {
  color: var(--se-plum);
  outline: 2px solid var(--se-focus);
  outline-offset: 2px;
}

.mobile-nav-body {
  background-color: #8d2962;
  overflow-y: auto;
}

.mobile-nav-menu .accordion-item,
.mobile-nav-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.mobile-nav-link {
  background: transparent !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  box-shadow: none !important;
  padding: 18px 20px !important;
  gap: 12px;
}

.mobile-nav-link:not(.collapsed),
.mobile-nav-link:hover,
.mobile-nav-link:focus {
  background: rgba(0, 0, 0, 0.12) !important;
  color: #fff !important;
}

.mobile-nav-link::after {
  filter: brightness(0) invert(1);
  width: 1rem;
  height: 1rem;
  background-size: 1rem;
  margin-left: auto;
}

.mobile-nav-sub {
  padding: 0 12px 14px 28px !important;
  background: rgba(0, 0, 0, 0.15);
}

.mobile-nav-sub a {
  display: block;
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  padding: 10px 8px;
  text-decoration: none;
  border-radius: 4px;
}

.mobile-nav-sub a:hover,
.mobile-nav-sub a:focus {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
}

.mobile-nav-item--cta {
  border-bottom: none;
}

.mobile-nav-demo {
  display: block;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 18px 20px;
}

.mobile-nav-demo:hover,
.mobile-nav-demo:focus {
  background: rgba(0, 0, 0, 0.12);
  color: #fff !important;
}

body.mobile-nav-open {
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .site-header .navbar-brand img {
    width: 150px;
  }

  .site-header.is-scrolled .navbar-brand img {
    width: 140px;
  }

  /* Hide Bootstrap collapse desktop nav on mobile — offcanvas is used instead */
  .site-header #primaryNav {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .header-mobile-actions,
  .mobile-nav-offcanvas {
    display: none !important;
  }
}

@media (max-width: 374.98px) {
  .btn-demo-mobile {
    padding: 9px 12px;
    font-size: 11px;
  }

  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
  }

  .site-header .navbar-brand img {
    width: 120px;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--se-black);
  color: #fff;
  padding-top: 40px;
  padding-bottom: 20px;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--se-teal);
}

.footer-logo {
  max-width: 200px;
  margin-bottom: 31px;
}

.footer-address,
.footer-phone {
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-contact-link {
  color: var(--se-teal) !important;
  text-decoration: underline !important;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--se-teal);
  color: #fff !important;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover,
.footer-social a:focus {
  background-color: #45b0aa;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-widget-title {
  color: var(--se-teal) !important;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.footer-company-link {
  color: #fff !important;
  font-size: 15px;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 8px;
}

.footer-company-blurb {
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-quick-links li {
  margin-bottom: 6px;
}

.footer-quick-links a {
  color: #fff !important;
  font-size: 14px;
  line-height: 1.5;
}

.footer-quick-links a:hover {
  color: var(--se-teal) !important;
}

.footer-form-subtitle {
  color: var(--se-teal) !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 16px;
}

.footer-form .form-control {
  background-color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 14px;
  color: #333;
  margin-bottom: 12px;
}

.footer-form .form-control:focus {
  color: #000;
  box-shadow: 0 0 0 2px var(--se-teal);
}

.footer-form .form-label,
.footer-form .quiz-label {
  color: #fff;
  font-size: 14px;
  margin-bottom: 6px;
}

.footer-divider {
  border: 0;
  border-top: 1px solid #4f4e4e;
  margin: 24px 0 16px;
}

.footer-bottom {
  color: #fff;
  font-size: 14px;
}

.footer-bottom p {
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.footer-legal a {
  color: #fff !important;
  font-size: 14px;
}

.form-status--success {
  color: #57c4be;
  font-size: 13px;
}

.form-status--error {
  color: #ff6b6b;
  font-size: 13px;
}

@media (max-width: 767.98px) {
  .footer-legal {
    justify-content: flex-start;
    margin-top: 16px;
  }

  .footer-bottom-row {
    flex-direction: column;
  }
}

/* --------------------------------------------------------------------------
   Site-wide heading weight (all pages) — keep buttons / FA icons unchanged
   -------------------------------------------------------------------------- */
.hero-title,
.section-title,
.policy-title,
.architecture-title,
.flow-title,
.pillar-title,
.usecase-title,
.shift-title,
.footer-widget-title,
.iga-banner-title,
.iga-section-title,
.iga-split-title,
.iga-cta-title,
.iga-intro-tagline,
.iga-intro-tagline strong,
.iga-feature-card h3,
.uar-banner-title,
.uar-section-title,
.uar-demo-title,
.uar-benefit h3,
.uar-faq .uar-section-title,
.snow-banner-title,
.snow-card-title,
.snow-benefits-title,
.prompt-card h3,
.aws-card h3,
.uac-step-card h3,
.page-uac .hero-section .hero-title,
.nexus-global-wrapper h1,
.nexus-global-wrapper h2,
.nexus-global-wrapper h3,
.nexus-global-wrapper .hero-title,
.nexus-global-wrapper .section-title,
.nexus-global-wrapper .policy-title,
.nexus-global-wrapper .architecture-title,
.nexus-global-wrapper .flow-title,
.nexus-global-wrapper .pillar-title,
.nexus-global-wrapper .usecase-title,
.nexus-global-wrapper .shift-title {
  font-weight: 500 !important;
}
