/**
* Template Name: Arsha
* Template URL: https://bootstrapmade.com/arsha-free-bootstrap-html-template-corporate/
* Updated: Feb 22 2025 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: "Open Sans", 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: "Jost", sans-serif;
  --nav-font: "Poppins", 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: #37517e;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #47b2e4;
  /* 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: #ffffff;
  /* The default color of the main navmenu links */
  --nav-hover-color: #47b2e4;
  /* 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: #47b2e4;
  /* 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: #f5f6f8;
  --surface-color: #ffffff;
}

.impact-background {
  --background-color: #37517e;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #4668a2;
  --contrast-color: #ffffff;
}

.dark-background {
  --background-color: #37517e;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #4668a2;
  --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);
  }
}

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

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

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

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 500;
  color: var(--heading-color);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

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

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

  .header .navmenu {
    order: 3;
  }
}

/* Header logo: heavier weight + Capitalize first letter only */
.header .logo h1 {
  font-weight: 600;
  /* was 500 */
  letter-spacing: 1px;
  /* optional: tighter than 2px */
  text-transform: lowercase;
}

.header .logo h1::first-letter {
  text-transform: uppercase;
}

/* Footer brand text: match the same style */
.footer .footer-about a {
  font-weight: 600;
  /* was 600 but forced uppercase */
  text-transform: lowercase;
}

.footer .footer-about a::first-letter {
  text-transform: uppercase;
}


/* Index Page Header
------------------------------*/
.index-page .header {
  --background-color: rgba(255, 255, 255, 0);
  --heading-color: #ffffff;
  --nav-color: #ffffff;
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
  --background-color: rgba(40, 58, 90, 0.9);
}

/*--------------------------------------------------------------
# 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 a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 400;
    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;
    transition: 0.3s;
  }

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

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

  .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;
  }

  .navmenu .megamenu {
    position: static;
  }

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

  .navmenu .megamenu ul li {
    flex: 1;
  }

  .navmenu .megamenu ul li a,
  .navmenu .megamenu ul li:hover>a {
    padding: 10px 20px;
    font-size: 15px;
    color: var(--nav-dropdown-color);
  }

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

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

  .navmenu .dd-box-shadow {
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .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);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .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);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    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;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-newsletter {
  background-color: color-mix(in srgb, var(--heading-color), transparent 95%);
  padding: 50px 0;
}

.footer .footer-newsletter h4 {
  font-size: 24px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  transition: 0.3s;
  border-radius: 50px;
}

.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: color-mix(in srgb, var(--background-color), transparent 50%);
  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: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 50px;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .footer-top {
  padding-top: 50px;
}

.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 20%);
  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 {
  margin-right: 3px;
  font-size: 12px;
  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 {
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1;
}

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

.footer .footer-about a {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  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-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

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

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

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

/*--------------------------------------------------------------
# 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 {
  --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  position: relative;
}

.page-title h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
}

.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 70%);
}

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

@media (max-width: 1199px) {

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

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

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  text-transform: uppercase;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

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

.hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 5px 0 30px 0;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px 12px 28px;
  border-radius: 50px;
  transition: 0.5s;
}

.hero .btn-get-started:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  color: var(--default-color);
  font-weight: 600;
}

.hero .btn-watch-video i {
  color: var(--contrast-color);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover {
  color: var(--accent-color);
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }

  .hero .btn-get-started,
  .hero .btn-watch-video {
    font-size: 13px;
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

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

.clients .swiper {
  padding: 10px 0;
}

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

.clients .swiper-slide img {
  transition: 0.3s;
  padding: 0 10px;
}

.clients .swiper-slide img:hover {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about ul {
  list-style: none;
  padding: 0;
}

.about ul li {
  padding-bottom: 5px;
  display: flex;
  align-items: center;
}

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

.about .read-more {
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 8px 28px;
  border-radius: 5px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-color);
}

.about .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .read-more:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.about .read-more:hover i {
  transform: translate(5px, 0);
}

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us {
  padding: 30px 0;
}

.why-us .content h3 {
  font-weight: 400;
  font-size: 34px;
}

.why-us .content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.why-us .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.why-us .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.why-us .faq-container .faq-item h3 {
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
}

.why-us .faq-container .faq-item h3 span {
  color: var(--accent-color);
  padding-right: 5px;
  font-weight: 600;
}

.why-us .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.why-us .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.why-us .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.why-us .faq-container .faq-item .faq-icon {
  position: absolute;
  top: 22px;
  left: 20px;
  font-size: 22px;
  line-height: 0;
  transition: 0.3s;
  color: var(--accent-color);
}

.why-us .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.why-us .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.why-us .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.why-us .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.why-us .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

.why-us .why-us-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-us .why-us-img img {
  max-height: 70%;
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

.skills .content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

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

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

.skills .content ul li {
  padding-bottom: 10px;
}

.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  color: var(--default-color);
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: var(--heading-font);
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: color-mix(in srgb, var(--heading-color), transparent 90%);
  height: 10px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: var(--heading-color);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
  padding: 50px 30px;
  transition: all ease-in-out 0.4s;
  height: 100%;
}

.services .service-item .icon {
  margin-bottom: 10px;
}

.services .service-item .icon i {
  color: var(--accent-color);
  font-size: 36px;
  transition: 0.3s;
}

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

.services .service-item h4 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}

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

.services .service-item:hover {
  transform: translateY(-10px);
}

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

/*--------------------------------------------------------------
# Work Process Section
--------------------------------------------------------------*/
.work-process .steps-item {
  background: var(--surface-color);
  border-radius: 20px;
  height: 100%;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 92%);
}

.work-process .steps-item .steps-image {
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.work-process .steps-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.work-process .steps-item:hover .steps-number {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.work-process .steps-item:hover .steps-image img {
  transform: scale(1.1);
}

.work-process .steps-image {
  position: relative;
  height: 280px;
}

.work-process .steps-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-process .steps-content {
  position: relative;
  padding: 40px 30px 30px;
}

.work-process .steps-content .steps-number {
  position: absolute;
  left: 30px;
  top: -30px;
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50%;
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}

.work-process .steps-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.work-process .steps-content p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 25px;
}

.work-process .steps-features .feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.work-process .steps-features .feature-item:last-child {
  margin-bottom: 0;
}

.work-process .steps-features .feature-item i {
  color: var(--accent-color);
  font-size: 18px;
  margin-right: 10px;
}

.work-process .steps-features .feature-item span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

@media (max-width: 1199px) {
  .work-process .steps-image {
    height: 240px;
  }

  .work-process .steps-content {
    padding: 35px 25px 25px;
  }

  .work-process .steps-content h3 {
    font-size: 22px;
  }
}

@media (max-width: 991px) {
  .work-process .steps-item {
    margin-bottom: 30px;
  }

  .work-process .steps-image {
    height: 220px;
  }

  .work-process .steps-content {
    padding: 30px 20px 20px;
  }

  .work-process .steps-content .steps-number {
    width: 50px;
    height: 50px;
    font-size: 20px;
    left: 25px;
    top: -25px;
  }

  .work-process .steps-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .work-process .steps-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 120px 0;
  position: relative;
  clip-path: inset(0);
}

.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

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

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  color: var(--default-color);
  font-size: 28px;
  font-weight: 700;
}

.call-to-action p {
  color: var(--default-color);
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--contrast-color);
  color: var(--contrast-color);
}

.call-to-action .cta-btn:hover {
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# 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: 8px 20px 10px 20px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background-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 0 10px 0;
  }
}

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

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: all ease-in-out 0.5s;
  background: color-mix(in srgb, var(--background-color), transparent 10%);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

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

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  border-radius: 5px;
  transition: 0.5s;
  padding: 30px;
  height: 100%;
}

@media (max-width: 468px) {
  .team .team-member {
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
  }
}

.team .team-member .pic {
  overflow: hidden;
  width: 150px;
  border-radius: 50%;
  flex-shrink: 0;
}

.team .team-member .pic img {
  transition: ease-in-out 0.3s;
}

.team .team-member:hover {
  transform: translateY(-10px);
}

.team .team-member .member-info {
  padding-left: 30px;
}

@media (max-width: 468px) {
  .team .team-member .member-info {
    padding: 30px 0 0 0;
    text-align: center;
  }
}

.team .team-member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
}

.team .team-member span {
  display: block;
  font-size: 15px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 500;
}

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

@media (max-width: 468px) {
  .team .team-member span::after {
    left: calc(50% - 25px);
  }
}

.team .team-member p {
  margin: 10px 0 0 0;
  font-size: 14px;
}

.team .team-member .social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
}

@media (max-width: 468px) {
  .team .team-member .social {
    justify-content: center;
  }
}

.team .team-member .social a {
  background: color-mix(in srgb, var(--default-color), transparent 94%);
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 36px;
  height: 36px;
}

.team .team-member .social a i {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 16px;
  margin: 0 2px;
}

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

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

.team .team-member .social a+a {
  margin-left: 8px;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--background-color);
  padding: 60px 40px;
  height: 100%;
  border-radius: 5px;
}

.pricing h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.pricing h4 {
  color: var(--accent-color);
  font-size: 48px;
  font-weight: 400;
  font-family: var(--heading-font);
  margin-bottom: 0;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 18px;
}

.pricing ul {
  padding: 20px 0;
  list-style: none;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-align: left;
  line-height: 20px;
}

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

.pricing ul i {
  color: #059652;
  font-size: 24px;
  padding-right: 3px;
}

