/**
* Template Name: Dewi
* Template URL: https://bootstrapmade.com/dewi-free-multi-purpose-html-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Inter",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #273d4e; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #1a4b77; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #e5eaee;  /* The default color of the main navmenu links */
  --nav-hover-color: #265c8b; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #326d9f; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f1f4fa;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #000910;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #28323a;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

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

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: #374957;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.index-page .header {
  --background-color: rgba(0, 0, 0, 0);
}

.organizations-page .header,
.radiologists-page .header,
.technology-page .header {
  --background-color: rgba(56, 71, 84, 0.92);
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo img.onix-logo-img {
  max-height: 55px;
  width: auto;
  margin-right: 0;
  object-fit: contain;
}

@media (max-width: 1200px) {
  .header .logo img.onix-logo-img {
    max-height: 50px;
  }
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  font-size: 13px;
  padding: 7px 25px;
  margin: 0 0 0 30px;
  border-radius: 4px;
  transition: 0.3s;
  text-transform: uppercase;
  border: 2px solid var(--contrast-color);
  background: transparent;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover,
.header .cta-btn:active {
  color: var(--contrast-color);
  background: linear-gradient(135deg, #1a4b77 0%, #265c8b 25%, #326d9f 50%, #3e7eb3 75%, #4a8fc7 100%);
  border-color: #265c8b;
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: #374957;
}

.index-page.scrolled .header {
  --background-color: rgba(21, 34, 43, 0.85);
}

.organizations-page.scrolled .header,
.radiologists-page.scrolled .header,
.technology-page.scrolled .header {
  --background-color: rgba(48, 63, 76, 0.95);
}

@media (min-width: 1200px) {
  .organizations-page .navmenu ul,
  .radiologists-page .navmenu ul,
  .technology-page .navmenu ul {
    background: rgba(39, 53, 65, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 3px 14px;
    backdrop-filter: blur(2px);
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 13px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
    text-transform: uppercase;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: color-mix(in srgb, var(--nav-color) 90%, white 15%);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .header .cta-btn {
    display: none;
  }

  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

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

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--default-font);
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 3px;
  font-size: 13px;
  line-height: 0;
  color: var(--accent-color);
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
  font-family: var(--default-font);
  font-variant-numeric: lining-nums tabular-nums;
}

.footer .footer-contact .contact-line {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.footer .footer-contact .contact-line span {
  font-family: var(--default-font);
  font-variant-numeric: lining-nums tabular-nums;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  background-color: var(--background-color);
  transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--background-color);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: linear-gradient(135deg, #1a4b77 0%, #265c8b 25%, #326d9f 50%, #3e7eb3 75%, #4a8fc7 100%);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: linear-gradient(135deg, #12375a 0%, #1f517f 25%, #2a6699 50%, #3678ae 75%, #4586bc 100%);
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: linear-gradient(135deg, #1a4b77 0%, #265c8b 25%, #326d9f 50%, #3e7eb3 75%, #4a8fc7 100%);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background: linear-gradient(135deg, #12375a 0%, #1f517f 25%, #2a6699 50%, #3678ae 75%, #4586bc 100%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background: rgba(2, 10, 18, 0.78);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 76px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

.index-page .section-title h2.services-title,
.index-page .section-title h2.contact-title,
.index-page .section-title h2.platform-operates-title,
.index-page .section-title h2.why-onix-title,
.index-page .section-title h2.infra-governance-title {
  display: inline-block;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #03045e;
  color: #03045e;
  font-size: clamp(1.65rem, 2.2vw, 2.2rem);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
  text-align: left;
  box-shadow: none;
  position: relative;
  z-index: 0;
}

.index-page .section-title {
  text-align: left;
}

.index-page .section-title h2.services-title::after,
.index-page .section-title h2.contact-title::after,
.index-page .section-title h2.platform-operates-title::after,
.index-page .section-title h2.why-onix-title::after,
.index-page .section-title h2.infra-governance-title::after {
  content: "";
  display: inline-block;
  width: 110px;
  height: 2px;
  margin: 0 0 0 12px;
  vertical-align: middle;
  background: #b7c0cb;
}



.index-page .services .section-title p.services-subtitle {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #03045e;
  font-family: var(--heading-font);
}

@media (max-width: 768px) {
  .onix-governance-section {
    padding: 36px 0;
  }

  .section-title p {
    font-size: 24px;
  }

  .index-page .section-title h2.services-title,
  .index-page .section-title h2.contact-title,
  .index-page .section-title h2.platform-operates-title,
  .index-page .section-title h2.why-onix-title,
  .index-page .section-title h2.infra-governance-title {
    padding: 0;
    border-radius: 0;
    font-size: clamp(1.65rem, 2.2vw, 2.2rem);
  }

  .index-page .section-title h2.services-title::after,
  .index-page .section-title h2.contact-title::after,
  .index-page .section-title h2.platform-operates-title::after,
  .index-page .section-title h2.why-onix-title::after,
  .index-page .section-title h2.infra-governance-title::after {
    width: 72px;
    margin-left: 10px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 40%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h2.hero-workflow-style {
  font-family: "Grenze Gotisch", serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.08;
  text-transform: none;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 0 0;
  font-size: 24px;
}

.index-page .hero .hero-content {
  width: 100%;
  max-width: 1500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-left: 24px;
  padding-right: 24px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.index-page .hero h2.hero-workflow-style {
  margin: 0;
  width: 100%;
  max-width: none;
  font-size: clamp(1.35rem, 2.15vw, 3rem);
  line-height: 1.12;
  text-align: center;
  white-space: nowrap;
  text-wrap: normal;
}

.index-page .hero .hero-keep-together {
  white-space: nowrap;
}

.index-page .hero p {
  margin: 0;
  text-align: center;
}

.index-page .hero p.hero-intro {
  width: fit-content;
  max-width: min(94vw, 96ch);
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(1.1rem, 1.24vw, 1.38rem);
  font-weight: 400;
  line-height: 1.52;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  white-space: normal;
}

.index-page .hero p.hero-intro .hero-intro-break {
  display: none;
}

.index-page .hero p.hero-intro .hero-intro-line {
  display: block;
  white-space: nowrap;
}

.index-page .hero p.hero-intro .hero-intro-line:last-of-type {
  width: 100%;
  text-align: center;
}

.index-page .hero p.hero-pillars {
  max-width: min(94vw, 84ch);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  font-size: clamp(1.5rem, 1.85vw, 2rem);
  font-family: "Grenze Gotisch", serif;
  font-weight: 500;
  line-height: 1.22;
}

.index-page .hero p.hero-pillars span {
  display: inline-flex;
  align-items: center;
}

.index-page .hero p.hero-pillars span:not(:last-child)::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: color-mix(in srgb, #ffffff, transparent 10%);
  margin-left: 18px;
}

.hero .btn-get-started {
  background: transparent;
  color: var(--default-color);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 4px;
  border: 2px solid var(--accent-color);
  transition: 0.3s;
  text-transform: uppercase;
}

.hero .btn-get-started:hover {
  color: #4a8fc7;
  border-color: #3e7eb3;
}

.hero .btn-watch-video {
  background: transparent;
  color: var(--default-color);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  padding: 10px 30px;
  border-radius: 4px;
  border: 2px solid var(--accent-color);
  transition: 0.3s;
}

.hero .btn-watch-video i {
  color: #ffffff;
  font-size: 24px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover {
  color: #4a8fc7;
  border-color: #3e7eb3;
}

.hero .btn-watch-video:hover i {
  color: #4a8fc7;
}

@media (max-width: 768px) {
  .index-page .header {
    padding: 12px 0;
  }

  .index-page .header .container-fluid.container-xl {
    min-height: 58px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .index-page .header .logo {
    display: flex;
    align-items: center;
  }

  .index-page .header .logo img.onix-logo-img {
    max-height: 44px;
  }

  .index-page .header .mobile-nav-toggle {
    margin-right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .index-page .hero .hero-keep-together {
    white-space: normal;
  }

  .hero h2 {
    font-size: 32px;
  }

  .hero h2.hero-workflow-style {
    white-space: normal;
    text-wrap: pretty;
    letter-spacing: 0;
    line-height: 1.12;
  }

  .hero p {
    font-size: 18px;
  }

  /* Home hero: mobile-only centered alignment */
  .index-page .hero {
    min-height: 100svh;
    padding: 104px 0 56px;
    align-items: center;
  }

  .index-page .hero .hero-content {
    width: 100%;
    max-width: 420px;
    padding-left: 16px;
    padding-right: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    min-height: calc(100svh - 160px);
    margin-left: auto;
    margin-right: auto;
  }

  .index-page .hero h2.hero-workflow-style {
    font-size: clamp(2rem, 8.2vw, 2.45rem);
    line-height: 1.14;
    text-align: center;
    width: 100%;
    max-width: 22ch;
    white-space: normal;
    text-wrap: balance;
    overflow-wrap: anywhere;
    margin: 0 auto;
  }

  .index-page .hero p {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 36ch;
    font-size: 1.18rem;
    line-height: 1.28;
  }

  .index-page .hero p.hero-intro {
    width: 100%;
    max-width: 36ch;
    font-size: 1.08rem;
    line-height: 1.45;
    text-align: center;
    font-family: "Times New Roman", Times, serif;
    font-weight: 400;
  }

  .index-page .hero p.hero-intro .hero-intro-break {
    display: none;
  }

  .index-page .hero p.hero-intro .hero-intro-line {
    display: block;
    white-space: normal;
  }

  .index-page .hero p.hero-pillars {
    max-width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 1.35rem;
    line-height: 1.24;
  }

  .index-page .hero p.hero-pillars span:not(:last-child)::after {
    display: none;
  }

  /* Home page: keep mobile content centered without affecting desktop */
  .index-page .main section .container,
  .index-page .main section .section-title {
    text-align: center;
  }

  .index-page .main section :is(h1, h2, h3, h4, h5, h6, p, li) {
    text-align: center;
  }

  .index-page .main section .row {
    justify-content: center;
  }

  .index-page .main section .who-we-serve-action,
  .index-page .main section .onix-impact,
  .index-page .main section .onix-steps {
    justify-content: center;
  }

  .index-page .main section .onix-ops-step,
  .index-page .main section .onix-ops-brief p {
    text-align: center;
  }

  .index-page .section-title > h2.services-title,
  .index-page .section-title > h2.why-onix-title,
  .index-page .section-title > h2.contact-title {
    display: block;
    width: 100%;
    text-align: left;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about h3 {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 20px;
}

.about .fst-italic {
  color: color-mix(in srgb, var(--default-color), var(--contrast-color) 50%);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 0 0 10px 30px;
  position: relative;
}

.about .content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: var(--accent-color);
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .who-we-serve-blue {
  background: #f1f4fa;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  padding: 24px;
}

.about .who-we-serve-row>div {
  display: flex;
}

.about .who-we-serve-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.about .who-we-serve-blue:not(.who-we-serve-media) {
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.about .who-we-serve-blue h3 {
  color: var(--accent-color);
}

.about .who-we-serve-blue p {
  color: #26384a;
  margin-bottom: 0;
}
.about .who-we-serve-action {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 12px;
}

@media (max-width: 991.98px) {
  .about .who-we-serve-blue:not(.who-we-serve-media) {
    min-height: auto;
  }

  .about .who-we-serve-row>div {
    display: block;
  }
}

.about .who-we-serve-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #2f6fa4;
  background: linear-gradient(120deg, #1a4b77 0%, #265c8b 28%, #326d9f 55%, #3e7eb3 78%, #4a8fc7 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: 0.3s;
}

.about .who-we-serve-arrow:hover {
  filter: brightness(1.06);
  color: #ffffff;
}

.about .pulsating-play-btn {
  --about-play-btn-size: 78px;
  --about-play-ring-gap: 16px;
  width: var(--about-play-btn-size);
  height: var(--about-play-btn-size);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.about .pulsating-play-btn:before {
  width: calc(var(--about-play-btn-size) + var(--about-play-ring-gap));
  height: calc(var(--about-play-btn-size) + var(--about-play-ring-gap));
  top: calc((var(--about-play-ring-gap) / -2));
  left: calc((var(--about-play-ring-gap) / -2));
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.stats .stats-item i {
  color: var(--accent-color);
  font-size: 42px;
  line-height: 0;
  margin-right: 20px;
}

.stats .stats-item span {
  color: var(--heading-color);
  font-size: 36px;
  display: block;
  font-weight: 600;
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .img {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.services .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}

.services .row>[class*="col-"] {
  display: flex;
}

.services .service-item {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.services .details {
  background: color-mix(in srgb, var(--surface-color), transparent 5%);
  padding: 50px 30px;
  margin: -100px 30px 0 30px;
  transition: all ease-in-out 0.3s;
  position: relative;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.1);
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
}

.services .details .icon {
  margin: 0;
  width: 72px;
  height: 72px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 6px solid var(--contrast-color);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  transition: ease-in-out 0.3s;
  position: absolute;
  top: -36px;
  left: calc(50% - 36px);
}

.services .details h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  min-height: 106px;
  transition: ease-in-out 0.3s;
}

.services .details p {
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover .details h3 {
  color: var(--accent-color);
}

.services .service-item:hover .details .icon {
  background: var(--surface-color);
  border: 2px solid var(--accent-color);
}

.services .service-item:hover .details .icon i {
  color: var(--accent-color);
}

.services .service-item:hover .img img {
  transform: scale(1.2);
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding: 20px 0;
}

.clients .client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.clients .client-logo img {
  padding: 20px 40px;
  max-width: 90%;
  transition: 0.3s;
  opacity: 0.5;
  filter: grayscale(100);
}

.clients .client-logo img:hover {
  filter: none;
  opacity: 1;
}

@media (max-width: 640px) {
  .clients .client-logo img {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .nav-tabs {
  border: 0;
}

.features .nav-link {
  background-color: var(--surface-color);
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 15px 20px;
  transition: 0.3s;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
}

.features .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.features .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.features .nav-link:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.features .nav-link.active {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

.features .nav-link.active h4 {
  color: var(--contrast-color);
}

@media (max-width: 768px) {
  .features .nav-link i {
    padding: 0;
    line-height: 1;
    font-size: 36px;
  }
}

@media (max-width: 575px) {
  .features .nav-link {
    padding: 15px;
  }

  .features .nav-link i {
    font-size: 24px;
  }
}

.features .tab-content {
  margin-top: 30px;
}

.features .tab-pane h3 {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 26px;
}

.features .tab-pane ul {
  list-style: none;
  padding: 0;
}

.features .tab-pane ul li {
  padding-bottom: 10px;
}

.features .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.features .tab-pane p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Services 2 Section
--------------------------------------------------------------*/
.services-2 .service-item {
  background-color: var(--surface-color);
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  transition: 0.3s;
}

.services-2 .service-item .icon {
  font-size: 36px;
  line-height: 0;
  margin-right: 30px;
  color: var(--accent-color);
}

.services-2 .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.services-2 .service-item .title a {
  color: var(--heading-color);
}

.services-2 .service-item .description {
  line-height: 24px;
  font-size: 14px;
  margin: 0;
}

.services-2 .service-item:hover {
  border-color: var(--accent-color);
}

.services-2 .service-item:hover .title a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  position: relative;
}

.testimonials:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 55%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.testimonials .testimonials-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.testimonials .container {
  position: relative;
  z-index: 3;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid color-mix(in srgb, var(--default-color), transparent 85%);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  margin: 0 0 15px 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 50%);
  opacity: 0.5;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--default-color);
  opacity: 1;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .member {
  position: relative;
}

.team .member .pic {
  overflow: hidden;
  margin-bottom: 50px;
}

.team .member .member-info {
  background-color: var(--surface-color);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: absolute;
  bottom: -50px;
  left: 20px;
  right: 20px;
  padding: 20px 15px;
  overflow: hidden;
  transition: 0.5s;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
  position: relative;
  padding-bottom: 10px;
}

.team .member h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  bottom: 0;
  left: 0;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.team .member .social {
  position: absolute;
  right: 15px;
  bottom: 15px;
}

.team .member .social a {
  transition: color 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.team .member .social a:hover {
  color: var(--accent-color);
}

.team .member .social i {
  font-size: 16px;
  margin: 0 2px;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 24px 0 30px 0;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  border: 2px dotted color-mix(in srgb, var(--accent-color), transparent 40%);
}

.contact .info-item h3 {
  font-size: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: linear-gradient(135deg, #1a4b77 0%, #265c8b 25%, #326d9f 50%, #3e7eb3 75%, #4a8fc7 100%);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: linear-gradient(135deg, #12375a 0%, #1f517f 25%, #2a6699 50%, #3678ae 75%, #4586bc 100%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
/* .starter-section {
  /* Add your styles here */
/* } */ 

/*--------------------------------------------------------------
# ONIX Themed Content Pages
--------------------------------------------------------------*/
.onix-intro {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  font-size: 22px;
  line-height: 1.5;
}

.onix-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.onix-list-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  font-weight: 500;
  color: #334155;
  min-height: 110px;
  display: flex;
  align-items: center;
}

.onix-why-split {
  max-width: 1140px;
  margin: 12px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: stretch;
}

.onix-org-lanes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.onix-org-lane {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d5e3f5;
  background: linear-gradient(90deg, #ffffff 0%, #f4f9ff 100%);
  color: #1f3751;
  font-size: 17px;
  font-weight: 600;
}

.onix-org-lane:nth-child(even) {
  background: linear-gradient(90deg, #ffffff 0%, #f7f6ff 100%);
  border-color: #dfdbfb;
}

.onix-org-index {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  background: #0e3a63;
  box-shadow: 0 6px 14px rgba(14, 58, 99, 0.25);
}

.onix-org-lane:nth-child(2) .onix-org-index {
  background: #1a4b77;
}

.onix-org-lane:nth-child(3) .onix-org-index {
  background: #265c8b;
}

.onix-org-lane:nth-child(4) .onix-org-index {
  background: #326d9f;
}

.onix-org-lane:nth-child(5) .onix-org-index {
  background: #3e7eb3;
}

.onix-org-lane:nth-child(6) .onix-org-index {
  background: #4a8fc7;
}

.onix-why-visual {
  position: relative;
  padding: 34px 30px 26px;
  border-radius: 26px;
  color: #f8fafc;
  background:
    radial-gradient(95% 95% at 12% 8%, #4a8fc7 0%, rgba(74, 143, 199, 0) 48%),
    radial-gradient(100% 100% at 82% 92%, #4a8fc7 0%, rgba(74, 143, 199, 0) 42%),
    linear-gradient(140deg, #3e7eb3 0%, #1a4b77 52%, #3e7eb3 100%);
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22);
}

.onix-why-visual::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  top: -190px;
  left: -120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 74%);
}

.onix-why-visual::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  right: -215px;
  bottom: -250px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 72%);
}

.onix-why-chip {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(74, 143, 199, 0.34), rgba(26, 75, 119, 0.38));
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(3px);
  font-size: 34px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.onix-why-visual h3 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(248, 250, 252, 0.86);
  position: relative;
  z-index: 1;
}

.onix-why-visual p {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: #000000;
  max-width: 520px;
  position: relative;
  z-index: 1;
}

.onix-why-metrics {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
}

.onix-why-metric {
  border-radius: 14px;
  padding: 14px 14px 12px;
  background: linear-gradient(120deg, rgba(74, 143, 199, 0.28), rgba(26, 75, 119, 0.26));
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.onix-why-metric strong {
  display: block;
  font-size: 25px;
  line-height: 1.1;
}

.onix-why-metric span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.86);
}

.onix-why-list {
  margin: 0;
  padding: 22px 24px;
  list-style: none;
  border-radius: 24px;
  border: 1px solid #d8e5f6;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  display: grid;
  gap: 14px;
  box-shadow: 0 12px 30px rgba(14, 58, 99, 0.1);
}

.onix-challenge-cards {
  list-style: none;
  margin: 0;
  padding: 4px 0 10px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: default;
  touch-action: pan-y;
}

.onix-challenge-cards::-webkit-scrollbar {
  display: none;
}

.onix-challenge-card {
  flex: 0 0 250px;
  min-height: 128px;
  background: linear-gradient(160deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid #d7e4f4;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  overflow: hidden;
  color: #26384a;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  scroll-snap-align: start;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.onix-challenge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
  border-color: #b8d0eb;
}

.onix-challenge-card::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -44px;
  top: -54px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, rgba(14, 165, 233, 0) 72%);
  pointer-events: none;
}

.onix-challenge-card::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  left: -38px;
  bottom: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.16) 0%, rgba(99, 102, 241, 0) 75%);
  pointer-events: none;
}

.onix-challenge-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0ea5e9;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.onix-challenge-card:nth-child(1) .onix-challenge-num {
  background: #0e3a63;
}

.onix-challenge-card:nth-child(2) .onix-challenge-num {
  background: #1a4b77;
}

.onix-challenge-card:nth-child(3) .onix-challenge-num {
  background: #265c8b;
}

.onix-challenge-card:nth-child(4) .onix-challenge-num {
  background: #326d9f;
}

.onix-challenge-card:nth-child(5) .onix-challenge-num {
  background: #3e7eb3;
}

.onix-challenge-card:nth-child(6) .onix-challenge-num {
  background: #4a8fc7;
}

.onix-challenge-card > span:last-child {
  position: relative;
  z-index: 1;
}

.onix-why-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 12px;
  font-size: 20px;
  font-weight: 600;
  color: #102a43;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #d9e6f4;
}

.onix-why-item > span:last-child {
  line-height: 1.4;
}

.onix-why-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex: 0 0 11px;
  background: conic-gradient(
    #1a4b77 0deg,
    #265c8b 72deg,
    #326d9f 144deg,
    #3e7eb3 216deg,
    #4a8fc7 288deg,
    #1a4b77 360deg
  );
  box-shadow: 0 0 0 6px rgba(74, 143, 199, 0.18);
}

.onix-governance-section {
  padding: 56px 0;
}

.onix-governance-layout {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.onix-governance-text {
  max-width: 100%;
  margin: 0;
  text-align: left;
}

.onix-governance-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0;
}

.onix-governance-point {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #d7e4f2;
  background: linear-gradient(145deg, #ffffff 0%, #f4f8ff 100%);
  box-shadow: 0 8px 20px rgba(11, 48, 84, 0.08);
  font-size: 20px;
  line-height: 1.65;
  color: #334155;
}

.onix-governance-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
  background: linear-gradient(145deg, #1a4b77 0%, #4a8fc7 100%);
  box-shadow: 0 8px 16px rgba(26, 75, 119, 0.26);
}

.onix-governance-point:nth-child(2) .onix-governance-icon {
  background: linear-gradient(145deg, #265c8b 0%, #3e7eb3 100%);
}

.onix-governance-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #d7e4f2;
  box-shadow: 0 14px 36px rgba(11, 48, 84, 0.12);
  background: #ffffff;
}

.onix-governance-point > span:last-child {
  font-size: 20px;
}

.onix-governance-card img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  display: block;
}

.onix-value-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.onix-value-steps::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, #7dd3fc 0%, #60a5fa 55%, #818cf8 100%);
}

.onix-value-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 12px 0 18px;
  opacity: 0;
  transform: translateY(14px);
  animation: onixValueStepIn 0.55s ease forwards;
  transition: transform 0.22s ease;
}

.onix-value-step:hover {
  transform: translateX(4px);
}

.onix-value-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
  background: #0e3a63;
  box-shadow: 0 6px 14px rgba(14, 58, 99, 0.28);
  position: relative;
  z-index: 1;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.onix-value-step:hover .onix-value-step-num {
  transform: scale(1.06);
  box-shadow: 0 10px 20px rgba(26, 75, 119, 0.34);
}

.onix-value-step:nth-child(2) .onix-value-step-num {
  background: #1a4b77;
}

.onix-value-step:nth-child(3) .onix-value-step-num {
  background: #265c8b;
}

.onix-value-step:nth-child(4) .onix-value-step-num {
  background: #326d9f;
}

.onix-value-step:nth-child(5) .onix-value-step-num {
  background: #3e7eb3;
}

.onix-value-step:nth-child(6) .onix-value-step-num {
  background: #4a8fc7;
}

.onix-value-step h4 {
  margin: 2px 0 8px;
  font-size: 22px;
  color: #10243f;
}

.onix-value-step p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: #43576f;
}

.onix-value-step:nth-child(1) {
  animation-delay: 0.05s;
}

.onix-value-step:nth-child(2) {
  animation-delay: 0.12s;
}

.onix-value-step:nth-child(3) {
  animation-delay: 0.19s;
}

.onix-value-step:nth-child(4) {
  animation-delay: 0.26s;
}

.onix-value-step:nth-child(5) {
  animation-delay: 0.33s;
}

.onix-value-step:nth-child(6) {
  animation-delay: 0.4s;
}

@keyframes onixValueStepIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .onix-value-step {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .onix-value-step:hover,
  .onix-value-step:hover .onix-value-step-num {
    transform: none;
  }
}

.onix-impact-matrix {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  position: relative;
}

.onix-impact-matrix::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, #cfe0f5 12%, #cfe0f5 88%, transparent 100%);
}

.onix-impact-matrix li {
  position: relative;
}

.onix-impact-matrix li span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  background: #ffffff;
  border: 1px solid #d7e4f4;
  color: #1e364f;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.onix-impact-matrix li span::before {
  content: "\f26e";
  font-family: "bootstrap-icons";
  font-size: 13px;
  color: #0b7fc0;
  flex: 0 0 auto;
}

.onix-impact-matrix li span:hover {
  border-color: #a8c7e8;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.09);
}

.onix-impact-matrix li:nth-child(odd) span {
  border-left: 4px solid #38bdf8;
}

.onix-impact-matrix li:nth-child(even) span {
  border-left: 4px solid #818cf8;
}

.onix-impact-matrix li:last-child {
  grid-column: 1 / -1;
}

.onix-impact-matrix li:last-child span {
  max-width: calc(50% - 9px);
}

.onix-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.onix-card {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 86%);
  border-radius: 14px;
  padding: 22px 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.onix-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent-color), white 88%);
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}

.onix-card h4 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.onix-card p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 22%);
}

.onix-flow {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-color), white 92%), var(--surface-color));
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 76%);
  border-radius: 14px;
  padding: 20px;
}

