:root {
  --nex-primary: #0074B7;
  --nex-primary-dark: #003B73;
  --nex-secondary: #60A3D9;
  --nex-accent: #BFD7ED;
  --nex-light: #f5f9ff;
  --nex-white: #ffffff;
  --nex-transition: all 0.3s ease;
}

/* Custom styles */
html:has(.nex-web-template) {
  /* Reset styles */
  /* Custom styles */
  /* Header section */
  /* Navbar */
  /* Main section */
  /* Hero section */
  /* Customized card styles */
  /* Footer section */
  /* Hide the OOTB footer */
}
html:has(.nex-web-template) a:not(.skip-to-content) a,
html:has(.nex-web-template) p,
html:has(.nex-web-template) h1,
html:has(.nex-web-template) h2,
html:has(.nex-web-template) h3,
html:has(.nex-web-template) h4 {
  all: unset;
}
html:has(.nex-web-template) h1,
html:has(.nex-web-template) h2,
html:has(.nex-web-template) h3,
html:has(.nex-web-template) h4 {
  display: block;
}
html:has(.nex-web-template) p {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
}
html:has(.nex-web-template) a:hover {
  text-decoration: none;
  cursor: pointer;
}
html:has(.nex-web-template) .nex-styles {
  all: unset;
  display: revert;
  box-sizing: border-box;
  font-family: inherit;
}
html:has(.nex-web-template) * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
html:has(.nex-web-template) body {
  background-color: var(--nex-light);
  color: #333;
  line-height: 1.6;
}
html:has(.nex-web-template) .container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
html:has(.nex-web-template) .nex-header {
  background: linear-gradient(135deg, var(--nex-primary) 0%, var(--nex-primary-dark) 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 8px 0;
}
html:has(.nex-web-template) .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}
html:has(.nex-web-template) .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--nex-white);
  text-decoration: none;
}
html:has(.nex-web-template) .logo svg {
  height: 32px;
  width: auto;
}
html:has(.nex-web-template) .nex-header h1.siteTitle {
  font-size: 24px !important;
  font-weight: 600 !important;
  letter-spacing: -0.5px;
  color: var(--nex-white) !important;
}
html:has(.nex-web-template) .static-top.navbar .menu-bar > .navbar-nav > li > a:hover,
html:has(.nex-web-template) .static-top.navbar .menu-bar > .navbar-nav > li > a:focus {
  background: unset;
  text-decoration: none !important;
}
html:has(.nex-web-template) #navbar nav {
  margin-left: 0 !important;
  width: 100%;
}
html:has(.nex-web-template) ul.navbar-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
html:has(.nex-web-template) .nav-item .dropdown-toggle::after {
  display: none;
}
html:has(.nex-web-template) .navbar-dark .navbar-nav .show.dropdown-menu > li > a:hover {
  background-color: initial !important;
}
html:has(.nex-web-template) a:not(.btn):hover {
  text-decoration: none !important;
}
html:has(.nex-web-template) .navbar-nav .show.dropdown-menu > li > a:not(:hover) {
  padding: 3px 12px !important;
}
html:has(.nex-web-template) nav a {
  color: var(--nex-white) !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px !important;
  transition: var(--nex-transition);
  padding: 6px 15px !important;
  position: relative;
}
html:has(.nex-web-template) nav li.weblink a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--nex-white);
  transition: var(--nex-transition);
}
html:has(.nex-web-template) nav li.weblink a:hover:after {
  width: 100% !important;
}
html:has(.nex-web-template) .nav-item.divider-vertical {
  display: none;
}
html:has(.nex-web-template) .navbar-nav span.username.nex-user-menu:before {
  content: url("/nex_usericon.svg");
}
html:has(.nex-web-template) .nex-user-menu {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--nex-transition);
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
}
html:has(.nex-web-template) .nex-user-menu:hover {
  background-color: rgba(255, 255, 255, 0.3);
}
html:has(.nex-web-template) .nex-page-content {
  min-height: calc(100vh - 380px);
}
html:has(.nex-web-template) .hero {
  background: linear-gradient(rgba(0, 59, 115, 0.8), rgba(0, 116, 183, 0.7));
  padding: 60px 0;
  color: var(--nex-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
html:has(.nex-web-template) .hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='wave' patternUnits='userSpaceOnUse' width='200' height='20' patternTransform='rotate(0)'%3E%3Cpath d='M0,10 C50,0 50,20 100,10 C150,0 150,20 200,10' stroke='%23ffffff' stroke-width='1' fill='none' opacity='0.2'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23wave)'/%3E%3C/svg%3E");
  opacity: 0.4;
}
html:has(.nex-web-template) .hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
html:has(.nex-web-template) .hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 300;
}
html:has(.nex-web-template) .hero h1 strong {
  font-weight: 600;
}
html:has(.nex-web-template) .hero p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
html:has(.nex-web-template) .cards-section {
  padding: 60px 0;
  position: relative;
}
html:has(.nex-web-template) .section-title {
  text-align: center;
  margin-bottom: 40px;
  color: var(--nex-primary-dark);
  font-weight: 300;
  font-size: 32px;
}
html:has(.nex-web-template) .cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}
html:has(.nex-web-template) .card {
  background: var(--nex-white);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
html:has(.nex-web-template) .card--nex-animate {
  transition: var(--nex-transition);
}
html:has(.nex-web-template) .card--nex-animate:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 59, 115, 0.1);
}
html:has(.nex-web-template) .card-header {
  padding: 5px 20px;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  position: relative;
}
html:has(.nex-web-template) .card-header:before {
  background: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='wave' patternUnits='userSpaceOnUse' width='200' height='20' patternTransform='rotate(0)'%3E%3Cpath d='M0,10 C50,0 50,20 100,10 C150,0 150,20 200,10' stroke='%23ffffff' stroke-width='1' fill='none' opacity='0.2'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23wave)'/%3E%3C/svg%3E");
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}
html:has(.nex-web-template) .card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
html:has(.nex-web-template) .card--nex-home .card-header {
  padding: 15px 20px;
  background: var(--nex-primary);
  color: white;
}
html:has(.nex-web-template) .card--nex-form .card-header {
  padding: 5px 20px;
  text-align: left;
  letter-spacing: 1px;
  font-size: 18px;
  font-weight: 600;
}
html:has(.nex-web-template) .request-button {
  display: block;
  background: var(--nex-white);
  color: var(--nex-primary);
  text-decoration: none;
  padding: 12px 10px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  transition: var(--nex-transition);
  border: 1px solid var(--nex-primary);
}
html:has(.nex-web-template) .request-button:hover {
  background: var(--nex-primary);
  color: var(--nex-white);
}
html:has(.nex-web-template) .droplet {
  position: relative;
  width: 60px;
  height: 60px;
  background: rgba(96, 163, 217, 0.2);
  border-radius: 80% 0 55% 50%/55% 0 80% 50%;
  transform: rotate(-45deg);
  margin: 20px auto;
  animation: dropletPulse 3s infinite ease-in-out;
  box-shadow: inset 10px 10px 10px rgba(255, 255, 255, 0.3), 15px 25px 10px rgba(0, 0, 0, 0.1);
}
@keyframes dropletPulse {
  0%, 100% {
    transform: rotate(-45deg) scale(1);
  }
  50% {
    transform: rotate(-45deg) scale(1.1);
  }
}
html:has(.nex-web-template) footer {
  display: none;
}
html:has(.nex-web-template) #nex-footer {
  background: var(--nex-primary-dark);
  color: var(--nex-white);
  padding: 40px 0 20px;
  display: block;
}
html:has(.nex-web-template) .footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
html:has(.nex-web-template) .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
html:has(.nex-web-template) .footer-logo svg {
  height: 28px;
  width: auto;
}
html:has(.nex-web-template) .footer-logo span {
  font-size: 20px;
  font-weight: 600;
}
html:has(.nex-web-template) .footer-tagline {
  font-style: italic;
  opacity: 0.8;
  margin-bottom: 15px;
}
html:has(.nex-web-template) .footer-links h4 {
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}
html:has(.nex-web-template) .footer-links h4:after {
  content: "";
  position: absolute;
  width: 40px;
  height: 2px;
  background: var(--nex-accent);
  bottom: -5px;
  left: 0;
}
html:has(.nex-web-template) .footer-links ul {
  list-style: none;
}
html:has(.nex-web-template) .footer-links li {
  margin-bottom: 10px;
}
html:has(.nex-web-template) .footer-links a {
  color: var(--nex-accent);
  text-decoration: none;
  transition: var(--nex-transition);
}
html:has(.nex-web-template) .footer-links a:hover {
  color: var(--nex-white);
  padding-left: 5px;
}
html:has(.nex-web-template) .copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}
@media (max-width: 768px) {
  html:has(.nex-web-template) .header-content {
    flex-direction: column;
    gap: 15px;
  }
  html:has(.nex-web-template) nav ul {
    gap: 15px;
  }
  html:has(.nex-web-template) .hero h1 {
    font-size: 32px;
  }
  html:has(.nex-web-template) .section-title {
    font-size: 26px;
  }
}

.nex-header {
  visibility: visible !important;
}