.pricing ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na i {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .buy-btn {
  color: var(--accent-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 50px;
  transition: none;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
  transition: 0.3s;
  border: 1px solid var(--accent-color);
}

.pricing .buy-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .featured {
  border-top-color: var(--accent-color);
}

.pricing .featured .buy-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
}

@media (max-width: 992px) {
  .pricing .box {
    max-width: 60%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 767px) {
  .pricing .box {
    max-width: 80%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 420px) {
  .pricing .box {
    max-width: 100%;
    margin: 0 auto 30px auto;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .section-header {
  margin-bottom: 40px;
}

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

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

.testimonials .testimonial-item .testimonial-img {
  width: 120px;
  border-radius: 50%;
  border: 4px solid var(--background-color);
  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;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0 0 15px 0;
}

.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(--accent-color), transparent 50%);
  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;
  opacity: 1;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
}

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

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

/*--------------------------------------------------------------
# Faq 2 Section
--------------------------------------------------------------*/
.faq-2 .faq-container {
  margin-top: 15px;
}

.faq-2 .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  overflow: hidden;
}

.faq-2 .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq-2 .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  margin: 0 30px 0 32px;
  transition: 0.3s;
  cursor: pointer;
}

.faq-2 .faq-container .faq-item h3 span {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq-2 .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq-2 .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq-2 .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq-2 .faq-container .faq-item .faq-icon {
  position: absolute;
  top: 22px;
  left: 20px;
  font-size: 20px;
  line-height: 0;
  transition: 0.3s;
  color: var(--accent-color);
}

.faq-2 .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq-2 .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq-2 .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq-2 .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq-2 .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Subscribe Section
--------------------------------------------------------------*/
.subscribe .container {
  padding: 80px 80px 0 80px;
  background: color-mix(in srgb, var(--default-color), transparent 96%);
  border-radius: 15px;
}

@media (max-width: 992px) {
  .subscribe .container {
    padding: 60px 60px 0 60px;
  }
}

@media (max-width: 575px) {
  .subscribe .container {
    padding: 25px 15px 0 15px;
    border-radius: 0;
  }
}

.subscribe .cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.subscribe .cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.subscribe .cta-form .form-control {
  height: 50px;
  border-radius: 25px 0 0 25px;
  border: 1px solid var(--accent-color);
  padding-left: 20px;
}

.subscribe .cta-form .form-control:focus {
  box-shadow: none;
  border-color: var(--accent-color);
}

.subscribe .cta-form .btn {
  height: 50px;
  border-radius: 0 25px 25px 0;
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 0 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.subscribe .cta-form .btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  border-color: color-mix(in srgb, var(--accent-color), black 10%);
}

@media (max-width: 575px) {
  .subscribe .cta-form .btn {
    padding: 0 15px;
  }
}

@media (max-width: 991px) {
  .subscribe .cta-content {
    text-align: center;
    margin-bottom: 2rem;
  }

  .subscribe .cta-image {
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Recent Blog Postst Section
--------------------------------------------------------------*/
.recent-blog-postst .post-item {
  background: var(--surface-color);
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.recent-blog-postst .post-item .post-img img {
  transition: 0.5s;
}

.recent-blog-postst .post-item .post-date {
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  text-transform: uppercase;
  font-size: 13px;
  padding: 6px 12px;
  font-weight: 500;
}

.recent-blog-postst .post-item .post-content {
  padding: 30px;
}

.recent-blog-postst .post-item .post-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 700;
  transition: 0.3s;
  margin-bottom: 15px;
}

.recent-blog-postst .post-item .meta i {
  font-size: 16px;
  color: var(--accent-color);
}

.recent-blog-postst .post-item .meta span {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.recent-blog-postst .post-item hr {
  color: color-mix(in srgb, var(--default-color), transparent 80%);
  margin: 20px 0;
}

.recent-blog-postst .post-item .readmore {
  display: flex;
  align-items: center;
  font-weight: 600;
  line-height: 1;
  transition: 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.recent-blog-postst .post-item .readmore i {
  line-height: 0;
  margin-left: 6px;
  font-size: 16px;
}

.recent-blog-postst .post-item:hover .post-title,
.recent-blog-postst .post-item:hover .readmore {
  color: var(--accent-color);
}

.recent-blog-postst .post-item:hover .post-img img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
  padding: 30px;
  height: 100%;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

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

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

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

@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: color-mix(in srgb, var(--background-color), transparent 50%);
  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: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/*--------------------------------------------------------------
# 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);
}

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts article {
  background-color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
}

.blog-posts .post-img {
  max-height: 440px;
  margin: -30px -30px 0 -30px;
  overflow: hidden;
}

.blog-posts .title {
  font-size: 24px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.blog-posts .title a:hover {
  color: var(--accent-color);
}

.blog-posts .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-posts .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog-posts .meta-top ul li+li {
  padding-left: 20px;
}

.blog-posts .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-posts .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-posts .content {
  margin-top: 20px;
}

.blog-posts .content .read-more {
  text-align: right;
}

.blog-posts .content .read-more a {
  background: var(--accent-color);
  color: var(--contrast-color);
  display: inline-block;
  padding: 8px 30px;
  transition: 0.3s;
  font-size: 14px;
  border-radius: 4px;
}

.blog-posts .content .read-more a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Pagination 2 Section
--------------------------------------------------------------*/
.pagination-2 {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.pagination-2 ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pagination-2 li {
  margin: 0 5px;
  transition: 0.3s;
}

.pagination-2 li a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-2 li a.active,
.pagination-2 li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pagination-2 li a.active a,
.pagination-2 li a:hover a {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  max-width: 1000px;
  margin: 0 auto;
}

.blog-details .hero-img {
  position: relative;
  width: 100%;
  height: 500px;
  margin: 0 auto 3rem;
  border-radius: 16px;
  overflow: hidden;
}

.blog-details .hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-details .hero-img .meta-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.blog-details .hero-img .meta-overlay .meta-categories .category {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-details .hero-img .meta-overlay .meta-categories .category:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.blog-details .hero-img .meta-overlay .meta-categories .divider {
  color: var(--contrast-color);
  margin: 0 0.75rem;
}

.blog-details .hero-img .meta-overlay .meta-categories .reading-time {
  color: var(--contrast-color);
  font-size: 0.9rem;
}

.blog-details .hero-img .meta-overlay .meta-categories .reading-time i {
  margin-right: 0.3rem;
}

@media (max-width: 768px) {
  .blog-details .hero-img {
    height: 350px;
    margin-top: -30px;
    margin-bottom: 2rem;
  }
}

.blog-details .article-content {
  padding: 0 1rem;
}

.blog-details .article-content .content-header {
  margin-bottom: 3rem;
}

.blog-details .article-content .content-header .title {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  font-weight: 700;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .blog-details .article-content .content-header .title {
    font-size: 2rem;
  }
}

.blog-details .article-content .content-header .author-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .article-content .content-header .author-info .author-details {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.blog-details .article-content .content-header .author-info .author-details .author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-details .article-content .content-header .author-info .author-details .info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--heading-color);
}

.blog-details .article-content .content-header .author-info .author-details .info .role {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.blog-details .article-content .content-header .author-info .post-meta {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
}

.blog-details .article-content .content-header .author-info .post-meta i {
  margin-right: 0.3rem;
}

.blog-details .article-content .content-header .author-info .post-meta .divider {
  margin: 0 0.75rem;
}

.blog-details .article-content .content {
  font-size: 1.15rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

.blog-details .article-content .content .lead {
  font-size: 1.3rem;
  color: var(--heading-color);
  margin-bottom: 2rem;
  font-weight: 500;
}

.blog-details .article-content .content h2 {
  font-size: 2rem;
  color: var(--heading-color);
  margin: 3rem 0 1.5rem;
}

.blog-details .article-content .content p {
  margin-bottom: 1.5rem;
}

.blog-details .article-content .content ul {
  margin-bottom: 2rem;
  padding-left: 1.2rem;
}

.blog-details .article-content .content ul li {
  margin-bottom: 0.75rem;
  position: relative;
}

.blog-details .article-content .content .content-image {
  margin: 2.5rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.blog-details .article-content .content .content-image.right-aligned {
  float: right;
  max-width: 450px;
  margin: 1rem 0 2rem 2rem;
}

@media (max-width: 768px) {
  .blog-details .article-content .content .content-image.right-aligned {
    float: none;
    max-width: 100%;
    margin: 2rem 0;
  }
}

.blog-details .article-content .content .content-image img {
  width: 100%;
  height: auto;
}

.blog-details .article-content .content .content-image figcaption {
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  background-color: color-mix(in srgb, var(--surface-color), transparent 50%);
}

.blog-details .article-content .content .highlight-box {
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 12px;
  padding: 2rem;
  margin: 2.5rem 0;
}

.blog-details .article-content .content .highlight-box h3 {
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.blog-details .article-content .content .highlight-box .trend-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-details .article-content .content .highlight-box .trend-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.blog-details .article-content .content .highlight-box .trend-list li i {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-right: 1rem;
}

.blog-details .article-content .content .highlight-box .trend-list li span {
  color: var(--heading-color);
  font-weight: 500;
}

.blog-details .article-content .content .content-grid {
  margin: 3rem 0;
}

.blog-details .article-content .content .content-grid .info-card {
  background: var(--surface-color);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.blog-details .article-content .content .content-grid .info-card:hover {
  transform: translateY(-5px);
}

.blog-details .article-content .content .content-grid .info-card i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.blog-details .article-content .content .content-grid .info-card h4 {
  color: var(--heading-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.blog-details .article-content .content .content-grid .info-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.blog-details .article-content .content blockquote {
  position: relative;
  margin: 3rem 0;
  padding: 2rem 3rem;
  background: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.blog-details .article-content .content blockquote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 8rem;
  color: color-mix(in srgb, var(--accent-color), transparent 85%);
  font-family: serif;
  line-height: 1;
}

.blog-details .article-content .content blockquote p {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--heading-color);
  margin: 0 0 1rem;
  position: relative;
}

.blog-details .article-content .content blockquote cite {
  font-style: normal;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
  display: block;
}

.blog-details .article-content .meta-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  display: grid;
  gap: 2rem;
}

.blog-details .article-content .meta-bottom h4 {
  color: var(--heading-color);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.blog-details .article-content .meta-bottom .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-details .article-content .meta-bottom .tags .tag {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-details .article-content .meta-bottom .tags .tag:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.blog-details .article-content .meta-bottom .social-links {
  display: flex;
  gap: 1rem;
}

.blog-details .article-content .meta-bottom .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.blog-details .article-content .meta-bottom .social-links a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.blog-details .article-content .meta-bottom .social-links a i {
  font-size: 1.2rem;
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
  padding: 20px 0;
}

.blog-comments .comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.blog-comments .comments-header .title {
  color: var(--heading-color);
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
  margin: 0;
}

.blog-comments .comments-header .comments-stats {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 8px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-comments .comments-header .comments-stats .count {
  font-size: 18px;
  font-weight: 700;
}

.blog-comments .comments-header .comments-stats .label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-comments .comments-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog-comments .comment-thread {
  position: relative;
}

.blog-comments .comment-thread:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 80px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--accent-color), transparent 40%), color-mix(in srgb, var(--accent-color), transparent 90%));
  z-index: 0;
}

@media (min-width: 768px) {
  .blog-comments .comment-thread:not(:last-child)::after {
    left: 35px;
  }
}

.blog-comments .comment-box {
  position: relative;
  transition: all 0.3s ease;
}

.blog-comments .comment-box.reply {
  margin-left: 50px;
  margin-top: 25px;
}

@media (min-width: 768px) {
  .blog-comments .comment-box.reply {
    margin-left: 70px;
  }
}

.blog-comments .comment-wrapper {
  display: flex;
  gap: 20px;
  position: relative;
}

.blog-comments .avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.blog-comments .avatar-wrapper img {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  object-fit: cover;
  border: 3px solid var(--surface-color);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .blog-comments .avatar-wrapper img {
    width: 70px;
    height: 70px;
  }
}

.blog-comments .avatar-wrapper img:hover {
  transform: scale(1.05);
}

.blog-comments .avatar-wrapper .status-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #4CAF50;
  border: 2px solid var(--surface-color);
  z-index: 1;
}

.blog-comments .comment-content {
  flex: 1;
  background-color: var(--surface-color);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.blog-comments .comment-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.blog-comments .comment-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.blog-comments .comment-header .user-info h4 {
  color: var(--heading-color);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 5px;
}

.blog-comments .comment-header .user-info .time-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-comments .comment-header .user-info .time-badge i {
  font-size: 13px;
}

.blog-comments .comment-header .engagement .likes {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-radius: 20px;
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 500;
}

.blog-comments .comment-header .engagement .likes i {
  font-size: 13px;
}

.blog-comments .comment-body p {
  color: var(--default-color);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-comments .comment-actions {
  display: flex;
  gap: 15px;
}

.blog-comments .comment-actions .action-btn {
  background: none;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-comments .comment-actions .action-btn i {
  font-size: 15px;
  transition: all 0.3s ease;
}

.blog-comments .comment-actions .action-btn:hover {
  color: var(--accent-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
}

.blog-comments .comment-actions .action-btn:hover.like-btn i {
  transform: scale(1.2);
  color: #ff4b6e;
}

.blog-comments .comment-actions .action-btn:hover.reply-btn i {
  transform: translateX(-3px);
}

.blog-comments .comment-actions .action-btn:hover.share-btn i {
  transform: translateY(-2px);
}

.blog-comments .comment-actions .action-btn.like-btn.active {
  color: #ff4b6e;
}

.blog-comments .replies-container {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

@media (max-width: 768px) {
  .blog-comments .comments-header {
    margin-bottom: 30px;
  }

  .blog-comments .comments-header .title {
    font-size: 24px;
  }

  .blog-comments .comments-header .comments-stats {
    padding: 6px 15px;
  }

  .blog-comments .comments-header .comments-stats .count {
    font-size: 20px;
  }

  .blog-comments .comments-header .comments-stats .label {
    font-size: 12px;
  }

  .blog-comments .comment-content {
    padding: 20px;
  }

  .blog-comments .comment-header .user-info h4 {
    font-size: 16px;
  }

  .blog-comments .comment-header .user-info .time-badge {
    font-size: 13px;
  }

  .blog-comments .comment-body p {
    font-size: 14px;
  }

  .blog-comments .comment-actions .action-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# Blog Comment Form Section
--------------------------------------------------------------*/
.blog-comment-form {
  max-width: 900px;
  margin: 30px auto 0 auto;
  padding-top: 10px;
}

.blog-comment-form form {
  padding: 2rem;
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-comment-form .form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.blog-comment-form .form-header h3 {
  color: var(--heading-color);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.blog-comment-form .form-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.9375rem;
}

.blog-comment-form .input-group {
  margin-bottom: 1rem;
  position: relative;
}

.blog-comment-form .input-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--heading-color);
  font-weight: 500;
  font-size: 0.875rem;
}

.blog-comment-form .input-group input,
.blog-comment-form .input-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 8px;
  background-color: var(--surface-color);
  color: var(--default-color);
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

.blog-comment-form .input-group input::placeholder,
.blog-comment-form .input-group textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.blog-comment-form .input-group input:hover,
.blog-comment-form .input-group textarea:hover {
  border-color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.blog-comment-form .input-group input:focus,
.blog-comment-form .input-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 90%);
}

.blog-comment-form .input-group input:invalid:not(:placeholder-shown),
.blog-comment-form .input-group textarea:invalid:not(:placeholder-shown) {
  border-color: #dc3545;
}

.blog-comment-form .input-group input:invalid:not(:placeholder-shown)+.error-text,
.blog-comment-form .input-group textarea:invalid:not(:placeholder-shown)+.error-text {
  opacity: 1;
  transform: translateY(0);
}

.blog-comment-form .input-group textarea {
  min-height: 120px;
  resize: vertical;
}

.blog-comment-form .input-group .error-text {
  position: absolute;
  bottom: -20px;
  left: 0;
  color: #dc3545;
  font-size: 0.75rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.blog-comment-form button[type=submit] {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 0.875rem 2.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-comment-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px);
}

.blog-comment-form button[type=submit]:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .blog-comment-form {
    padding: 1.5rem;
  }

  .blog-comment-form .form-header h3 {
    font-size: 1.5rem;
  }

  .blog-comment-form button[type=submit] {
    width: 100%;
    padding: 0.875rem 1rem;
  }
}

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

/*--------------------------------------------------------------
# Error 404 Section
--------------------------------------------------------------*/
.error-404 {
  padding: 80px 0;
  margin: 0 auto;
}

.error-404 .error-icon {
  font-size: 5rem;
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.error-404 .error-code {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  color: color-mix(in srgb, var(--heading-color), transparent 10%);
  font-family: var(--heading-font);
  line-height: 1;
}

.error-404 .error-title {
  font-size: 2rem;
  color: var(--heading-color);
  font-weight: 600;
}

.error-404 .error-text {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  max-width: 600px;
  margin: 0 auto;
}

.error-404 .search-box {
  max-width: 500px;
  margin: 0 auto;
}

.error-404 .search-box .input-group {
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.error-404 .search-box .form-control {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-radius: 50px;
}

.error-404 .search-box .form-control:focus {
  box-shadow: none;
  border-color: var(--accent-color);
}

.error-404 .search-box .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.error-404 .search-box .search-btn {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.error-404 .search-box .search-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.error-404 .error-action .btn-primary {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  background-color: var(--accent-color);
  border: none;
  color: var(--contrast-color);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.error-404 .error-action .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .error-404 {
    padding: 60px 0;
  }

  .error-404 .error-code {
    font-size: clamp(4rem, 12vw, 8rem);
  }

  .error-404 .error-title {
    font-size: 1.5rem;
  }

  .error-404 .error-text {
    font-size: 1rem;
    padding: 0 20px;
  }

  .error-404 .search-box {
    margin: 0 20px;
  }
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  margin: 60px 0 30px 0;
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 600;
  padding: 0 0 0 10px;
  margin: 0 0 20px 0;
  border-left: 4px solid var(--accent-color);
}

.widget-item {
  margin-bottom: 30px;
  background-color: color-mix(in srgb, var(--default-color), transparent 98%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 30px;
  border-radius: 5px;
}

.widget-item:last-child {
  margin-bottom: 0;
}

.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
  padding: 3px 10px;
  position: relative;
  border-radius: 50px;
  transition: 0.3s;
}

.search-widget form input[type=text] {
  border: 0;
  padding: 4px 10px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type=text]:focus {
  outline: none;
}

.search-widget form button {
  background: none;
  color: var(--default-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 16px;
  transition: 0.3s;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  color: var(--accent-color);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  background-color: color-mix(in srgb, var(--default-color), transparent 94%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  border-radius: 50px;
  font-size: 14px;
  padding: 5px 15px;
  margin: 0 6px 8px 0;
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}

/* === KPIs / Impact === */
.kpis-section {
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 80px;
  background:
    radial-gradient(1200px 1200px at 10% -10%, rgba(71, 178, 228, 0.18), rgba(71, 178, 228, 0) 60%),
    radial-gradient(900px 900px at 110% 20%, rgba(13, 110, 253, 0.16), rgba(13, 110, 253, 0) 60%),
    var(--bs-body-bg, #fff);
}

.kpis-title {
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.kpis-subtitle {
  opacity: 0.85;
  margin-bottom: 0;
}

/* Cards */
.kpi-card {
  height: 100%;
  border-radius: 1.25rem;
  /* 20px */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.72) 100%);
  backdrop-filter: saturate(120%) blur(6px);
  border: 1px solid rgba(71, 178, 228, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.kpi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
  border-color: rgba(71, 178, 228, 0.45);
}

/* Icon chip */
.kpi-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background:
    linear-gradient(135deg, #47b2e4 0%, #0d6efd 100%);
  color: #fff;
  font-size: 24px;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(71, 178, 228, 0.35);
}

/* Value + labels */
.kpi-value {
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 3.5vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.kpi-label {
  margin-top: 6px;
  font-weight: 600;
  font-size: 16px;
}

.kpi-footnote {
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.8;
}

/* Dark mode / dark sections */
.dark-background .kpi-card {
  background: linear-gradient(180deg, rgba(22, 28, 36, 0.75) 0%, rgba(22, 28, 36, 0.6) 100%);
  border-color: rgba(71, 178, 228, 0.35);
  color: #eef3f8;
}

.dark-background .kpi-footnote {
  opacity: 0.9;
}

/* Motion accessibility */
@media (prefers-reduced-motion: reduce) {

  .kpi-card,
  .kpi-card:hover {
    transition: none;
    transform: none;
  }
}


/* Solutions uplift */
.solutions-strong {
  position: relative;
  overflow: hidden;
  --grad-a: #f7fbff;
  --grad-b: #eef6ff;
  background: radial-gradient(1200px 600px at 10% -10%, var(--grad-b), transparent 60%),
    radial-gradient(800px 400px at 110% 10%, var(--grad-b), transparent 60%),
    linear-gradient(180deg, var(--grad-a), #ffffff);
}

.solutions-strong .eyebrow {
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #47b2e4;
  margin-bottom: .25rem;
  font-size: .8rem
}

.solutions-strong .subhead {
  max-width: 56ch;
  margin-inline: auto;
  color: #495057
}

.kpi-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin: 0 0 1rem 0;
  padding: 0;
  list-style: none
}

.kpi-chips li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid #e9ecef;
  padding: .5rem .75rem;
  border-radius: 999px;
  font-weight: 600
}

.kpi-chips .bi {
  font-size: 1rem;
  color: #47b2e4
}

.faq-container .faq-item h3 {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700
}

.faq-container .faq-item h3 .bi {
  color: #47b2e4
}

.faq-container .mini-bullets {
  list-style: none;
  margin: .5rem 0 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .35rem .75rem
}

.faq-container .mini-bullets li {
  position: relative;
  padding-left: 1rem
}

.faq-container .mini-bullets li::before {
  content: "";
  position: absolute;
  left: .25rem;
  top: .55rem;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #47b2e4;
  box-shadow: 0 0 0 3px rgba(71, 178, 228, .15)
}

/* CTA buttons a bit larger */
.btn-cta {
  padding: .6rem 1.1rem;
  border-radius: 999px;
  font-weight: 700
}


/* Always show FAQ content; clamp when collapsed */
.faq-container .faq-content {
  display: block !important;
  /* override template's display:none */
  transition: max-height .3s ease;
}

/* Collapsed state: show a tidy teaser */
.faq-container .faq-item:not(.faq-active) .faq-content {
  padding-top: 10px;
  max-height: 1.75rem;
  /* ~2 lines */
  overflow: hidden;
  position: relative;
}

/* Fade-out edge so users know there's more */
.faq-container .faq-item:not(.faq-active) .faq-content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.25rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
}

/* Clamp just the first paragraph for neatness */
.faq-container .faq-item:not(.faq-active) .faq-content p {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.25rem;
}

/* Keep bullets hidden when collapsed (optional) */
.faq-container .faq-item:not(.faq-active) .faq-content .mini-bullets {
  display: none;
}

/* 1) Smooth expand: give active panels a large max-height */
.faq-container .faq-item.faq-active .faq-content {
  max-height: 1000px;
  /* big enough for most content */
}

/* 2) Use the section bg color (fallback to white) for the fade */
.solutions-strong {
  --section-bg: #fff;
}

/* set once for this section */
.faq-container .faq-item:not(.faq-active) .faq-content::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--section-bg, #fff));
}

/* 3) Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .faq-container .faq-content {
    transition: none;
  }
}

/* 4) Toggle affordance: rotate chevron + enlarge click area */
.faq-container .faq-item .faq-toggle {
  transition: transform .25s ease;
  padding: .5rem;
  /* larger hit area */
  margin-right: -.5rem;
  /* keep alignment the same */
}

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


/* ===== Footer uplift (no CTA) ===== */
.footer-strong {
  position: relative;
  --ring: rgba(71, 178, 228, .18);
  background:
    radial-gradient(900px 500px at 20% -20%, var(--ring), rgba(0, 0, 0, 0) 60%),
    radial-gradient(700px 400px at 120% 10%, var(--ring), rgba(0, 0, 0, 0) 60%),
    var(--background-color);
}

/* Brand/value */
.footer-tagline {
  color: color-mix(in srgb, var(--contrast-color), transparent 15%);
  margin: .25rem 0 1rem 0;
}

/* Trust chips */
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .5rem;
  padding: 0;
  margin: 0 0 .5rem 0;
  list-style: none;
}

.trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--contrast-color);
  padding: .4rem .6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
}

.trust-chips .bi {
  font-size: 1rem;
  color: var(--accent-color);
}

/* Link groups */
.footer .footer-links h4 {
  font-weight: 700;
  letter-spacing: .01em;
  margin-bottom: .5rem;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--contrast-color), transparent 25%);
}

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

/* Bottom bar */
.footer .copyright {
  padding-top: 18px;
  padding-bottom: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer .copyright .legal a {
  color: color-mix(in srgb, var(--contrast-color), transparent 35%);
}

.footer .copyright .legal a:hover {
  color: var(--accent-color);
}

/* Keep dark theming consistent */
.footer.dark-background {
  --background-color: #1b2535;
  --heading-color: #eef3f8;
  --default-color: #c9d4e3;
  --surface-color: #243149;
  --contrast-color: #ffffff;
}


/* Impact KPIs, styled like How-It-Works cards */
.kpis-section {
  padding-block: 44px;
}

.kpis-section .section-title {
  margin-bottom: 18px;
}

/* Reuse service-item shell but tune for KPIs */
.service-item.kpi {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 6px;
  padding: 18px 20px;
  /* tighter */
  border-radius: 0;
  /* square per your preference */
  border: 1px solid rgba(0, 0, 0, .08);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(71, 178, 228, .06), transparent 60%),
    #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 36px rgba(0, 0, 0, .07);
}

.service-item.kpi:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, .05), 0 18px 48px rgba(0, 0, 0, .10);
  border-color: rgba(0, 0, 0, .10);
}

/* Icon — small & subtle */
.service-item.kpi .icon {
  line-height: 0;
  margin-bottom: 2px;
}

.service-item.kpi .icon i {
  font-size: 20px;
  opacity: .95;
}

/* KPI text hierarchy — lighter + compact */
.service-item.kpi .kpi-value {
  font-weight: 600;
  /* lighter (you asked to avoid heavy) */
  letter-spacing: -0.005em;
  line-height: 1.1;
  font-size: clamp(22px, 2.4vw, 30px);
  margin: 0;
}

.service-item.kpi .kpi-label {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  color: #1b2a4e;
}

.service-item.kpi .kpi-footnote {
  font-size: 12.5px;
  line-height: 1.25;
  color: #5b667a;
  margin: 0;
}

/* Respect your “no-rounded” look globally for KPI cards only */
.item-cyan.kpi,
.item-orange.kpi,
.item-teal.kpi {
  border-radius: 0;
}

/* If those item-* classes add colored backgrounds in your theme, neutralize for KPIs */
.service-item.kpi.item-cyan,
.service-item.kpi.item-orange,
.service-item.kpi.item-teal {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(71, 178, 228, .06), transparent 60%),
    #fff !important;
}


/* === Solutions · Card Tabs Look & Smooth Switch === */
/* --- Solutions: uniform card tabs --- */
:root {
  --brand: #47b2e4;
  --ink: #22324a;
  --muted: #5b6b7f;
  --edge: #e8edf3;
  --panel: #fff;
  --shadow: 0 8px 24px rgba(15, 23, 42, .06);
  --radius: 16px;
}

/* remove default tab look */
/* Kill Bootstrap's default tab look in this section */
#solutions .nav-tabs {
  border: 0;
}

#solutions .nav-tabs .nav-link {
  border: 0;
  background: none;
  padding: 0;
}

/* Ensure each <li> lets the button fill the grid cell */
#solutions .solutions-cards-grid>li {
  display: flex;
}

/* Uniform card tabs: fixed height + centered content */
#solutions .nav-tabs .card-tab {
  /* make sure our styles beat Bootstrap */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column;

  height: 150px;
  min-height: 150px;
  width: 100%;
  gap: .6rem;
  padding: 1.2rem;

  border: 1px solid var(--edge);
  border-radius: 12px;
  background: var(--panel);
  color: var(--ink);
  text-align: center;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

/* Icon + label */
#solutions .nav-tabs .card-tab i {
  font-size: 1.35rem;
  line-height: 1;
  opacity: .9;
}

#solutions .nav-tabs .card-tab span {
  line-height: 1.15;
  display: block;
  text-wrap: balance;
}

/* Hover */
#solutions .nav-tabs .card-tab:hover {
  transform: translateY(-2px);
}

/* Active state: filled brand card */
#solutions .nav-tabs .card-tab.active {
  background: var(--brand) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 8px 24px rgba(71, 178, 228, .25);
}

#solutions .nav-tabs .card-tab.active i {
  color: #fff;
}

/* Inactive color (make links not bright blue) */
#solutions .nav-tabs .card-tab:not(.active) {
  color: var(--ink);
}