.onix-flow-line {
  font-size: 20px;
  font-weight: 600;
  color: var(--heading-color);
  text-align: center;
}

.onix-note {
  margin-top: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 24%);
  text-align: center;
}

.onix-ops-head {
  margin-bottom: 12px;
}

.onix-ops-sub {
  margin: 0 auto 30px;
  max-width: 940px;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  color: #425466;
}

.onix-wave-wrapper {
  position: relative;
  margin-top: 26px;
  padding: 6px 0 30px;
}

.onix-wave-path {
  width: 100%;
  height: 124px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.onix-steps {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding-top: 12px;
}

.onix-step {
  text-align: center;
  flex: 1;
  padding-top: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.onix-step:focus-visible {
  outline: none;
}

.onix-circle-wrap {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.onix-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid #3b82f6;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 34px;
  color: #1e3a8a;
  box-shadow: 0 10px 25px rgba(30, 58, 138, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  z-index: 1;
}

.onix-step-title {
  display: block;
  margin-top: 0;
  font-weight: 600;
  color: #0f172a;
}

.onix-step-toast {
  width: 100%;
  max-width: 190px;
  min-height: 68px;
  border-radius: 12px;
  border: 1px solid #cfe2ff;
  background: #f4f9ff;
  box-shadow: 0 8px 18px rgba(30, 58, 138, 0.08);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.onix-step-toast p {
  margin: 0;
  color: #1d3b57;
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 500;
  text-align: center;
  text-wrap: balance;
  transition: color 0.28s ease;
}

.onix-step:hover .onix-step-toast,
.onix-step:focus-within .onix-step-toast,
.onix-step-toast:hover {
  background: linear-gradient(135deg, #1a4b77 0%, #265c8b 25%, #326d9f 50%, #3e7eb3 75%, #4a8fc7 100%);
  border-color: #3e7eb3;
  box-shadow: 0 12px 24px rgba(26, 75, 119, 0.28);
  transform: translateY(-2px);
}

.onix-step:hover .onix-step-toast p,
.onix-step:focus-within .onix-step-toast p,
.onix-step-toast:hover p {
  color: #f8fbff;
}

.onix-ops-brief {
  margin: 26px auto 0;
  max-width: 1320px;
  background: linear-gradient(to right, #eaf4ff 0%, #dcecff 28%, #cfe5fb 55%, #c1ddf7 78%, #b5d5f1 100%);
  border: 1.5px solid #8eb8db;
  border-radius: 14px;
  padding: 22px 24px;
}

.onix-ops-brief p {
  margin: 0;
  color: #1d3b57;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 500;
  text-align: left;
}

.onix-ops-brief p + p {
  margin-top: 10px;
}

.onix-ops-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.onix-ops-step {
  text-align: left;
  padding: 24px 20px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #dbe5f1;
  box-shadow: 0 8px 24px rgba(15, 37, 58, 0.06);
}

.onix-ops-title {
  margin: 0 0 10px;
  font-size: 23px;
  font-weight: 600;
}

.onix-ops-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: #556579;
}

.onix-impact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.onix-impact span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 72%);
  background: color-mix(in srgb, var(--accent-color), white 93%);
  color: var(--heading-color);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .onix-intro {
    font-size: 18px;
  }

  .onix-flow-line {
    font-size: 17px;
  }

  .onix-ops-sub {
    font-size: 17px;
    margin-bottom: 22px;
  }

  .onix-why-split {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 0;
  }

  .onix-why-visual {
    padding: 24px 18px 20px;
    border-radius: 18px;
  }

  .onix-why-chip {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    font-size: 26px;
    margin-bottom: 16px;
  }

  .onix-why-visual h3 {
    font-size: 27px;
  }

  .onix-why-visual p {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.55;
  }

  .onix-why-metrics {
    grid-template-columns: 1fr;
    margin-top: 18px;
    gap: 10px;
  }

  .onix-why-list {
    padding: 14px;
    gap: 10px;
    border-radius: 16px;
  }

  .onix-why-item {
    font-size: 17px;
    gap: 10px;
    padding: 12px 10px;
  }

  .index-page .main section .onix-why-list,
  .index-page .main section .onix-why-item {
    text-align: left;
  }

  .onix-org-lane {
    font-size: 15px;
    padding: 10px 12px;
  }

  .onix-org-index {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 11px;
  }

  .onix-why-dot {
    width: 9px;
    height: 9px;
    flex-basis: 9px;
    box-shadow: 0 0 0 4px rgba(74, 143, 199, 0.18);
  }

  .onix-governance-points {
    gap: 10px;
  }

  .onix-governance-point {
    grid-template-columns: 42px 1fr;
    gap: 10px;
    padding: 12px;
    font-size: 17px;
    line-height: 1.6;
  }

  .onix-governance-point > span:last-child {
    font-size: 17px;
  }

  .onix-governance-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 16px;
  }

  .onix-governance-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .onix-governance-card img {
    min-height: 210px;
  }

  .onix-value-steps::before {
    left: 16px;
  }

  .onix-value-step {
    grid-template-columns: 46px 1fr;
    gap: 10px;
    padding: 10px 0 14px;
  }

  .onix-value-step-num {
    width: 32px;
    height: 32px;
    font-size: 10px;
  }

  .onix-value-step h4 {
    font-size: 19px;
    margin-bottom: 6px;
  }

  .onix-value-step p {
    font-size: 16px;
  }

  .onix-impact-matrix {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .onix-impact-matrix::before {
    display: none;
  }

  .onix-impact-matrix li span {
    width: 100%;
    font-size: 15px;
  }

  .onix-impact-matrix li:last-child {
    grid-column: auto;
  }

  .onix-impact-matrix li:last-child span {
    max-width: 100%;
  }
  .onix-steps {
    flex-wrap: wrap;
    gap: 18px 10px;
    justify-content: center;
    align-items: flex-start;
  }

  .onix-step {
    flex: 1 1 calc(50% - 8px);
    max-width: calc(50% - 8px);
    min-width: 0;
  }

  .onix-circle-wrap {
    width: 92px;
    height: 92px;
    margin-bottom: 6px;
  }

  .onix-circle {
    width: 92px;
    height: 92px;
    font-size: 30px;
  }

  .onix-step-title {
    font-size: 1rem;
  }

  .onix-step-toast {
    max-width: 100%;
    min-height: 64px;
    padding: 10px;
  }

  .onix-step-toast p {
    font-size: 0.75rem;
    line-height: 1.32;
  }

  .onix-wave-path {
    display: none;
  }

  .onix-ops-brief {
    margin-top: 20px;
    padding: 16px 16px;
    border-radius: 12px;
  }

  .onix-ops-brief p {
    font-size: 17px;
    line-height: 1.55;
  }

  .onix-ops-steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .onix-ops-step {
    padding: 20px 16px;
  }

  .onix-ops-title {
    font-size: 24px;
  }

  .onix-ops-text {
    font-size: 17px;
  }
}

/*--------------------------------------------------------------
# ONIX Reference Layout
--------------------------------------------------------------*/
.onix-ref-page {
  background: #f3f5f9;
  color: #1f2937;
}

.onix-ref-shell {
  max-width: 1460px;
  margin: 0 auto;
  padding: 0 20px;
}

.onix-ref-header {
  background: transparent;
  box-shadow: none;
}

.onix-ref-nav {
  margin-top: 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.onix-ref-brand {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 24px;
  color: #111827;
  text-decoration: none;
  padding: 0 8px;
}

.onix-ref-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.onix-ref-links a {
  color: #344054;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 999px;
}

.onix-ref-links a:hover,
.onix-ref-links a.active {
  color: #1d4ed8;
  background: #eef2ff;
}

.onix-ref-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.onix-ref-pill {
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: #334155;
  font-weight: 600;
  background: #ffffff;
}

.onix-ref-pill:hover {
  border-color: #93c5fd;
}

.onix-ref-signin {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

.onix-ref-signin:hover {
  background: #1f2937;
  border-color: #1f2937;
}

.onix-ref-main {
  padding-top: 120px;
}

.onix-ref-hero {
  min-height: 340px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.onix-ref-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 17, 34, 0.6), rgba(11, 17, 34, 0.45));
}

.onix-ref-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  color: #f8fafc;
}

.onix-ref-hero-inner h1 {
  margin: 0 0 10px;
  font-size: 62px;
  font-weight: 700;
  color: #ffffff;
}

.onix-ref-hero-inner p {
  margin: 0;
  font-size: 22px;
  color: #e2e8f0;
}

.onix-ref-section {
  padding: 78px 0;
}

.onix-ref-section h2 {
  margin: 0 0 18px;
  font-size: 56px;
  color: #0f172a;
}

.onix-ref-lead {
  font-size: 20px;
  line-height: 1.35;
  color: #334155;
  margin: 0 0 22px;
}

.onix-ref-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.1fr 1fr;
}

.onix-ref-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 20px;
}