#solutions .nav-tabs .card-tab:not(.active) i {
  color: inherit;
}

/* Grid for equal widths (remove any col-* classes from <li>) */
#solutions .solutions-cards-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  align-items: stretch;
  margin-bottom: 12px;
  /* space under the row */
}

/* Responsive columns while keeping uniform box size */
@media (max-width: 1199.98px) {
  #solutions .solutions-cards-grid {
    grid-template-columns: repeat(4, minmax(190px, 1fr));
  }
}

@media (max-width: 991.98px) {
  #solutions .solutions-cards-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

@media (max-width: 767.98px) {
  #solutions .solutions-cards-grid {
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    overflow-x: auto;
    padding-bottom: .25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
}

/* Content polish */
#solutions .solution-title {
  letter-spacing: .2px;
  margin-bottom: .25rem;
}

#solutions .solution-lead {
  color: #4b5563;
  margin-bottom: .6rem;
}

#solutions .solution-note {
  color: #6b7280;
}

/* Brand check bullets */
#solutions .solution-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 .6rem;
}

#solutions .solution-list.checks li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: .4rem 0;
  color: #1f2937;
}

#solutions .solution-list.checks i {
  flex: 0 0 auto;
  margin-top: .2rem;
  font-size: 1.05rem;
  color: var(--brand);
}

/* Illustration card (scales any SVG/PNG nicely) */
#solutions .illus-card {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(180deg, #f6fbff, #edf6fb);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow);
  height: 240px;
  /* fixed, consistent */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

#solutions .illus-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: saturate(1.02);
}

/* Small brand badge on top like your screenshot */
#solutions .illus-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(71, 178, 228, .3);
  z-index: 2;
}

#solutions .illus-badge i {
  font-size: 1.1rem;
}

/* Smooth tab switch */
#solutions .tab-pane {
  transition: opacity .22s ease, transform .22s ease;
}

#solutions .tab-pane.show.active {
  transform: translateY(0);
}

#solutions .tab-pane:not(.show) {
  transform: translateY(6px);
}

/* Tighten spacing below the tabs row */
#solutions #solutionsCardTabs {
  margin-bottom: .5rem;
}



/* === Solutions: Card Tabs, Uniform Tiles, Centered === */
#solutions .nav-tabs {
  border: 0;
}

#solutions .nav-tabs .nav-link {
  border: 0;
  background: none;
  padding: 0;
}

#solutions .solutions-cards-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  align-items: stretch;
  margin-bottom: 12px;
}

@media (max-width:1199.98px) {
  #solutions .solutions-cards-grid {
    grid-template-columns: repeat(4, minmax(190px, 1fr));
  }
}

@media (max-width:991.98px) {
  #solutions .solutions-cards-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

@media (max-width:767.98px) {
  #solutions .solutions-cards-grid {
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    overflow-x: auto;
    padding-bottom: .25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
}

#solutions .solutions-cards-grid>li {
  display: flex;
}

#solutions .nav-tabs .card-tab {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column;
  height: 150px;
  min-height: 150px;
  width: 100%;
  gap: .6rem;
  padding: 1.2rem;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: var(--surface-color);
  color: var(--heading-color);
  text-align: center;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(2, 8, 23, .06);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

#solutions .nav-tabs .card-tab:hover {
  transform: translateY(-2px);
}

#solutions .nav-tabs .card-tab i {
  font-size: 1.35rem;
  line-height: 1;
  opacity: .9;
}

#solutions .nav-tabs .card-tab span {
  line-height: 1.15;
  display: block;
  text-wrap: balance;
}

#solutions .nav-tabs .card-tab.active {
  background: var(--accent-color) !important;
  color: var(--contrast-color) !important;
  border-color: transparent !important;
  box-shadow: 0 8px 24px rgba(71, 178, 228, .25);
}

#solutions .nav-tabs .card-tab.active i {
  color: var(--contrast-color);
}

/* Solutions body spacing so Impact has breathing room */
#solutions .tab-content {
  margin-bottom: 56px;
}

/* Solution text polish */
#solutions .solution-title {
  letter-spacing: .2px;
  margin-bottom: .25rem;
}

#solutions .solution-lead {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: .6rem;
}

#solutions .solution-note {
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}

#solutions .solution-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 .6rem;
}

#solutions .solution-list.checks li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: .4rem 0;
  color: var(--default-color);
}

#solutions .solution-list.checks i {
  flex: 0 0 auto;
  margin-top: .2rem;
  font-size: 1.05rem;
  color: var(--accent-color);
}

/* Illustration card – larger and clean */
#solutions .illus-card {
  position: relative;
  border-radius: 16px;
  background: #f7fafc;
  border: 1px solid #e8edf3;
  box-shadow: 0 10px 28px rgba(2, 8, 23, .06);
  height: 280px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

#solutions .illus-card.illus-xl {
  height: 360px;
}

#solutions .illus-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: saturate(1.02);
}

#solutions .illus-badge {
  display: none;
}

/* === Impact full-width band === */
#impact.section-band .band-bg {
  width: 100%;
  background: linear-gradient(180deg, #f4f8ff 0%, #eef6fb 100%);
  border-top: 1px solid #e6edf5;
  border-bottom: 1px solid #e6edf5;
  padding: 56px 0;
}


/* Restore Impact spacing without full-width band */
#impact.section {
  padding-top: 40px;
  padding-bottom: 40px;
}

#impact .container {
  max-width: 1140px;
}


/* === IMPACT: own color schema with full-bleed gradient === */
#impact.impact-themed {
  position: relative;
  overflow: visible;
  isolation: isolate;
  padding: 72px 0;
}

#impact.impact-themed::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at -5% 0%, rgba(71, 178, 228, .25) 0%, rgba(71, 178, 228, 0) 65%),
    radial-gradient(1000px 600px at 105% 10%, rgba(98, 106, 229, .18) 0%, rgba(98, 106, 229, 0) 60%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 70%);
}

#impact.impact-themed>* {
  position: relative;
  z-index: 1;
}

/* Tighten the gap between Solutions and Impact but keep visual separation */
#solutions .tab-content {
  margin-bottom: 40px;
}

/* slightly less now that Impact has its own bg */


/* (cleaned) Full-bleed IMPACT gradient and motion safety */
#impact.impact-themed {
  position: relative;
  overflow: visible;
  isolation: isolate;
  padding: 72px 0;
}

#impact.impact-themed::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at -5% 0%, rgba(71, 178, 228, .25) 0%, rgba(71, 178, 228, 0) 65%),
    radial-gradient(1000px 600px at 105% 10%, rgba(98, 106, 229, .18) 0%, rgba(98, 106, 229, 0) 60%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 70%);
}

#impact.impact-themed>* {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* makes the image itself semi-transparent
#solutions .illus-fade { opacity: .6; mix-blend-mode: multiply; }
  */


/* === Rounded illustration image (no frame) === */
#solutions .illus-card,
#solutions .illus-card.illus-xl {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  aspect-ratio: 16 / 10;
  /* keep your chosen ratio */
  height: auto;
}

/* Round just the image */
#solutions .illus-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0 !important;
  border-radius: 12px;
  /* <— adjust radius here */
}

/* If any parent adds a background, make sure it doesn't show around corners */
#solutions .illus-card,
#solutions .tab-pane .col-lg-6.d-none.d-lg-block {
  background: transparent !important;
}


/* Solutions section tweaks (fits Arsha/Bootstrap) */
#solutions .service-item {
  border-radius: 1rem;
  padding: 1.5rem 1.5rem 1.75rem;
}

#solutions .service-item .icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  font-size: 1.25rem;
}

/* Palette hooks that harmonize with Arsha */
#solutions .item-cyan .icon {
  background: rgba(71, 178, 228, 0.15);
}

#solutions .item-teal .icon {
  background: rgba(32, 201, 151, 0.15);
}

/* Bullets */
#solutions .solution-bullets {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: .5rem;
}

#solutions .solution-bullets li {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
}

#solutions .solution-bullets i {
  margin-top: .1rem;
}

/* Illustration cards (matches Arsha's illus-card look) */
.illus-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--surface, #0d1117);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.illus-card img.illus-fade {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.98;
  transition: transform .5s ease, opacity .5s ease;
}

.illus-card:hover img.illus-fade {
  transform: scale(1.02);
  opacity: 1;
}

/* Aspect-ratio helpers (prevents layout shift) */
.object-cover-16x10 {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.object-cover-4x3 {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Compare strip (optional) */
.compare-strip .compare-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
}

#solutions .service-item h3.mb-2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}


/* #solutions .service-item h3.mb-2{font-weight:700;letter-spacing:.2px;margin-bottom:.25rem} */
#solutions .service-item p.mb-3 {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 25px;
}

/* #solutions .service-item p.mb-3{font-size:.985rem;line-height:1.6;margin-bottom:.75rem} */


#solutions .steps-features .feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

#solutions .steps-features .feature-item:last-child {
  margin-bottom: 0;
}

#solutions .steps-features .feature-item i {
  color: var(--accent-color);
  font-size: 18px;
  margin-right: 10px;
}

#solutions .steps-features .feature-item span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

/* ===========================================
   Yutanix Platform Section — Visual Harmony
   =========================================== */

/* Base card styling refinement */
.steps-item {
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #ffffff;
}

.steps-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* Image containers */
.steps-image {
  position: relative;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  overflow: hidden;
}

/* Apply soft overlay gradient (Yutanix brand blues) */
.steps-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right,
      rgba(55, 81, 126, 0.25),
      /* brand dark blue */
      rgba(70, 104, 162, 0.15)
      /* brand mid blue */
    );
  mix-blend-mode: soft-light;
  pointer-events: none;
}

/* Ensure consistent brightness and tone */
.steps-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.98) saturate(1.05) contrast(1.03);
  transition: filter 0.3s ease;
}

.steps-item:hover .steps-image img {
  filter: brightness(1.05) saturate(1.1);
}

/* Title and text alignment */
.steps-content h3 {
  color: #1b2a4e;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.steps-content p {
  color: #3a4662;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Feature list refinements */
.steps-features .feature-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  color: #2e3b55;
  font-size: 0.9rem;
}

.steps-features .bi-check-circle {
  color: #47b2e4;
  /* Accent blue icon color */
  font-size: 1rem;
}


/* ================================
   Yutanix — SOLUTIONS section polish
   Works with either:
   - Existing Platform classes: .steps-item, .steps-image, .steps-content
   - Or add utility classes: .hub-card, .hub-image, .hub-content, .hub-icon
   Scopes to #solutions to avoid bleed.
   ================================ */

/* Card shell */
#solutions .steps-item,
#solutions .hub-card {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform .28s ease, box-shadow .28s ease;
}

/* Hover lift */
#solutions .steps-item:hover,
#solutions .hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* Image wrapper */
#solutions .steps-image,
#solutions .hub-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* Subtle brand-blue overlay to unify tones */
#solutions .steps-image::after,
#solutions .hub-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(55, 81, 126, 0.18),
      rgba(71, 178, 228, 0.10));
  mix-blend-mode: soft-light;
  pointer-events: none;
}

/* Image tuning */
#solutions .steps-image img,
#solutions .hub-image img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0.98) saturate(1.05) contrast(1.03);
  transition: transform .28s ease, filter .28s ease;
}

#solutions .steps-item:hover .steps-image img,
#solutions .hub-card:hover .hub-image img {
  transform: scale(1.02);
  filter: brightness(1.03) saturate(1.08);
}

/* Content area */
#solutions .steps-content,
#solutions .hub-content {
  padding-top: .5rem;
}

/* Equalize card heights on desktops */
@media (min-width: 992px) {

  #solutions .steps-content,
  #solutions .hub-content {
    min-height: 240px;
    /* adjust if your bullets run longer */
  }
}

/* Section badges/icons */
#solutions .hub-icon,
#solutions .steps-item .bi {
  color: #37517e;
}

#solutions .hub-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(71, 178, 228, 0.10);
  box-shadow: inset 0 0 0 1px rgba(71, 178, 228, 0.25);
}

/* Bullet rows */
#solutions .steps-features .feature-item,
#solutions .hub-features .feature-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #2e3b55;
  font-size: .95rem;
  margin-bottom: .45rem;
}

#solutions .steps-features .bi-check-circle,
#solutions .hub-features .bi-check-circle {
  color: #47b2e4;
}

/* Optional: very light cool tint for the right (Intelligence) image only */
#solutions .row>[class*="col-"]:nth-child(2) .steps-image img,
#solutions .row>[class*="col-"]:nth-child(2) .hub-image img {
  filter: hue-rotate(-6deg) brightness(0.97) saturate(1.06);
}

/* Mobile spacing harmony */
@media (max-width: 991.98px) {

  #solutions .steps-item,
  #solutions .hub-card {
    margin-bottom: 1.5rem;
  }
}


/* ===== Market / Growth band ===== */
.market-band {
  position: relative;
  color: #fff;
  overflow: clip;
  padding: 4rem 0 4.75rem;
  /* body height; angles add extra visual space */
  background:
    radial-gradient(1200px 600px at 85% 15%, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(180deg, #0b1d45 0%, #0c1f49 55%, #0e204c 100%);
  /* deep navy */
  isolation: isolate;
}

.market-band .eyebrow {
  letter-spacing: .02em;
  text-transform: none;
  opacity: .9;
  font-weight: 700;
}

.market-band .display-5 {
  line-height: 1.05;
}

.market-copy {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 42ch;
  opacity: .95;
}

/* KPIs */
.market-kpis .kpi {
  padding-right: .5rem;
}

.kpi-value {
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1;
  letter-spacing: -.01em;
}

.kpi-value .unit {
  font-weight: 700;
  font-size: .55em;
  margin-left: .1em;
}

.kpi-label {
  margin-top: .35rem;
  font-size: .95rem;
  opacity: .9;
}

/* Angled top/bottom edges */
.market-angle-top,
.market-angle-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 110px;
  background: #fff;
  z-index: -1;
}

.market-angle-top {
  top: -80px;
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0% 100%);
}

.market-angle-bottom {
  bottom: -80px;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0% 100%);
}

/* Light theme compatibility (your site prefers light) */
:root .market-band {
  --bs-primary-rgb: 71, 178, 228;
}

/* keep primary accent */
.market-band .text-primary {
  color: rgb(var(--bs-primary-rgb)) !important;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .market-band {
    padding: 3.25rem 0 3.75rem;
  }

  .market-copy {
    max-width: none;
  }
}