.onix-ref-note {
  font-size: 13px;
  color: #94a3b8;
}

.onix-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.onix-stat {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #f8fafc;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px 18px;
}

.onix-stat h3 {
  margin: 0 0 8px;
  font-size: 44px;
  font-weight: 700;
  color: #6366f1;
}

.onix-stat p {
  margin: 0;
  color: #475569;
  font-size: 16px;
}

.onix-card-grid-ref {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.onix-card-ref {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 30px 26px;
}

.onix-card-ref h4 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #111827;
}

.onix-card-ref p,
.onix-card-ref li {
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.5;
}

.onix-card-ref ul {
  padding-left: 18px;
  margin: 0;
}

.onix-chip-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.onix-chip {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px 16px;
  color: #334155;
  font-weight: 500;
}

.onix-compare {
  border-collapse: collapse;
  width: 100%;
  font-size: 18px;
}

.onix-compare th,
.onix-compare td {
  padding: 18px 16px;
  border-bottom: 1px solid #e2e8f0;
}

.onix-compare th {
  color: #64748b;
  font-weight: 600;
  text-align: left;
}

.onix-compare td:last-child,
.onix-compare th:last-child {
  color: #3b82f6;
  font-weight: 600;
}

@media (max-width: 1200px) {
  .onix-ref-hero-inner h1 {
    font-size: 48px;
  }

  .onix-ref-hero-inner p {
    font-size: 20px;
  }

  .onix-ref-section h2 {
    font-size: 44px;
  }

  .onix-ref-lead {
    font-size: 18px;
  }

  .onix-card-ref h4 {
    font-size: 19px;
  }

  .onix-card-ref p,
  .onix-card-ref li {
    font-size: 16px;
  }

  .onix-compare {
    font-size: 17px;
  }
}

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

  .onix-card-grid-ref {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .onix-ref-main {
    padding-top: 108px;
  }
}