@media (max-width: 575.98px) {
  .kpi-value {
    font-size: 2.2rem;
  }

  .kpi-label {
    font-size: .95rem;
  }
}


/* --- Yutanix Platform Flow (Arsha-aligned) --- */
#platform-flow {
  /* Use Arsha variables so it adapts to themes */
  --pf-border-radius: 16px;
  --pf-shadow: 0 10px 24px rgba(0, 0, 0, .06);
  --pf-shadow-hover: 0 14px 36px rgba(0, 0, 0, .10);
  --pf-max-w-xl: 1100px;
  /* desktop cap */
  --pf-max-w-lg: 920px;
  /* laptop cap */
  --pf-max-w-md: 760px;
  /* tablet cap */
  --pf-aspect: 21 / 9;
  /* wide banner feel */
}

#platform-flow .section-title h2 {
  color: var(--heading-color);
  margin-bottom: .35rem;
}

#platform-flow .section-title p {
  color: var(--default-color);
  opacity: .9;
  max-width: 720px;
  margin-inline: auto;
}

/* Wrapper that constrains size to avoid overpowering the page */
#platform-flow .platform-figure {
  width: 100%;
  max-width: var(--pf-max-w-xl);
  margin: 0 auto;
}

/* The image scales inside a fixed aspect box, stays crisp, and never grows too tall */
#platform-flow .platform-graphic {
  display: block;
  width: 100%;
  aspect-ratio: var(--pf-aspect);
  object-fit: contain;
  background: var(--surface-color, #f5f7fb);
  border-radius: var(--pf-border-radius);
  box-shadow: var(--pf-shadow);
  transition: box-shadow .25s ease, transform .25s ease;
  /* Subtle border that matches Arsha palette */
  border: 1px solid color-mix(in oklab, var(--heading-color), transparent 80%);
}

/* Light, tasteful hover consistent with Arsha cards */
#platform-flow .platform-graphic:hover {
  transform: translateY(-2px);
  box-shadow: var(--pf-shadow-hover);
}

/* Optional caption style (if you enable it) */
#platform-flow .platform-caption {
  text-align: center;
  font-size: .95rem;
  color: var(--default-color);
  opacity: .8;
  margin-top: .5rem;
}

/* Responsive caps so it never dominates on smaller screens */
@media (max-width: 1199.98px) {
  #platform-flow .platform-figure {
    max-width: var(--pf-max-w-lg);
  }
}

@media (max-width: 991.98px) {
  #platform-flow .platform-figure {
    max-width: var(--pf-max-w-md);
  }

  #platform-flow .section-title p {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  #platform-flow .platform-graphic {
    border-radius: 12px;
    aspect-ratio: 16 / 9;
    /* a bit taller on phones for readability */
  }
}

/* Respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
  #platform-flow .platform-graphic {
    transition: none;
  }
}


/* ===== Yutanix tokens (adjust to exact brand if needed) ===== */
:root {
  --ytnx-ink: #0b1b3b;
  --ytnx-blue-700: #2e446c;
  --ytnx-blue-600: #37517e;
  --ytnx-blue-500: #4668a2;
  --ytnx-sky-500: #3ea7db;
  --ytnx-sky-400: #47b2e4;
  --ytnx-sky-300: #7ccaf0;
  --ytnx-card: #ffffff;
}

/* ===== Section ===== */
.ytnx-how {
  background: #fff;
  padding: 96px 0 88px;
}

.ytnx-how .section-title h2 {
  color: var(--ytnx-blue-600);
  font-weight: 800;
  letter-spacing: .25px;
}

.ytnx-how .section-title p {
  color: #5b6a85;
}

/* ===== Horizontal flow rail ===== */
.ytnx-hflow {
  list-style: none;
  margin: 0;
  padding: 64px 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.ytnx-hflow::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 8px;
  transform: translateY(-50%);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(90deg, var(--ytnx-sky-300), var(--ytnx-sky-400), var(--ytnx-sky-300));
  background-size: 200% 100%;
  animation: ytnx-rail-move 6s linear infinite;
  opacity: .95;
}

@keyframes ytnx-rail-move {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* Each item */
.ytnx-hflow__item {
  position: relative;
  min-height: 176px;
}

/* Marker on rail */
.ytnx-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fff 0 30%, var(--ytnx-sky-400) 31% 100%);
  box-shadow: 0 0 0 6px rgba(71, 178, 228, .16), 0 0 14px rgba(71, 178, 228, .55);
  z-index: 2;
}

.ytnx-marker::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 178, 228, .35) 20%, transparent 70%);
  animation: ytnx-pulse 2.6s infinite;
}

@keyframes ytnx-pulse {
  0% {
    transform: scale(1);
    opacity: .8;
  }

  70% {
    transform: scale(1.6);
    opacity: 0;
  }

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

/* ===== Cards ===== */
.ytnx-card {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  padding: 16px 14px;
  border-radius: 16px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(248, 251, 255, .96)),
    radial-gradient(120% 120% at 10% 0%, rgba(124, 202, 240, .10), transparent 55%);
  backdrop-filter: saturate(1.2) blur(1.5px);
  border-top: 6px solid var(--ytnx-sky-400);
  box-shadow: 0 8px 18px rgba(7, 42, 100, .08), inset 0 1px 0 rgba(255, 255, 255, .65);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ytnx-card--top {
  bottom: calc(50% + 34px);
}

.ytnx-card--bottom {
  top: calc(50% + 34px);
}

.ytnx-card:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 16px 32px rgba(7, 42, 100, .12);
  border-top-color: var(--ytnx-blue-500);
}

/* Number badge */
.ytnx-card__badge {
  position: absolute;
  top: -14px;
  left: -14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--ytnx-blue-600), var(--ytnx-blue-700));
  box-shadow: 0 6px 14px rgba(46, 68, 108, .25);
}

/* Icon chip */
.ytnx-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #eaf6fd, #d9effb);
  box-shadow: inset 0 0 0 1px rgba(71, 178, 228, .35);
}

.ytnx-card__icon i {
  font-size: 24px;
  color: var(--ytnx-sky-400);
  transition: transform .25s ease;
}

.ytnx-card:hover .ytnx-card__icon i {
  transform: scale(1.08);
}

/* Title */
.ytnx-card__title {
  font-weight: 900;
  letter-spacing: .25px;
  color: var(--ytnx-blue-600);
  white-space: nowrap;
}

/* Focus / active accessibility */
.ytnx-card:focus-visible {
  outline: none;
  box-shadow: 0 22px 46px rgba(71, 178, 228, .20);
  border-top-color: var(--ytnx-ink);
}

.ytnx-card:focus-visible .ytnx-card__title {
  color: var(--ytnx-ink);
}

.ytnx-card:focus-visible .ytnx-card__icon i {
  color: var(--ytnx-ink);
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .ytnx-card {
    width: 180px;
  }
}

@media (max-width: 992px) {
  .ytnx-hflow {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 72px;
  }
}

@media (max-width: 576px) {
  .ytnx-hflow {
    display: block;
    padding: 0;
  }

  .ytnx-hflow::before {
    display: none;
  }

  .ytnx-marker {
    display: none;
  }

  .ytnx-hflow__item {
    min-height: auto;
    margin-bottom: 14px;
  }

  .ytnx-card {
    position: static;
    transform: none;
    width: 100%;
    text-align: left;
    flex-direction: row;
    gap: 12px;
    border-top-width: 4px;
    padding: 14px;
  }

  .ytnx-card__badge {
    left: auto;
    right: 10px;
    top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ytnx-hflow::before {
    animation: none;
  }

  .ytnx-marker::after {
    animation: none;
  }

  .ytnx-card,
  .ytnx-card:hover {
    transition: none;
    transform: translateX(-50%);
  }
}

/* ==== CONNECTOR STEMS (card -> central rail) ==== */
/* keep the card offset + stem length in sync */
:root {
  --ytnx-stem: 34px;
}

/* height of the connector */

.ytnx-card--top {
  bottom: calc(50% + var(--ytnx-stem));
}

.ytnx-card--bottom {
  top: calc(50% + var(--ytnx-stem));
}

/* the vertical connector line */
.ytnx-card::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: var(--ytnx-stem);
  background: linear-gradient(var(--ytnx-sky-300), var(--ytnx-sky-400));
  border-radius: 2px;
  z-index: 1;
  /* under the badge but above bg */
}

.ytnx-card--top::after {
  bottom: calc(-1 * var(--ytnx-stem));
}

.ytnx-card--bottom::after {
  top: calc(-1 * var(--ytnx-stem));
}

/* mobile: rail is hidden, so hide stems too */
@media (max-width: 576px) {
  .ytnx-card::after {
    display: none;
  }
}


/* =============================
   Yutanix overrides and components
   (Appended non-destructively)
   ============================= */

/* Color presets for impact & dark backgrounds */
.impact-background {
  --background-color: #37517e;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #4668a2;
  --contrast-color: #ffffff;
}

.dark-background {
  --background-color: #37517e;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #4668a2;
  --contrast-color: #ffffff;
}

/* Footer brand casing: Capital first letter only */
.footer .footer-about a,
.footer .footer-about .sitename {
  text-transform: lowercase;
  font-weight: 600;
}

.footer .footer-about a::first-letter,
.footer .footer-about .sitename::first-letter {
  text-transform: uppercase;
}

/* Aspect-ratio helpers + object-fit */
.object-cover-16x10 {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.object-cover-4x3 {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Solution illustration card sizing */
#solutions .illus-card {
  position: relative;
  border-radius: 16px;
  background: #f7fafc;
  border: 1px solid #e8edf3;
  box-shadow: 0 10px 28px rgba(2, 8, 23, .06);
  height: 280px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

#solutions .illus-card.illus-xl {
  height: 360px;
}

#solutions .illus-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: saturate(1.02);
}

/* Horizontal Flow (How it Works) */
:root {
  --ytnx-ink: #0f172a;
  --ytnx-edge: #e2e8f0;
  --ytnx-blue-500: #3b82f6;
  --ytnx-blue-600: #2563eb;
  --ytnx-blue-700: #1d4ed8;
  --ytnx-sky-300: #7dd3fc;
  --ytnx-sky-400: #38bdf8;
}

.ytnx-hflow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 28px;
  row-gap: 90px;
  align-items: center;
  padding: 10px 0;
}

.ytnx-hflow::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(56, 189, 248, .15), rgba(37, 99, 235, .25), rgba(56, 189, 248, .15));
  border-radius: 3px;
}

.ytnx-hflow__item {
  position: relative;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ytnx-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, .35);
  z-index: 0;
}

.ytnx-marker::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, .35), 0 0 0 8px rgba(37, 99, 235, .12);
  animation: ytnx-pulse 2.6s ease-in-out infinite;
}

@keyframes ytnx-pulse {
  0% {
    opacity: .66;
    transform: scale(1);
  }

  70% {
    opacity: 0;
    transform: scale(1.25);
  }

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

.ytnx-card {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 200px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f9fbfe);
  border: 1px solid var(--ytnx-edge);
  border-top: 6px solid var(--ytnx-blue-600);
  box-shadow: 0 12px 28px rgba(7, 42, 100, .10);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ytnx-card:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 16px 32px rgba(7, 42, 100, .12);
  border-top-color: var(--ytnx-blue-500);
}

:root {
  --ytnx-stem: 34px;
}

.ytnx-card--top {
  bottom: calc(50% + var(--ytnx-stem));
}

.ytnx-card--bottom {
  top: calc(50% + var(--ytnx-stem));
}

.ytnx-card::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: var(--ytnx-stem);
  background: linear-gradient(var(--ytnx-sky-300), var(--ytnx-sky-400));
  border-radius: 2px;
  z-index: 1;
}

.ytnx-card--top::after {
  bottom: calc(-1 * var(--ytnx-stem));
}

.ytnx-card--bottom::after {
  top: calc(-1 * var(--ytnx-stem));
}

.ytnx-card__badge {
  position: absolute;
  top: -14px;
  left: -14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--ytnx-blue-600), var(--ytnx-blue-700));
  box-shadow: 0 6px 14px rgba(46, 68, 108, .25);
}

.ytnx-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #eaf6fd, #d9effb);
  box-shadow: inset 0 0 0 1px rgba(71, 178, 228, .35);
}

.ytnx-card__icon i {
  font-size: 24px;
  color: var(--ytnx-sky-400);
  transition: transform .25s ease;
}

.ytnx-card:hover .ytnx-card__icon i {
  transform: scale(1.08);
}

.ytnx-card__title {
  font-weight: 900;
  letter-spacing: .25px;
  color: var(--ytnx-blue-600);
  white-space: nowrap;
}

.ytnx-card:focus-visible {
  outline: none;
  box-shadow: 0 22px 46px rgba(71, 178, 228, .20);
  border-top-color: var(--ytnx-ink);
}

.ytnx-card:focus-visible .ytnx-card__title {
  color: var(--ytnx-ink);
}

.ytnx-card:focus-visible .ytnx-card__icon i {
  color: var(--ytnx-ink);
}

@media (max-width:1200px) {
  .ytnx-card {
    width: 180px;
  }
}

@media (max-width:992px) {
  .ytnx-hflow {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 72px;
  }
}

@media (max-width:576px) {
  .ytnx-hflow {
    display: block;
    padding: 0;
  }

  .ytnx-hflow::before,
  .ytnx-marker,
  .ytnx-card::after {
    display: none;
  }

  .ytnx-hflow__item {
    min-height: auto;
    margin-bottom: 14px;
  }

  .ytnx-card {
    position: static;
    transform: none;
    width: 100%;
    text-align: left;
    flex-direction: row;
    gap: 12px;
    border-top-width: 4px;
    padding: 14px;
  }

  .ytnx-card__badge {
    left: auto;
    right: 10px;
    top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ytnx-hflow::before {
    animation: none;
  }

  .ytnx-marker::after {
    animation: none;
  }

  .ytnx-card,
  .ytnx-card:hover {
    transition: none;
    transform: translateX(-50%);
  }
}


/* ===== Yutanix quick color fix: How It Works (journey) ===== */
section.ytnx-how,
#journey.ytnx-how {
  /* ensure this section uses the default site colors */
  --heading-color: #37517e;
  --default-color: #444444;
}

.ytnx-how .section-title h2 {
  color: var(--heading-color);
}

.ytnx-how .section-title p {
  color: var(--default-color);
}

/* Flow card title text should match headings, not bright blue */
.ytnx-how .ytnx-card__title {
  color: var(--heading-color);
}

/* Keep icons blue but not text */
.ytnx-how .ytnx-card__icon i {
  color: #2563eb;
}

/* Lighten How-It-Works card chrome to match connector */
.ytnx-how {
  --ytnx-sky-300: #7dd3fc;
  /* connector light */
  --ytnx-sky-400: #38bdf8;
  /* connector mid   */
}

/* remove the strong blue border and replace with a subtle gradient stripe */
.ytnx-how .ytnx-card {
  border-top: 0;
  /* kill the darker top border */
  position: relative;
}

.ytnx-how .ytnx-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  border-top-left-radius: 16px;
  /* follow card radius */
  border-top-right-radius: 16px;
  background: linear-gradient(90deg, var(--ytnx-sky-300), var(--ytnx-sky-400));
}

/* badge: lighter gradient like the connector */
.ytnx-how .ytnx-card__badge {
  background: linear-gradient(145deg, var(--ytnx-sky-300), var(--ytnx-sky-400));
  box-shadow: 0 6px 12px rgba(56, 189, 248, .25);
}

/* icon tint stays light; title uses your standard heading color */
.ytnx-how .ytnx-card__icon i {
  color: var(--ytnx-sky-400);
}

.ytnx-how .ytnx-card__title {
  color: var(--heading-color);
}

/* optional: soften the card shadow a touch */
.ytnx-how .ytnx-card,
.ytnx-how .ytnx-card:hover {
  box-shadow: 0 10px 24px rgba(7, 42, 100, .08);
}

/* keep the rail centered and just push the summary down */
.ytnx-how .ytnx-hflow {
  padding-bottom: 0;
  /* undo the previous fix */
  margin-bottom: 120px;
  /* space for the summary */
}

/* small-screen tweak */
@media (max-width:576px) {
  .ytnx-how .ytnx-hflow {
    margin-bottom: 72px;
  }
}

/* Ensure the summary sits clearly and reads well */
.ytnx-how .ytnx-summary {
  margin-top: 8px;
  position: relative;
  z-index: 1;
  /* in case any decorative lines overlap */
}

/* Watch section (matches product-section rhythm) */
.ytnx-gradient {
  /* keep your existing hero gradient */
  background: linear-gradient(135deg, #4b5de3 0%, #3e67d9 20%, #3c75c8 45%, #349fb1 75%, #3ac59c 100%);
  color: #fff;
}

.ytnx-watch .section-title h2 {
  color: #fff;
}

.ytnx-watch .section-title p {
  color: rgba(255, 255, 255, .85);
  max-width: 900px;
  margin-inline: auto;
}

.ytnx-video-wrap {
  max-width: 1080px;
}

.ytnx-watch .container.section-title {
  padding-top: 64px;
}

.ytnx-watch .container:not(.section-title) {
  padding-bottom: 84px;
}

/* dotted accents */
.ytnx-dots {
  position: absolute;
  width: 112px;
  height: 140px;
  --dot: radial-gradient(currentColor 1.5px, transparent 1.6px);
  background: var(--dot) 0 0/12px 12px, var(--dot) 6px 6px/12px 12px;
  color: rgba(255, 255, 255, 0.65);
  pointer-events: none;
}

.ytnx-dots.tl {
  left: -40px;
  top: -32px;
}

.ytnx-dots.br {
  right: -40px;
  bottom: -32px;
}

/* video card and play control */
.ytnx-video-frame {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  position: relative;
}

.ytnx-video-frame img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #f2f5f9;
}

.ytnx-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .92);
  transition: transform .2s ease, background .2s ease;
}

.ytnx-play i {
  font-size: 44px;
  color: #4067e8;
}

.ytnx-video-frame:hover .ytnx-play {
  transform: scale(1.06);
  background: #fff;
}

@media (max-width: 575.98px) {
  .ytnx-dots {
    display: none;
  }

  .ytnx-watch .container.section-title {
    padding-top: 48px;
  }

  .ytnx-watch .container:not(.section-title) {
    padding-bottom: 64px;
  }

  .ytnx-play {
    width: 76px;
    height: 76px;
  }
}


/* ---- Platform Zone ---- */
.platform-zone {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(55, 81, 126, 0.10), transparent 60%),
    radial-gradient(1200px 600px at 90% -10%, rgba(0, 164, 180, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(245, 248, 255, 0.8), rgba(245, 248, 255, 0.6));
  backdrop-filter: saturate(1.05);
}

.platform-zone .section-title .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bs-primary);
  font-weight: 700;
  margin-bottom: .25rem;
}

.platform-zone .section-title h2 {
  font-weight: 800;
  line-height: 1.15;
}

.platform-zone .accent-underline {
  width: 88px;
  height: 4px;
  border-radius: 999px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, var(--bs-primary), #00a4b4);
  opacity: .9;
}

/* ---- Hub Cards ---- */
.hub-card {
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 24px;
  box-shadow:
    0 6px 18px rgba(18, 38, 63, 0.06),
    0 2px 6px rgba(18, 38, 63, 0.04);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.hub-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 32px rgba(18, 38, 63, 0.12),
    0 6px 12px rgba(18, 38, 63, 0.08);
  border-color: rgba(0, 0, 0, 0.10);
}

.hub-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #0b2a55;
  background: #e7eef9;
  border: 1px solid rgba(11, 42, 85, 0.08);
}

.hub-badge-teal {
  color: #063a40;
  background: #dff6f7;
  border-color: rgba(6, 58, 64, 0.08);
}

.hub-head .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #eef4ff, #e7eef9);
  border: 1px solid rgba(55, 81, 126, .15);
}

.hub-head .icon i {
  font-size: 1.35rem;
  line-height: 1;
  color: #37517e;
  /* match Arsha primary */
}

.hub-head h3 {
  font-weight: 800;
}

.hub-sub {
  color: rgba(0, 0, 0, 0.66);
}

/* ---- Features Grid ---- */
.steps-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 14px;
}

@media (min-width: 480px) {
  .steps-features {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 500;
}

.feature-item i {
  margin-top: 2px;
  font-size: 1.05rem;
  color: #1e88e5;
}

/* ---- Illustration framing (16:10 cover) ---- */
.object-cover-16x10 {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.illus-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 10px 20px rgba(18, 38, 63, 0.06);
  background: #fff;
}

.illus-fade {
  opacity: .98;
  transition: opacity .25s ease;
}

.hub-card:hover .illus-fade {
  opacity: 1;
}

/* ---- Motion accessibility ---- */
@media (prefers-reduced-motion: reduce) {

  .hub-card,
  .hub-card:hover,
  .illus-fade {
    transition: none !important;
    transform: none !important;
  }
}

/* Solutions: force one item per line */
#solutions .steps-features {
  display: grid !important;
  grid-template-columns: 1fr !important;
  /* always single column */
  gap: 10px !important;
  /* tidy spacing */
}

#solutions .steps-features .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}


/* ======= Small screens: keep HORIZONTAL with swipe ======= */
@media (max-width: 576px) {
  .ytnx-hflow {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 78vw;
    /* each step fills most of the viewport */
    gap: .9rem;
    overflow-x: auto;
    padding: 1rem 0 1.25rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .ytnx-hflow::-webkit-scrollbar {
    height: 8px;
  }

  .ytnx-hflow::-webkit-scrollbar-thumb {
    background: rgba(55, 81, 126, .35);
    border-radius: 999px;
  }

  /* keep the center line horizontal across the scroller */
  .ytnx-hflow::before {
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    width: auto;
    transform: translateY(-50%);
  }

  /* snap + readable cards */
  .ytnx-hflow__item {
    scroll-snap-align: center;
    min-width: unset;
  }

  .ytnx-card {
    width: 100%;
    min-height: 84px;
    margin: 0 auto;
    /* keep alternating offsets but subtler on small screens */
  }

  .ytnx-card--top {
    transform: translateY(-16px);
  }

  .ytnx-card--bottom {
    transform: translateY(16px);
  }

  .ytnx-marker {
    width: 12px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .ytnx-card__icon i {
    font-size: 1.1rem;
  }

  .ytnx-card__title {
    white-space: nowrap;
  }
}

/* ======= Narrow tablets: horizontal scroll helper (unchanged) ======= */
@media (min-width: 577px) and (max-width: 820px) {
  .ytnx-hflow {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .ytnx-hflow__item {
    scroll-snap-align: start;
  }
}


/* Respect reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .animate-heartbeat {
    --hb-scale: 1.06;
    animation: ytnx-heartbeat 1.8s ease-in-out infinite;
    transform-origin: center;
    will-change: transform, filter;
  }

  @keyframes ytnx-heartbeat {
    0% {
      transform: scale(1);
      filter: drop-shadow(0 0 0 rgba(13, 110, 253, 0));
    }

    14% {
      transform: scale(var(--hb-scale));
      filter: drop-shadow(0 0 4px rgba(13, 110, 253, .25));
    }

    28% {
      transform: scale(1);
    }

    42% {
      transform: scale(var(--hb-scale));
      filter: drop-shadow(0 0 6px rgba(13, 110, 253, .30));
    }

    70% {
      transform: scale(1);
    }

    100% {
      transform: scale(1);
    }
  }
}


/* Platform section sizing */
#platform.platform-zone {
  padding-top: 5rem;
  padding-bottom: 5rem;
  min-height: 780px;
}

/* Center image frame (tall, premium look) */
#platform .device-frame {
  width: 100%;
  max-width: 380px;
  height: 560px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(33, 52, 89, 0.25);
  margin: 0 auto;
}

#platform .device-frame>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Icon swatches */
/* #platform .feat-swatch {
  width: 48px; height: 48px;
  display: inline-flex;
  justify-content: center; align-items: center;
  border-radius: 0.75rem;
}
#platform .swatch-blue   { background: linear-gradient(135deg,#8bd3ff,#4f79ff); }
#platform .swatch-pink   { background: linear-gradient(135deg,#ffa9d2,#ff6f91); }
#platform .swatch-orange { background: linear-gradient(135deg,#ffd29b,#ff8f3f); }
#platform .swatch-teal   { background: linear-gradient(135deg,#9be7d8,#22c1c3); }
#platform .swatch-violet { background: linear-gradient(135deg,#b39ddb,#6a5acd); }
#platform .swatch-ice    { background: linear-gradient(135deg,#ffcfdf,#b0f3f1); } */

/* Responsive tweaks */
@media (max-width: 1199.98px) {
  #platform .device-frame {
    height: 520px;
    max-width: 360px;
  }
}

@media (max-width: 991.98px) {
  #platform .device-frame {
    height: 440px;
    max-width: 320px;
  }
}

@media (max-width: 575.98px) {
  #platform .device-frame {
    height: 360px;
    max-width: 280px;
  }
}

/* ==== Shared feature token styles (used by Platform + Insights) ==== */
.feat-swatch {
  width: 48px;
  height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.75rem;
  flex: 0 0 48px;
}

.swatch-blue {
  background: linear-gradient(135deg, #8bd3ff, #4f79ff);
}

.swatch-pink {
  background: linear-gradient(135deg, #ffa9d2, #ff6f91);
}

.swatch-orange {
  background: linear-gradient(135deg, #ffd29b, #ff8f3f);
}

.swatch-teal {
  background: linear-gradient(135deg, #9be7d8, #22c1c3);
}

.swatch-violet {
  background: linear-gradient(135deg, #b39ddb, #6a5acd);
}

.swatch-ice {
  background: linear-gradient(135deg, #ffcfdf, #b0f3f1);
}

/* Optional: tighten card spacing at lg+ so it matches the Platform rhythm */
#insights .feature {
  margin-bottom: 1.25rem;
}

@media (min-width:992px) {
  #insights .feature {
    margin-bottom: 0;
  }
}

/* Make the swatch sit nicely in the card layout */
#insights .service-item .feat-swatch {
  margin-bottom: 0.5rem;
  box-shadow: 0 6px 18px rgba(33, 52, 89, .12);
}

#insights .service-item h5 {
  margin-bottom: .25rem;
}

/* Extra line between feature items inside #platform columns */
#platform .feature-item+.feature-item {
  margin-top: 4em;
}

/* ≈ one line */




/* ===== Solutions: standout band ===== */
#solutions.solutions-band {
  position: relative;
  padding: 5rem 0;
  background: radial-gradient(1200px 600px at 10% -10%, rgba(55, 81, 126, .08), transparent 60%),
    radial-gradient(1200px 600px at 90% 110%, rgba(55, 81, 126, .08), transparent 60%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 60%);
  overflow: hidden;
}