@media (max-width: 768px) {
  .onix-ref-nav {
    flex-wrap: wrap;
    border-radius: 14px;
  }

  .onix-ref-actions {
    margin-left: 0;
    width: 100%;
  }

  .onix-ref-pill {
    width: 100%;
    text-align: center;
  }

  .onix-ref-hero {
    min-height: 260px;
  }

  .onix-ref-hero-inner h1 {
    font-size: 21px;
  }

  .onix-ref-hero-inner p {
    font-size: 20px;
  }

  .onix-ref-section h2 {
    font-size: 32px;
  }

  .onix-ref-lead {
    font-size: 18px;
  }

  .onix-stat-grid {
    grid-template-columns: 1fr;
  }

  .onix-list-grid,
  .onix-card-grid-ref {
    grid-template-columns: 1fr;
  }

  .onix-compare {
    font-size: 15px;
  }
}
  .onix-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

@keyframes onixGlowDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-28px, 26px, 0) scale(1.08);
  }
}

/*--------------------------------------------------------------
# Disable Custom Hover Motion
--------------------------------------------------------------*/
.onix-org-lane:hover,
.onix-impact-matrix li span:hover,
.onix-challenge-card:hover,
.onix-value-step:hover,
.onix-value-step:hover .onix-value-step-num {
  transform: none !important;
  box-shadow: inherit !important;
  border-color: inherit !important;
}

/*--------------------------------------------------------------
# Home Page Cleanup
--------------------------------------------------------------*/
.index-page .hero img {
  filter: brightness(1) saturate(0.95);
}

.index-page .hero:before {
  background: rgba(2, 10, 18, 0.78);
}

.about .who-we-serve-media {
  padding: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  min-height: 290px;
}

.about .who-we-serve-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0 !important;
}

@media (max-width: 991.98px) {
  .about .who-we-serve-media {
    min-height: 240px;
  }
}