#solutions .section-title p {
  max-width: 820px;
  margin: 0 auto;
}

/* Cards */
#solutions .steps-item {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(23, 31, 56, .08);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(33, 52, 89, .10);
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

#solutions .steps-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 80px rgba(33, 52, 89, .14);
}

/* Image: tall, cinematic */
#solutions .steps-image {
  position: relative;
}

#solutions .steps-image img {
  width: 100%;
  height: 320px;
  /* desktop hero height */
  object-fit: cover;
  display: block;
}

@media (max-width: 991.98px) {
  #solutions .steps-image img {
    height: 260px;
  }
}

/* Content */
#solutions .steps-content {
  padding: 1.25rem 1.25rem 1.5rem;
}

#solutions .steps-content h3 {
  font-size: 1.25rem;
  margin-bottom: .5rem;
}

#solutions .steps-content p {
  color: #6c7a91;
  margin-bottom: 1rem;
}

/* Feature bullets (match Platform icon style) */
#solutions .steps-features {
  display: grid;
  gap: .5rem;
}

#solutions .feature-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
  color: #2d3850;
}

#solutions .feature-item i {
  color: #2fbf71;
  /* check icon accent */
}

/* Eyebrow */
#solutions .eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: #37517e;
  margin-bottom: .25rem;
}

/* Small “hub” badge */
#solutions .hub-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 600;
  background: rgba(55, 81, 126, .08);
  color: #37517e;
  border: 1px solid rgba(55, 81, 126, .15);
  padding: .35rem .65rem;
  border-radius: 999px;
  margin-bottom: .5rem;
}

/* Swatch-row under the heading (reuses your feat-swatch tokens) */
#solutions .swatch-row {
  display: flex;
  gap: .5rem;
  margin-bottom: .75rem;
}

#solutions .swatch-row .feat-swatch {
  box-shadow: 0 6px 18px rgba(33, 52, 89, .10);
}

/* Tighten grid spacing on large screens */
@media (min-width: 992px) {
  #solutions .row.gy-5 {
    row-gap: 2.5rem;
  }
}


#hero .hero-title .underline {
  display: inline-block;
  position: relative;
  margin-bottom: 1.75rem;
}

#hero .hero-title .underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3ea0ff, #6a5acd);

}


/* ---------- Fancy gradient chips (icon boxes) ---------- */
.ytnx-card__head{
  display:flex;
  align-items:center;
  gap:.6rem;
  margin-bottom:.25rem;
}

/* Base chip */
.ytnx-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:14px;
  background: var(--chip-bg, linear-gradient(135deg,#6ea8fe 0%,#4c82f7 100%));
  box-shadow:
    0 6px 14px rgba(24,39,75,.18),
    inset 0 1px 0 rgba(255,255,255,.25);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(2px);
  transition: transform .18s ease, box-shadow .18s ease;
}
.ytnx-chip i{
  font-size:1.15rem;
  color:#fff;
  opacity:.95;
}

/* Card hover micro-interaction */
.ytnx-card{
  transition: transform .2s ease, box-shadow .2s ease;
  will-change: transform;
}
.ytnx-card:hover,
.ytnx-card:focus-within{
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(20,31,56,.12), 0 4px 10px rgba(20,31,56,.06);
}
.ytnx-card:hover .ytnx-chip,
.ytnx-card:focus-within .ytnx-chip{
  box-shadow:
    0 10px 22px rgba(24,39,75,.22),
    inset 0 1px 0 rgba(255,255,255,.3);
}

/* Title + benefit harmony */
.ytnx-card__title{
  font-weight:600;
  letter-spacing:.2px;
}
.ytnx-card__benefit{
  display:block;
  margin-top:.25rem;
  font-size:.95rem;
  line-height:1.25rem;
  opacity:.9;                 /* subtle under title */
  max-width:24ch;             /* punchy single line; expands on mobile */
}

/* ---------- Chip gradient themes (tune to brand) ---------- */
:root{
  --chip-blue:   linear-gradient(135deg,#6ea8fe 0%, #4c82f7 100%);
  --chip-purple: linear-gradient(135deg,#a78bfa 0%, #7c59e6 100%);
  --chip-indigo: linear-gradient(135deg,#8ea0ff 0%, #5b6cff 100%);
  --chip-teal:   linear-gradient(135deg,#6fe7cf 0%, #33c3b5 100%);
  --chip-mint:   linear-gradient(135deg,#90f3d2 0%, #61d8c6 100%);
}
.ytnx-chip--blue   { --chip-bg: var(--chip-blue); }
.ytnx-chip--purple { --chip-bg: var(--chip-purple); }
.ytnx-chip--indigo { --chip-bg: var(--chip-indigo); }
.ytnx-chip--teal   { --chip-bg: var(--chip-teal); }
.ytnx-chip--mint   { --chip-bg: var(--chip-mint); }

/* ---------- Responsive niceties ---------- */
@media (max-width: 576px){
  .ytnx-chip{ width:40px; height:40px; border-radius:12px; }
  .ytnx-card__benefit{ max-width:100%; }
}


/* --- Polished vertical spacing for How It Works section --- */
#how.section {
  padding-top: 4rem;     /* more top breathing room */
  padding-bottom: 6rem;  /* more bottom breathing room */
}

#how .section-title {
  margin-bottom: 10rem;   /* gap between title and timeline */
}

#how .ytnx-hflow {
  margin-top: 5.25rem;
  margin-bottom: 10rem;   /* gap between timeline and bottom text */
}

/* optional: ensure the flow looks balanced on smaller screens */
@media (max-width: 768px) {
  #how.section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  #how .section-title,
  #how .ytnx-hflow {
    margin-bottom: 3rem;
  }
}




/* =======================================================================
   HOW IT WORKS — SAFE PATCH (keeps original HTML, won’t affect other sections)
   ======================================================================= */
#how { position: relative; isolation: isolate; margin-bottom: 24px; }
#how .container { overflow: visible; } /* ensure stems/rail can render above */

#how ol.ytnx-hflow {
  list-style: none !important;
  margin: 0 !important;
  padding: 64px 0 !important;
  position: relative !important;

  /* Desktop: 6 columns; keep your original layout intent */
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  column-gap: 28px !important;
  row-gap: 90px !important;
  align-items: center !important;
}

/* Center rail: z-index 0 + no pointer events so it can’t interfere below */
#how ol.ytnx-hflow::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 50%;
  height: 3px; transform: translateY(-50%);
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(56,189,248,.15), rgba(37,99,235,.25), rgba(56,189,248,.15));
  z-index: 0;               /* under cards/markers */
  pointer-events: none;     /* never block clicks in this or next section */
}

/* Each step cell is the positioning context for its card */
#how .ytnx-hflow__item {
  position: relative !important;
  min-height: 176px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Marker dot */
#how .ytnx-marker {
  position: absolute !important;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(71,178,228,.16), 0 0 14px rgba(71,178,228,.5);
  z-index: 1; /* above rail, below cards */
}

/* Card */
#how .ytnx-card {
  --stem: 34px;
  position: absolute !important;
  left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: 200px; min-height: 116px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f9fbfe);
  border: 1px solid #e2e8f0;
  border-top: 6px solid #37517e;
  box-shadow: 0 12px 28px rgba(7,42,100,.10);
  z-index: 1; /* above rail */
}
#how .ytnx-card--top { bottom: calc(50% + var(--stem)); }
#how .ytnx-card--bottom { top: calc(50% + var(--stem)); }

/* Card stem */
#how .ytnx-card::after {
  content: "";
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 2px; height: var(--stem);
  background: linear-gradient(#7ccaf0, #47b2e4);
  border-radius: 2px;
}
#how .ytnx-card--top::after { bottom: calc(-1 * var(--stem)); }
#how .ytnx-card--bottom::after { top: calc(-1 * var(--stem)); }

/* Card internals (no dependency on global CSS variables) */
#how .ytnx-card__badge {
  position: absolute; top: -14px; left: -14px;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 800; color: #fff;
  background: linear-gradient(145deg, #37517e, #2e446c);
  box-shadow: 0 6px 14px rgba(46,68,108,.25);
}
#how .ytnx-card__head { display: flex; align-items: center; gap: 8px; }
#how .ytnx-card__title { font-weight: 900; letter-spacing: .25px; color: #2b3a5a; white-space: nowrap; }
#how .ytnx-card__benefit { font-size: .925rem; color: #5b6a85; text-align: center; }

/* Chip icons */
#how .ytnx-chip {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: #eef6ff; box-shadow: inset 0 0 0 1px rgba(71,178,228,.35);
}
#how .ytnx-chip i { font-size: 22px; line-height: 1; }
#how .ytnx-chip--blue i   { color: #2563eb; }
#how .ytnx-chip--purple i { color: #7c3aed; }
#how .ytnx-chip--indigo i { color: #4f46e5; }
#how .ytnx-chip--teal i   { color: #0d9488; }
#how .ytnx-chip--mint i   { color: #10b981; }

/* Responsive */
@media (max-width: 992px) {
  #how ol.ytnx-hflow { grid-template-columns: repeat(3, minmax(0,1fr)) !important; row-gap: 72px !important; }
}
@media (max-width: 576px) {
  #how ol.ytnx-hflow {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: 78vw !important;
    gap: .9rem !important;
    overflow-x: auto !important;
    padding: 1rem 0 1.25rem !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
  }
  #how ol.ytnx-hflow::-webkit-scrollbar { height: 8px; }
  #how ol.ytnx-hflow::-webkit-scrollbar-thumb { background: rgba(55,81,126,.35); border-radius: 999px; }

  #how .ytnx-hflow__item { scroll-snap-align: center !important; }
  #how .ytnx-card { width: 100% !important; min-height: 84px !important; }
  #how .ytnx-card--top { transform: translateX(-50%) translateY(-16px) !important; }
  #how .ytnx-card--bottom { transform: translateX(-50%) translateY(16px) !important; }
  #how .ytnx-marker { width: 12px; height: 12px; }
}

/* Reduced motion: keep layout; just stop transitions */
@media (prefers-reduced-motion: reduce) { #how .ytnx-card { transition: none !important; } }


/* =======================================================
   HOW IT WORKS — VISUAL POLISH (append at the very end)
   Keeps scope limited to #how only.
   ======================================================= */

/* Section rhythm + heading weight */
#how { padding-top: 56px; padding-bottom: 40px; }
#how .section-title h2 {
  font-weight: 800;
  letter-spacing: .4px;
  color: #2c3d63; /* deep navy */
}
#how .section-title p { color: #4b5a77; }

/* Rail: lighter, airier */
#how ol.ytnx-hflow {
  column-gap: 34px;
  row-gap: 120px;
}
#how ol.ytnx-hflow::before {
  height: 2px;
  background: linear-gradient(90deg,#e6eef9, #cfe0f6, #e6eef9);
  opacity: .95;
}

/* Marker with concentric halos */
#how .ytnx-marker {
  background: #fff;
  box-shadow: 0 0 0 6px rgba(122, 189, 255, .18),
              0 0 0 14px rgba(122, 189, 255, .10);
}
#how .ytnx-marker::before,
#how .ytnx-marker::after{
  content:""; position:absolute; inset:-10px;
  border-radius:50%;
  box-shadow: 0 0 0 2px rgba(122,189,255,.12) inset;
}
#how .ytnx-marker::after{
  inset:-18px; box-shadow: 0 0 0 2px rgba(122,189,255,.08) inset;
}

/* Cards: stronger depth + nicer top accent bar */
#how .ytnx-card{
  width: 232px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border: 1px solid #e8eef7;
  border-top: 8px solid #1f2f56;         /* default navy accent */
  box-shadow:
    0 18px 40px rgba(22, 42, 84, .10),
    0 6px 16px rgba(22, 42, 84, .05);
}
#how .ytnx-card__title{
  color:#1f2f56;
  font-size: 1.05rem;
}
#how .ytnx-card__benefit{
  color:#506080;
  font-size: .95rem;
  line-height: 1.45;
}

/* Badge tone to match accent */
#how .ytnx-card__badge{
  background: linear-gradient(145deg, #1f2f56, #2c3d63);
}

/* Chip: softer glassy tile + depth */
#how .ytnx-chip{
  width: 46px; height: 46px; border-radius: 14px;
  background: radial-gradient(120% 120% at 20% 20%, #f3f7ff 0%, #eef4ff 60%, #eaf2ff 100%);
  box-shadow:
    inset 0 0 0 1px rgba(90,140,255,.22),
    0 6px 14px rgba(35, 57, 93, .10);
}
#how .ytnx-chip i{ font-size: 23px; }

/* Per-step brand accents (top bar + icon color) */
#how .ytnx-hflow__item:nth-child(1) .ytnx-card { border-top-color:#2a7de1; }
#how .ytnx-hflow__item:nth-child(1) .ytnx-chip i { color:#2a7de1; }

#how .ytnx-hflow__item:nth-child(2) .ytnx-card { border-top-color:#8b5cf6; }
#how .ytnx-hflow__item:nth-child(2) .ytnx-chip i { color:#8b5cf6; }

#how .ytnx-hflow__item:nth-child(3) .ytnx-card { border-top-color:#4f46e5; }
#how .ytnx-hflow__item:nth-child(3) .ytnx-chip i { color:#4f46e5; }

#how .ytnx-hflow__item:nth-child(4) .ytnx-card { border-top-color:#0ea5a4; }
#how .ytnx-hflow__item:nth-child(4) .ytnx-chip i { color:#0ea5a4; }

#how .ytnx-hflow__item:nth-child(5) .ytnx-card { border-top-color:#2563eb; }
#how .ytnx-hflow__item:nth-child(5) .ytnx-chip i { color:#2563eb; }

#how .ytnx-hflow__item:nth-child(6) .ytnx-card { border-top-color:#10b981; }
#how .ytnx-hflow__item:nth-child(6) .ytnx-chip i { color:#10b981; }

/* Hover micro-lift + stronger shadow/color */
#how .ytnx-card:hover{
  transform: translateX(-50%) translateY(-4px);
  box-shadow:
    0 24px 54px rgba(22, 42, 84, .16),
    0 10px 22px rgba(22, 42, 84, .08);
}
#how .ytnx-hflow__item:nth-child(1) .ytnx-card:hover { border-top-color:#1e6fd1; }
#how .ytnx-hflow__item:nth-child(2) .ytnx-card:hover { border-top-color:#7b4df0; }
#how .ytnx-hflow__item:nth-child(3) .ytnx-card:hover { border-top-color:#4338ca; }
#how .ytnx-hflow__item:nth-child(4) .ytnx-card:hover { border-top-color:#08918f; }
#how .ytnx-hflow__item:nth-child(5) .ytnx-card:hover { border-top-color:#1e4fd0; }
#how .ytnx-hflow__item:nth-child(6) .ytnx-card:hover { border-top-color:#0ea272; }

/* Mobile: a hair taller for readability */
@media (max-width: 576px){
  #how .ytnx-card{ min-height: 96px; }
  #how .ytnx-card__title{ font-size: 1rem; }
  #how .ytnx-card__benefit{ font-size: .93rem; }
}


/* HOW — boost existing <i class="bi …"> icons (no HTML changes) */
#how .ytnx-card__head .ytnx-chip .bi {
  font-size: 22px;        /* bump size */
  line-height: 1;
  color: #fff;            /* white icon, matches your other section */
  text-shadow:
    0 6px 12px rgba(0,0,0,.18),
    0 2px 4px rgba(0,0,0,.12);   /* soft glow for contrast on gradients */
  opacity: .98;           /* a touch of richness */
}

/* Optional: slightly larger on hover for a subtle “alive” feel */
#how .ytnx-card:hover .ytnx-chip .bi {
  transform: translateY(-1px);
}

/* HOW — add breathing room between the flow and the bottom blurb */
#how ol.ytnx-hflow { padding-bottom: 12px; }  /* keeps halos clear of the text */
#how .ytnx-summary,
#how .text-center.mt-4 {
  margin-top: clamp(120px, 6vw, 72px) !important; /* desktop roomy, mobile tighter */
}

/* Slightly tighter on small screens */
@media (max-width: 576px) {
  #how .ytnx-summary,
  #how .text-center.mt-4 { margin-top: 40px !important; }
}

/* =========================
   HOW — MOBILE/DESKTOP TOGGLE (final, last-wins)
   ========================= */

/* 0) Utility (keep if you use it elsewhere) */
.visually-hidden{
  position:absolute !important;
  height:1px; width:1px;
  overflow:hidden;
  clip:rect(1px,1px,1px,1px);
  white-space:nowrap;
  border:0; padding:0; margin:-1px;
}

/* 1) Mobile-first default: show IMAGE, hide FLOW */
#how .ytnx-how-mobile { display: block !important; margin: 0 auto; padding: 0 12px; max-width: 820px; }
#how .ytnx-how-mobile picture,
#how .ytnx-how-mobile img { display:block; width:100%; height:auto; }

#how .ytnx-hflow { display: none !important; }

/* 2) Desktop/tablet (≥768px): show FLOW, hide IMAGE */
@media (min-width: 768px) {
  #how .ytnx-how-mobile { display: none !important; }
  #how .ytnx-hflow      { display: grid !important; }
}

/* 3) Spacing between flow/image and the bottom blurb */
#how ol.ytnx-hflow { padding-bottom: 12px; }
#how .ytnx-summary,
#how .text-center.mt-4 { margin-top: clamp(40px, 6vw, 72px) !important; }

/* Tweak spacing a bit tighter on very small screens */
@media (max-width: 575.98px) {
  #how .ytnx-summary,
  #how .text-center.mt-4 { margin-top: 28px !important; }
}

/* === HOW — scale things down below 768px === */

/* 768px > width ≥ 576px  (large phones / small tablets) */
@media (max-width: 767.98px) and (min-width: 576px) {
  #how .ytnx-how-mobile { max-width: 640px; padding: 0 10px; }
  #how .section-title h2 { font-size: 1.6rem; }
  #how .section-title p  { font-size: 1rem; }
  #how .text-center.mt-4 { margin-top: 28px !important; }
  #how .text-center .badge { font-size: .9rem; padding: .5rem .75rem; }
}

/* width < 576px  (most phones, portrait) */
@media (max-width: 575.98px) {
  #how .ytnx-how-mobile { max-width: 520px; padding: 0 10px; }
  #how .section-title h2 { font-size: 1.45rem; }
  #how .section-title p  { font-size: .95rem; }
  #how .text-center.mt-4 { margin-top: 24px !important; }
  #how .text-center .badge { font-size: .85rem; padding: .45rem .65rem; }
}

/* Extra-tight phones (<= 414px) */
@media (max-width: 414px) {
  #how .ytnx-how-mobile { max-width: 380px; padding: 0 8px; }
  #how .section-title h2 { font-size: 1.35rem; }
  #how .section-title p  { font-size: .9rem; }
  #how .text-center .badge { font-size: .8rem; padding: .4rem .6rem; }
}

/* Very small devices (<= 360px) */
@media (max-width: 360px) {
  #how .ytnx-how-mobile { max-width: 340px; padding: 0 8px; }
  #how .section-title h2 { font-size: 1.25rem; }
  #how .section-title p  { font-size: .88rem; }
  #how .text-center .badge { font-size: .78rem; padding: .38rem .55rem; }
}
/* ==============================
   HOW — MOBILE = IMAGE ONLY
   (no exceptions; last-wins)
   ============================== */

/* Phones & small tablets: force image ON, rail OFF */
@media (max-width: 767.98px) {
  #how .ytnx-how-mobile {
    display: block !important;
    margin: 0 auto;
    padding: 0 12px;
    max-width: 820px;
  }
  #how .ytnx-how-mobile img,
  #how .ytnx-how-mobile picture {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Nuke the rail on mobile regardless of any earlier rules */
  #how .ytnx-hflow {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
  }
}

/* ===============================
   HOW — SINGLE SOURCE OF TRUTH
   MOBILE = IMAGE, DESKTOP = RAIL
   (place at the very END of your CSS)
   =============================== */

/* 0) Hard reset to neutralize earlier rules */
#how .ytnx-hflow      { display: none !important; }  /* rail off by default */
#how .ytnx-how-mobile { display: none !important; }  /* image off by default */

/* 1) Phones & small tablets: IMAGE ONLY (<768px) */
@media (max-width: 767.98px) {
  #how .ytnx-how-mobile {
    display: block !important;
    margin: 0 auto;
    padding: 0 12px;
    max-width: 820px;
  }
  #how .ytnx-how-mobile picture,
  #how .ytnx-how-mobile img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
  #how .ytnx-hflow {
    display: none !important;      /* rail stays hidden */
    visibility: hidden !important; /* belt & suspenders to avoid flashes */
    height: 0 !important;
    overflow: hidden !important;
  }
}

/* 2) Tablets & desktop: RAIL ONLY (>=768px) */
@media (min-width: 768px) {
  #how .ytnx-how-mobile { display: none !important; } /* image hidden on desktop */
  #how .ytnx-hflow      { display: grid !important; } /* rail shown */
}

/* =========================================================
   SAFE BASE (no cross-section coupling)
   ========================================================= */

/* Smooth anchor offset if your navbar is fixed */
#platform,
#capabilities { scroll-margin-top: 96px; }

/* Optional: consistent heading spacing (safe, non-invasive) */
#platform .section-title,
#capabilities .section-title { margin-bottom: 2rem; }

/* Keep items aligned vertically in both sections without forcing sizes */
#platform .row.align-items-center,
#capabilities .row.align-items-center { align-items: center; }

/* Icon swatch baseline (used in both sections) */
#platform .feat-swatch {
  width: 48px;
  height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.75rem;
  flex: 0 0 48px;
}


/* Text rhythm */
#platform .feature-item,
#capabilities .feature-item { line-height: 1.45; }
#platform .feature-item h5,
#capabilities .feature-item h5 { font-weight: 600; margin: 0 0 .25rem; }

/* Equal-height columns on large screens without touching widths */
@media (min-width: 992px) {
  #platform .col-lg-3, #platform .col-lg-6,
  #capabilities .col-lg-3, #capabilities .col-lg-6 {
    display: flex;
    flex-direction: column;
  }
}

/* =========================================================
   CAPABILITIES — portrait center image & wider gutters
   (scoped ONLY to #capabilities to avoid breaking Platform Hub)
   ========================================================= */
#capabilities.platform-zone .row.align-items-center { --bs-gutter-x: 3rem; }

@media (min-width: 992px) {
  /* Portrait-style device frame */
  #capabilities.platform-zone .device-frame {
    max-width: 520px;      /* narrower than before */
    width: 100%;
    height: 640px;         /* taller look like the original design */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    margin-inline: auto;
  }
  #capabilities.platform-zone .device-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
  }

  /* Balanced side columns */
  #capabilities.platform-zone .col-lg-3 { gap: 1.25rem; }
  #capabilities.platform-zone .feature-item {
    max-width: 360px;
    margin-left: auto; margin-right: auto;
    line-height: 1.5;
  }
}

/* Extra breathing room on very wide screens */
@media (min-width: 1200px) {
  #capabilities.platform-zone .row.align-items-center { --bs-gutter-x: 3.5rem; }
}
@media (min-width: 1400px) {
  #capabilities.platform-zone .device-frame { height: 700px; }
}

/* =========================================================
   PLATFORM HUB — no overrides here on purpose.
   Your Platform section will use its original CSS.
   ========================================================= */


   /* ===========================
   PLATFORM section (scoped)
   =========================== */

#platform .row { --bs-gutter-x: 2.5rem; }

/* Card */
#platform .steps-item {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Top image (stable 16:9) */
#platform .steps-image {
  position: relative;
  aspect-ratio: 16 / 9;          /* modern browsers */
  background: #f5f7fb;
}
#platform .steps-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;              /* fill without distortion */
  object-position: center;
}

/* Body */
#platform .steps-content {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 1;                        /* equalize card heights */
}

/* Swatch/badge row under image */
#platform .swatch-row {
  display: flex;
  gap: .5rem;
  margin-top: -22px;              /* tuck under the image edge */
}
#platform .swatch-row .feat-swatch {
  width: 48px;
  height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.75rem;
  flex: 0 0 48px;
}

/* Title & paragraph rhythm */
#platform .steps-content h3 {
  margin: .25rem 0 0;
  line-height: 1.2;
  font-weight: 800;
}
#platform .steps-content > p {
  color: #5f6b7a;
  margin: 0;
}

/* Feature list */
#platform .steps-features {
  margin-top: .25rem;
}
#platform .steps-features .feature-item {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin: .55rem 0;
  color: #24304a;
}
#platform .steps-features .feature-item i {
  font-size: 1rem;
  line-height: 1.2;
  color: #5a7cff;                 /* checkmark color */
  margin-top: .1rem;
}

/* Two columns on lg+ */
@media (min-width: 992px) {
  #platform .steps-features {
    columns: 2;                   /* auto-balances items */
    column-gap: 2rem;
  }
  #platform .steps-features .feature-item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
  }
}

/* Mobile tweaks */
@media (max-width: 991.98px) {
  #platform .row { --bs-gutter-x: 1.25rem; }
  #platform .steps-image { aspect-ratio: 3 / 2; } /* shorter header on phones */
}

/* Platform: add vertical space under the header image */
#platform .swatch-row {
  margin-top: 14px !important;      /* was negative; create breathing room */
}

/* Platform: list items one per line on all breakpoints */
#platform .steps-features {
  /* kill multi-column flow from earlier rules */
  columns: 1 !important;
  column-count: 1 !important;
  column-gap: 0 !important;

  /* use a simple single-column grid for clean spacing */
  display: grid;
  grid-template-columns: 1fr;
  row-gap: .65rem;
}

#platform .steps-features .feature-item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: .55rem 0;                 /* keep rhythm */
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}

#platform .steps-features .feature-item i {
  margin-top: .1rem;                /* align check with first line */
}


/* Keep the device image reasonable on small screens */
.device-frame {
  margin: 0 auto;
  /* caps size on phones, grows a bit on larger screens */
  max-width: clamp(260px, 85vw, 440px);
}
.device-frame img {
  width: 100%;
  height: auto;
  display: block;
}
