/**
* Template Name: Nexa
* Template URL: https://bootstrapmade.com/nexa-bootstrap-agency-template/
* Updated: Aug 19 2025 with Bootstrap v5.3.7
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

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

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #070708; /* Background color for the entire website, including individual sections */
  --default-color: rgba(255, 255, 255, 0.8); /* Default color used for the majority of the text content across the entire website */
  --heading-color: #ffffff; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #014751; /* 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: #1f1f23; /* 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: rgba(255, 255, 255, 0.8);  /* The default color of the main navmenu links */
  --nav-hover-color: #014751; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #1f1f23; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #1f1f23; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: rgba(255, 255, 255, 0.8); /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #014751; /* 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: #1d1d1e;
  --surface-color: #37373e;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --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: rgba(7, 7, 8, 0.6);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

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

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

.header .header-social-links {
  padding-right: 15px;
}

.header .header-social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding-left: 6px;
  display: inline-block;
  transition: 0.3s;
  font-size: 16px;
}

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

.header .header-social-links a i {
  line-height: 0px;
}

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

  .header .header-social-links {
    order: 2;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(7, 7, 8, 0.85);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@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: 16px;
    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 - Mobile */
@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: fixed;
    inset: 0;
    padding: 90px 20px 30px;
    margin: 0;
    border-radius: 0;
    background-color: rgba(7, 7, 8, 0.97);
    overflow-y: auto;
    z-index: 9998;
    box-shadow: none;
  }

  .navmenu a,
  .navmenu a:focus {
    color: rgba(255, 255, 255, 0.85);
    padding: 14px 18px;
    font-family: var(--nav-font);
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: color 0.25s ease, background 0.25s ease;
    border-radius: 10px;
    min-height: 48px;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: rgba(1, 71, 81, 0.15);
    color: rgba(255, 255, 255, 0.6);
  }

  .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: #fff;
    background: rgba(1, 71, 81, 0.12);
  }

  .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: 6px 0;
    margin: 4px 0 4px 12px;
    background-color: rgba(1, 71, 81, 0.06);
    border: none;
    border-left: 2px solid rgba(1, 71, 81, 0.4);
    border-radius: 0 10px 10px 0;
    box-shadow: none;
    transition: all 0.3s ease-in-out;
  }

  .navmenu .dropdown ul a {
    padding: 12px 18px;
    font-size: 15px;
    border-radius: 8px;
    margin: 2px 4px;
  }

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

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: transparent;
  }

  /* Mobile Auth buttons */
  .navmenu ul li.d-lg-none a[href*="login"] {
    text-align: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 12px;
    padding-top: 18px;
  }

  .navmenu ul li.d-lg-none a[href*="register"] {
    text-align: center;
    justify-content: center;
    background: linear-gradient(135deg, #014751, #016d7a);
    color: #fff;
    font-weight: 600;
    margin: 8px 0 0;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 16px rgba(1, 71, 81, 0.3);
  }

  .navmenu ul li.d-lg-none a[href*="register"]:hover {
    box-shadow: 0 6px 24px rgba(1, 71, 81, 0.5);
    transform: translateY(-1px);
  }

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

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: fixed;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
    background: rgba(1, 71, 81, 0.2);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .mobile-nav-active .header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: none !important;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(5, 5, 6, 0.98);
    z-index: 9998;
  }

  .mobile-nav-active .navmenu>ul {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 90px 20px 30px;
    margin: 0;
    background: linear-gradient(180deg, rgba(5, 5, 6, 0.99) 0%, rgba(7, 7, 8, 0.98) 100%);
    border-radius: 0;
    overflow-y: auto;
    z-index: 9998;
    gap: 2px;
  }

  .mobile-nav-active .navmenu>ul>li>a {
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 10px;
    transition: background 0.25s ease, color 0.25s ease;
  }

  .mobile-nav-active .navmenu>ul>li>a:hover,
  .mobile-nav-active .navmenu>ul>li>a.active {
    background: rgba(1, 71, 81, 0.15);
    color: #fff;
  }

  .mobile-nav-active .navmenu>ul>li+li {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: #0a0a0b;
  font-size: 14px;
  padding: 50px 0 30px 0;
  position: relative;
  border-top: 1px solid rgba(1, 71, 81, 0.25);
}

.footer .icon {
  color: var(--accent-color);
  margin-right: 15px;
  font-size: 24px;
  line-height: 0;
}

.footer h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer .address p {
  margin-bottom: 0px;
}

.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 50%);
  margin-right: 10px;
  transition: 0.3s;
}

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

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

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

.footer .credits {
  margin-top: 5px;
  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;
  left: 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: 20px;
}

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

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

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

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

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

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

@media (max-width: 1199px) {

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

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

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

.section-title span {
  position: absolute;
  top: 4px;
  color: color-mix(in srgb, var(--heading-color), transparent 95%);
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 1;
}

.section-title p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 575px) {
  .section-title h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .section-title span {
    font-size: 38px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px;
  overflow: hidden;
}

.hero .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 95%) 0%, color-mix(in srgb, var(--heading-color), transparent 97%) 100%);
  z-index: -2;
}

.hero .hero-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/bg/abstract-bg-3.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: -1;
}

.hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 30% 20%, rgba(10, 30, 40, 0.3) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(8, 25, 35, 0.2) 0%, transparent 40%);
  z-index: -1;
}

.hero .hero-content {
  margin-bottom: 4rem;
}

.hero .hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 2rem;
  line-height: 1.1;
  color: var(--heading-color);
  letter-spacing: -0.02em;
}

@media (max-width: 992px) {
  .hero .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero .hero-content h1 {
    font-size: 2rem;
  }
}

.hero .hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .hero .hero-content p {
    font-size: 1.1rem;
  }
}

.hero .hero-content .hero-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

@media (max-width: 576px) {
  .hero .hero-content .hero-btns {
    flex-direction: column;
    gap: 1rem;
  }
}

.hero .hero-content .hero-btns .btn {
  padding: 15px 35px;
  font-weight: 600;
  border-radius: 3px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 576px) {
  .hero .hero-content .hero-btns .btn {
    width: 100%;
    max-width: 280px;
  }
}

.hero .hero-content .hero-btns .btn-primary {
  background: linear-gradient(135deg, rgba(10, 30, 40, 0.9), rgba(1, 71, 81, 0.7));
  border: 1px solid rgba(1, 71, 81, 0.25);
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(1, 71, 81, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Internal data-pulse light */
.hero .hero-content .hero-btns .btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 30%, rgba(1, 71, 81, 0.08) 50%, transparent 70%);
  animation: crystalBtnPulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes crystalBtnPulse {
  0%, 100% { transform: translateX(-100%); opacity: 0; }
  50%      { transform: translateX(100%); opacity: 1; }
}

.hero .hero-content .hero-btns .btn-primary:hover {
  background: linear-gradient(135deg, rgba(1, 71, 81, 0.8), rgba(2, 96, 110, 0.6));
  border-color: rgba(1, 71, 81, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(1, 71, 81, 0.2), 0 0 30px rgba(1, 71, 81, 0.06);
  color: #fff;
}

.hero .hero-content .hero-btns .btn-outline {
  background: rgba(8, 14, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero .hero-content .hero-btns .btn-outline i {
  font-size: 1.2rem;
}

.hero .hero-content .hero-btns .btn-outline:hover {
  transform: translateY(-2px);
  border-color: rgba(1, 71, 81, 0.3);
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero .hero-image-container {
  margin-bottom: 4rem;
  position: relative;
}

.hero .hero-image-container .hero-image {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 25px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}

.hero .hero-image-container .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 25px;
  transition: transform 0.6s ease;
}

.hero .hero-image-container .hero-image img:hover {
  transform: scale(1.05);
}

.hero .hero-image-container .hero-image .image-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #fff 30%));
  border-radius: 50%;
  opacity: 0.8;
  z-index: 1;
}

.hero .hero-image-container .hero-image .image-decoration::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid var(--contrast-color);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .hero .hero-image-container .hero-image .image-decoration {
    width: 60px;
    height: 60px;
    top: -15px;
    right: -15px;
  }

  .hero .hero-image-container .hero-image .image-decoration::before {
    width: 30px;
    height: 30px;
  }
}

.hero .hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .hero .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero .hero-stats {
    grid-template-columns: 1fr;
  }
}

.hero .hero-stats .stat-item {
  padding: 2rem 1rem;
  background: rgba(8, 14, 20, 0.65);
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(1, 71, 81, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

/* Crystalline slab enhancements */
.crystal-slab {
  position: relative;
}

/* Etched circuit-line detail */
.crystal-slab .crystal-etch {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
  background:
    linear-gradient(90deg, transparent 48%, rgba(1, 71, 81, 0.2) 49%, rgba(1, 71, 81, 0.2) 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(1, 71, 81, 0.12) 49%, rgba(1, 71, 81, 0.12) 51%, transparent 52%);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

/* Internal data-pulsing glow */
.crystal-slab::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 80%, rgba(1, 71, 81, 0.06) 0%, transparent 60%);
  animation: crystalPulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes crystalPulse {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 1; }
}

.crystal-slab > * {
  position: relative;
  z-index: 1;
}

.hero .hero-stats .stat-item:hover {
  transform: translateY(-4px);
  border-color: rgba(1, 71, 81, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(1, 71, 81, 0.05);
}

.hero .hero-stats .stat-item .stat-icon {
  width: 52px;
  height: 52px;
  background: rgba(10, 30, 40, 0.8);
  border: 1px solid rgba(1, 71, 81, 0.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
}

/* Crystalline icon styling */
.hero .hero-stats .stat-item .stat-icon::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(1, 71, 81, 0.15) 0%, transparent 50%, rgba(1, 71, 81, 0.08) 100%);
  pointer-events: none;
}

.hero .hero-stats .stat-item .stat-icon i {
  font-size: 1.3rem;
  color: rgba(1, 71, 81, 0.8);
}

.hero .hero-stats .stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .hero .hero-stats .stat-item h3 {
    font-size: 2rem;
  }
}

.hero .hero-stats .stat-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-weight: 500;
}

@media (max-width: 992px) {
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero .hero-content {
    margin-bottom: 3rem;
  }

  .hero .hero-content h1 {
    margin-bottom: 1.5rem;
  }

  .hero .hero-content p {
    margin-bottom: 2rem;
  }

  .hero .hero-image-container {
    margin-bottom: 3rem;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .image-wrapper {
  position: relative;
}

.about .image-wrapper .image-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.about .image-wrapper .image-box img {
  transition: 0.5s transform;
}

.about .image-wrapper .image-box:hover img {
  transform: scale(1.05);
}

.about .image-wrapper .experience-box {
  position: absolute;
  bottom: -30px;
  right: 30px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.about .image-wrapper .experience-box .years {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  font-family: var(--heading-font);
}

.about .image-wrapper .experience-box .text {
  font-size: 0.9rem;
  margin-top: 5px;
  line-height: 1.2;
}

.about .content {
  padding-left: 2rem;
}

@media (max-width: 991.98px) {
  .about .content {
    padding-left: 0;
    margin-top: 10px;
  }
}

.about .content .section-header {
  margin-bottom: 2rem;
}

.about .content .section-header .subtitle {
  display: inline-block;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.about .content .section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .about .content .section-header h2 {
    font-size: 2rem;
  }
}

.about .content .highlight-text {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
  margin-bottom: 2rem;
  font-weight: 500;
}

.about .content .features-list {
  margin-bottom: 2.5rem;
}

.about .content .features-list .feature-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.about .content .features-list .feature-item:last-child {
  margin-bottom: 0;
}

.about .content .features-list .feature-item .icon-box {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: 0.3s;
}

.about .content .features-list .feature-item .icon-box:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-5px);
}

.about .content .features-list .feature-item .text h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.about .content .features-list .feature-item .text p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.about .content .cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.about .content .cta-buttons .btn-get-started {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 500;
  transition: 0.3s;
  display: grid;
  place-items: center;
}

.about .content .cta-buttons .btn-get-started:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-3px);
}

.about .content .cta-buttons .btn-learn-more {
  background-color: transparent;
  color: var(--accent-color);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 500;
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  transition: 0.3s;
}

.about .content .cta-buttons .btn-learn-more:hover {
  border-color: var(--accent-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  transform: translateY(-3px);
}

/*--------------------------------------------------------------
# Payment Gateway Partners Section
--------------------------------------------------------------*/
.payment-partners {
  padding: 60px 0;
  background-color: var(--background-color);
  overflow: hidden;
}

/* Marquee container */
.payment-partners .partner-marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

/* Scrolling track — 5 cards × 220px + 5 gaps × 30px = 1250px per set */
.payment-partners .marquee-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: marqueeScroll 20s linear infinite;
}

.payment-partners .partner-marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* exactly half: 5 cards(220px) + 5 gaps(30px) = 1250px */
    transform: translateX(calc(-1250px));
  }
}

/* Cards */
.payment-partners .partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 220px;
  height: 130px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  border-radius: 16px;
  padding: 24px 20px;
  transition: all 0.4s ease;
}

.payment-partners .partner-card:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(1, 71, 81, 0.25);
}

/* Default logo style — bright white */
.payment-partners .partner-card img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: all 0.4s ease;
}

.payment-partners .partner-card:hover img {
  opacity: 1;
  transform: scale(1.06);
}

/* Mastercard logo — keep original colors so both circles are visible */
.payment-partners .partner-card img[alt="Mastercard"] {
  filter: brightness(1.2) contrast(1.1) saturate(1.3);
  opacity: 0.9;
}

.payment-partners .partner-card:hover img[alt="Mastercard"] {
  filter: brightness(1.3) contrast(1.2) saturate(1.4);
  opacity: 1;
}

@media (max-width: 768px) {
  .payment-partners {
    padding: 40px 0;
  }

  .payment-partners .partner-card {
    width: 180px;
    height: 110px;
    padding: 20px 16px;
    border-radius: 12px;
  }

  .payment-partners .partner-card img {
    max-height: 55px;
  }

  .payment-partners .marquee-track {
    gap: 20px;
    animation-name: marqueeScrollMd;
    animation-duration: 18s;
  }
}

@keyframes marqueeScrollMd {
  0% { transform: translateX(0); }
  /* 5 cards(180px) + 5 gaps(20px) = 1000px */
  100% { transform: translateX(-1000px); }
}

@media (max-width: 480px) {
  .payment-partners .partner-card {
    width: 150px;
    height: 95px;
    padding: 16px 12px;
  }

  .payment-partners .partner-card img {
    max-height: 45px;
  }

  .payment-partners .marquee-track {
    gap: 16px;
    animation-name: marqueeScrollSm;
    animation-duration: 15s;
  }
}

@keyframes marqueeScrollSm {
  0% { transform: translateX(0); }
  /* 5 cards(150px) + 5 gaps(16px) = 830px */
  100% { transform: translateX(-830px); }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .services-container {
  margin-bottom: 60px;
}

.services .services-container .service-item {
  display: flex;
  background-color: var(--surface-color);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent-color), transparent 92%);
  transition: all 0.4s ease;
  height: 100%;
}

.services .services-container .service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.services .services-container .service-item:hover .service-icon {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.services .services-container .service-item:hover .service-link {
  color: var(--accent-color);
}

.services .services-container .service-item:hover .service-link i {
  transform: translateX(5px);
}

.services .services-container .service-item .service-icon {
  flex: 0 0 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 2rem;
  transition: all 0.3s ease;
}

.services .services-container .service-item .service-content {
  padding: 30px;
  position: relative;
}

.services .services-container .service-item .service-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 4rem;
  font-weight: 800;
  color: color-mix(in srgb, var(--heading-color), transparent 90%);
  line-height: 1;
  opacity: 0.5;
  z-index: 1;
}

.services .services-container .service-item .service-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
  position: relative;
  z-index: 2;
}

.services .services-container .service-item .service-text {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  position: relative;
  z-index: 2;
}

.services .services-container .service-item .service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.services .services-container .service-item .service-link i {
  transition: transform 0.3s ease;
}

.services .cta-wrapper .cta-box {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 15%), color-mix(in srgb, var(--accent-color), transparent 5%));
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 85%);
}

.services .cta-wrapper .cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/bg/dotted-world-1.webp");
  background-size: cover;
  opacity: 0.05;
  z-index: 1;
}

.services .cta-wrapper .cta-box .cta-image {
  position: relative;
  z-index: 2;
}

.services .cta-wrapper .cta-box .cta-image img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 5px solid color-mix(in srgb, var(--contrast-color), transparent 15%);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
  .services .cta-wrapper .cta-box .cta-image img {
    margin-bottom: 30px;
  }
}

.services .cta-wrapper .cta-box .cta-content {
  position: relative;
  z-index: 2;
}

.services .cta-wrapper .cta-box .cta-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--contrast-color);
}

.services .cta-wrapper .cta-box .cta-content p {
  color: color-mix(in srgb, var(--contrast-color), transparent 15%);
  margin-bottom: 25px;
  font-size: 1rem;
  line-height: 1.6;
}

.services .cta-wrapper .cta-box .cta-content .primary-btn {
  display: inline-block;
  background-color: var(--contrast-color);
  color: var(--accent-color);
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.services .cta-wrapper .cta-box .cta-content .primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
  .services .cta-wrapper .cta-box .cta-content {
    text-align: center;
  }
}

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

  .services .services-container .service-item {
    flex-direction: column;
  }

  .services .services-container .service-item .service-icon {
    flex: 0 0 auto;
    height: 80px;
    width: 100%;
  }

  .services .cta-wrapper .cta-box {
    padding: 30px 20px;
  }
}

/*--------------------------------------------------------------
# Steps Section
--------------------------------------------------------------*/
.steps .process-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.steps .process-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-bottom: 2.5rem;
}

.steps .process-item:last-child {
  padding-bottom: 0;
}

.steps .process-item .content {
  width: 100%;
  position: relative;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent-color), transparent 95%), var(--surface-color));
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.steps .process-item .content:hover {
  transform: translateX(10px);
  box-shadow: -8px 8px 25px rgba(0, 0, 0, 0.1);
}

.steps .process-item .content:hover .step-icon {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 15%), var(--accent-color));
  transform: rotate(10deg);
}

.steps .process-item .content:hover .step-number {
  transform: translateX(-5px);
  opacity: 1;
}

.steps .process-item .step-number {
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent-color);
  font-family: var(--heading-font);
  line-height: 1;
  opacity: 0.2;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.steps .process-item .card-body {
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.steps .process-item .step-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background-color: var(--accent-color);
  border-radius: 15px;
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.steps .process-item .step-icon i {
  font-size: 2rem;
  color: var(--contrast-color);
}

.steps .process-item .step-content h3 {
  color: var(--heading-color);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.steps .process-item .step-content p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.steps .process-item .arrow {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  margin: 1rem 0;
  width: 100px;
  height: 100px;
  opacity: 0.7;
}

@media (max-width: 767.98px) {
  .steps .process-container {
    padding: 1rem 0;
  }

  .steps .process-item {
    padding-bottom: 2rem;
  }

  .steps .process-item .content {
    border-width: 1px;
  }

  .steps .process-item .content:hover {
    transform: translateY(-5px);
  }

  .steps .process-item .step-number {
    font-size: 3rem;
    left: 50%;
    top: -1.5rem;
    transform: translateX(-50%);
  }

  .steps .process-item .step-number:hover {
    transform: translateX(-50%);
  }

  .steps .process-item .card-body {
    padding: 2rem 1.5rem 1.5rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .steps .process-item .step-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
  }

  .steps .process-item .step-icon i {
    font-size: 1.75rem;
  }

  .steps .process-item .step-content h3 {
    font-size: 1.25rem;
  }

  .steps .process-item .arrow {
    height: 60px;
    margin: 0.5rem 0;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .swiper-wrapper {
  height: auto !important;
}

.testimonials .testimonial-card {
  background: var(--surface-color);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}

.testimonials .testimonial-card:hover {
  border-color: var(--accent-color);
}

.testimonials .testimonial-content {
  padding: 40px 30px 30px;
  position: relative;
  flex-grow: 1;
}

.testimonials .testimonial-content p {
  font-size: 16px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

.testimonials .testimonial-content .quote-icon {
  position: absolute;
  top: 15px;
  left: 30px;
  font-size: 42px;
  color: color-mix(in srgb, var(--accent-color), transparent 85%);
  z-index: 0;
  opacity: 0.8;
}

.testimonials .testimonial-profile {
  padding: 20px 30px;
  background-color: color-mix(in srgb, var(--heading-color), transparent 95%);
  border-top: 1px solid color-mix(in srgb, var(--heading-color), transparent 90%);
}

.testimonials .rating {
  margin-bottom: 15px;
}

.testimonials .rating i {
  color: #ffc107;
  margin-right: 3px;
  font-size: 14px;
}

.testimonials .profile-info {
  display: flex;
  align-items: center;
}

.testimonials .profile-info img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--background-color);
  margin-right: 15px;
}

.testimonials .profile-info div {
  flex: 1;
}

.testimonials .profile-info h3 {
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color);
}

.testimonials .profile-info h4 {
  margin: 0;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-weight: 500;
}

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

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 60%);
  opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
  width: 25px;
  border-radius: 5px;
}

@media (max-width: 767px) {
  .testimonials .testimonial-content {
    padding: 30px 20px 20px;
  }

  .testimonials .testimonial-content p {
    font-size: 15px;
  }

  .testimonials .testimonial-content .quote-icon {
    font-size: 36px;
    left: 20px;
  }

  .testimonials .testimonial-profile {
    padding: 15px 20px;
  }

  .testimonials .profile-info img {
    width: 45px;
    height: 45px;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters-wrapper {
  text-align: center;
  margin-bottom: 80px;
}

.portfolio .portfolio-filters {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
}

.portfolio .portfolio-filters::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
}

.portfolio .portfolio-filters li {
  position: relative;
  cursor: pointer;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: all 0.4s ease-out;
  letter-spacing: 0.5px;
}

.portfolio .portfolio-filters li::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: all 0.4s ease-out;
  transform: translateX(-50%);
}

.portfolio .portfolio-filters li:hover {
  color: var(--default-color);
}

.portfolio .portfolio-filters li.filter-active {
  color: var(--default-color);
}

.portfolio .portfolio-filters li.filter-active::after {
  width: 100%;
}

@media (max-width: 768px) {
  .portfolio .portfolio-filters {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
}

.portfolio .portfolio-card {
  background: var(--surface-color);
  transition: all 0.4s ease-out;
  overflow: hidden;
}

.portfolio .portfolio-card:hover {
  transform: translateY(-8px);
}

.portfolio .portfolio-card:hover .image-container img {
  transform: scale(1.05);
}

.portfolio .portfolio-card:hover .overlay {
  opacity: 1;
  visibility: visible;
}

.portfolio .portfolio-card:hover .content h3 {
  color: var(--accent-color);
}

.portfolio .image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  border-radius: 8px;
}

.portfolio .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-out;
}

.portfolio .image-container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: color-mix(in srgb, var(--accent-color), transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease-out;
  backdrop-filter: blur(2px);
}

.portfolio .image-container .overlay-content {
  display: flex;
  gap: 20px;
  transform: translateY(20px);
  transition: transform 0.4s ease-out 0.1s;
}

.portfolio-card:hover .portfolio .image-container .overlay-content {
  transform: translateY(0);
}

.portfolio .image-container .overlay-content a {
  width: 50px;
  height: 50px;
  background: var(--surface-color);
  color: var(--heading-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 18px;
}

.portfolio .image-container .overlay-content a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.1);
}

.portfolio .content {
  padding: 30px 0;
  text-align: center;
}

.portfolio .content h3 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
}

.portfolio .content p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  letter-spacing: 0.3px;
}

@media (min-width: 992px) {
  .portfolio .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .portfolio .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
  }
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  position: relative;
  background-color: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  transition: 0.4s;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  height: 100%;
}

.team .team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px color-mix(in srgb, var(--accent-color), transparent 80%);
  border-color: var(--accent-color);
}

.team .team-member:hover .member-image:before {
  opacity: 1;
}

.team .team-member:hover .member-image img {
  transform: scale(1.1);
}

.team .team-member:hover .social-overlay {
  transform: translateY(0);
  opacity: 1;
}

.team .team-member:hover .member-info h4 {
  color: var(--accent-color);
}

.team .member-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.team .member-image:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), transparent 50%) 100%);
  opacity: 0;
  transition: 0.4s;
  z-index: 1;
}

.team .member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team .social-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 30px 20px 20px;
  transform: translateY(100%);
  opacity: 0;
  transition: 0.4s;
  z-index: 2;
}

.team .social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.team .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--contrast-color);
  font-size: 18px;
  transition: 0.3s;
}

.team .social-icons a:hover {
  background-color: var(--contrast-color);
  color: var(--accent-color);
  transform: scale(1.1);
}

.team .member-info {
  padding: 25px 20px 30px;
  text-align: center;
  position: relative;
}

.team .member-info:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), transparent 60%) 100%);
  border-radius: 2px;
}

.team .member-info h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--heading-color);
  transition: 0.3s;
}

.team .member-info span {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent-color);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team .member-info p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

@media (max-width: 768px) {
  .team .team-member {
    margin-bottom: 30px;
  }

  .team .team-member .member-image {
    height: 250px;
  }

  .team .team-member .member-info {
    padding: 20px 15px 25px;
  }

  .team .team-member .member-info h4 {
    font-size: 20px;
  }

  .team .team-member .member-info p {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-card {
  background-color: var(--surface-color);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: all 0.3s ease;
  height: 100%;
}

.pricing .pricing-card:hover {
  transform: translateY(-10px);
}

.pricing .pricing-card.featured {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border: 2px solid var(--accent-color);
}

.pricing .pricing-card.featured .pricing-header h3 {
  color: var(--accent-color);
}

.pricing .pricing-card .pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing .pricing-card .pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.pricing .pricing-card .pricing-header .price {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent-color);
}

.pricing .pricing-card .pricing-header .price .currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.pricing .pricing-card .pricing-header .price .period {
  font-size: 1rem;
  font-weight: 400;
  margin-left: -4px;
  color: var(--default-color);
  opacity: 0.7;
}

.pricing .pricing-card .features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.pricing .pricing-card .features-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.pricing .pricing-card .features-list li i {
  margin-right: 0.5rem;
  color: var(--accent-color);
}

.pricing .pricing-card .features-list li.disabled {
  opacity: 0.5;
}

.pricing .pricing-card .features-list li.disabled i {
  color: var(--default-color);
}

.pricing .pricing-card .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 0.75rem 2rem;
  font-weight: bold;
  transition: all 0.3s ease;
  border-radius: 50px;
}

.pricing .pricing-card .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 20%);
  border-color: color-mix(in srgb, var(--accent-color), black 20%);
}

.pricing .pricing-card .btn-tier-disabled {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.35);
  padding: 0.75rem 2rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.7;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.pricing .pricing-card .btn-tier-disabled i {
  margin-right: 6px;
  font-size: 0.8rem;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.faq .section-header .lead {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.6;
}

.faq .faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq .faq-item {
  border-left: 4px solid transparent;
  border-radius: 10px;
  background: var(--surface-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

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

.faq .faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-left-color: color-mix(in srgb, var(--accent-color), transparent 50%);
}

.faq .faq-item.faq-active {
  border-left-color: var(--accent-color);
}

.faq .faq-item.faq-active .faq-header .faq-icon {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.faq .faq-item.faq-active .faq-header h4 {
  color: var(--accent-color);
}

.faq .faq-item.faq-active .faq-header .faq-toggle {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.faq .faq-item.faq-active .faq-header .faq-toggle i.bi-plus {
  display: none;
}

.faq .faq-item.faq-active .faq-header .faq-toggle i.bi-dash {
  display: block;
}

.faq .faq-item.faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
}

.faq .faq-item:not(.faq-active) .faq-header .faq-toggle i.bi-plus {
  display: block;
}

.faq .faq-item:not(.faq-active) .faq-header .faq-toggle i.bi-dash {
  display: none;
}

.faq .faq-item .faq-header {
  display: flex;
  align-items: center;
  padding: 25px;
  cursor: pointer;
  gap: 20px;
}

.faq .faq-item .faq-header .faq-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 20px;
  transition: all 0.3s ease;
}

.faq .faq-item .faq-header h4 {
  flex: 1;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading-color);
  transition: color 0.3s ease;
  line-height: 1.4;
}

.faq .faq-item .faq-header .faq-toggle {
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--default-color), transparent 85%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--default-color);
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
}

.faq .faq-item .faq-header .faq-toggle i {
  position: absolute;
  transition: all 0.3s ease;
}

.faq .faq-item .faq-header .faq-toggle:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

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

.faq .faq-item .faq-content .content-inner {
  padding: 0 25px 25px 25px;
  overflow: hidden;
}

.faq .faq-item .faq-content .content-inner p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
  font-size: 0.95rem;
  overflow: hidden;
}

@media (max-width: 768px) {
  .faq .faq-item .faq-header {
    padding: 20px;
    gap: 15px;
  }

  .faq .faq-item .faq-header .faq-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .faq .faq-item .faq-header h4 {
    font-size: 1rem;
  }

  .faq .faq-item .faq-header .faq-toggle {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .faq .faq-item .faq-content .content-inner {
    padding: 0 20px;
  }

  .faq .faq-item.faq-active .faq-content .content-inner {
    padding-bottom: 20px;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .container {
  max-width: 1280px;
}

.contact .contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .contact .contact-wrapper {
    grid-template-columns: 38% 62%;
    gap: 30px;
  }
}

.contact .contact-info-panel {
  background: linear-gradient(145deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #1a4372 40%));
  color: var(--contrast-color);
  border-radius: 20px;
  padding: 40px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact .contact-info-panel .contact-info-header {
  margin-bottom: 30px;
}

.contact .contact-info-panel .contact-info-header h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--contrast-color);
}

.contact .contact-info-panel .contact-info-header p {
  font-size: 15px;
  opacity: 0.85;
  line-height: 1.6;
}

.contact .contact-info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: auto;
}

@media (min-width: 576px) and (max-width: 991px) {
  .contact .contact-info-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact .info-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.contact .info-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.contact .info-card .icon-container {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact .info-card .icon-container i {
  font-size: 20px;
  color: var(--contrast-color);
}

.contact .info-card .card-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--contrast-color);
}

.contact .info-card .card-content p {
  font-size: 14px;
  margin-bottom: 0;
  opacity: 0.8;
}

.contact .social-links-panel {
  margin-top: 35px;
}

.contact .social-links-panel h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--contrast-color);
}

.contact .social-links-panel .social-icons {
  display: flex;
  gap: 12px;
}

.contact .social-links-panel .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--contrast-color);
  font-size: 18px;
  transition: all 0.3s ease;
}

.contact .social-links-panel .social-icons a:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
}

.contact .contact-form-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact .map-container {
  width: 100%;
  height: 280px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact .form-container {
  background-color: var(--surface-color);
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.contact .form-container h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
  background: linear-gradient(120deg, var(--heading-color), color-mix(in srgb, var(--heading-color), var(--accent-color) 30%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact .form-container p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 25px;
}

.contact .form-container .form-floating {
  margin-bottom: 20px;
}

.contact .form-container .form-floating .form-control {
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  padding: 24px 20px 8px 20px;
  height: calc(3.5rem + 3px);
  background-color: var(--surface-color);
  color: var(--default-color);
  transition: all 0.3s ease;
}

.contact .form-container .form-floating .form-control:focus {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 85%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 40%);
  background-color: var(--surface-color);
}

.contact .form-container .form-floating .form-control::placeholder {
  color: transparent;
}

.contact .form-container .form-floating label {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 1rem 1.25rem 2.5rem 1.25rem;
}

.contact .form-container .form-floating label::after {
  background-color: transparent;
}

.contact .form-container .btn-submit {
  background: linear-gradient(145deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #1a4372 30%));
  color: var(--contrast-color);
  border: none;
  padding: 15px 25px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact .form-container .btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--accent-color), transparent 75%);
}

.contact .form-container .btn-submit i {
  transition: transform 0.3s ease;
}

.contact .form-container .btn-submit:hover i {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .contact .contact-info-panel {
    padding: 30px 25px;
  }

  .contact .form-container {
    padding: 30px 25px;
  }
}

@media (max-width: 576px) {
  .contact .social-links-panel .social-icons {
    flex-wrap: wrap;
  }
}

/*--------------------------------------------------------------
# Contact Redesign: Form + Sidebar
--------------------------------------------------------------*/
.contact-form-redesign {
  background: rgba(31, 31, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
}

.contact-form-redesign .form-header-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: rgba(1, 71, 81, 0.12);
  border-bottom: 1px solid rgba(1, 71, 81, 0.2);
}

.contact-form-redesign .php-email-form {
  padding: 28px;
}

.contact-form-redesign .form-floating .form-control,
.contact-form-redesign .form-floating .form-select {
  background-color: rgba(7, 7, 8, 0.5);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-form-redesign .form-floating .form-control:focus,
.contact-form-redesign .form-floating .form-select:focus {
  border-color: rgba(1, 71, 81, 0.4);
  box-shadow: 0 0 0 4px rgba(1, 71, 81, 0.08);
  background-color: rgba(7, 7, 8, 0.7);
}

.contact-form-redesign .form-floating .form-control::placeholder {
  color: transparent;
}

.contact-form-redesign .form-floating label {
  color: rgba(255, 255, 255, 0.6);
}

.contact-form-redesign .form-floating label::after {
  background-color: transparent !important;
}

.contact-form-redesign .form-select option {
  background-color: #1f1f23;
  color: rgba(255, 255, 255, 0.9);
}

.contact-form-redesign .btn-submit {
  background: linear-gradient(145deg, #014751, #01313a);
  color: #fff;
  border: none;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  width: 100%;
}

.contact-form-redesign .btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(1, 71, 81, 0.3);
}

.contact-form-redesign .btn-submit:hover i {
  transform: translateX(5px);
}

.contact-form-redesign .btn-submit i {
  transition: transform 0.3s ease;
}

/* Contact Sidebar */
.contact-sidebar {
  background: rgba(31, 31, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 20px;
}

.sidebar-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sidebar-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-block:first-child {
  padding-top: 0;
}

.sidebar-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(1, 71, 81, 0.15);
  border: 1px solid rgba(1, 71, 81, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-icon i {
  font-size: 1.1rem;
  color: #014751;
}

.sidebar-block h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.sidebar-block p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  line-height: 1.6;
}

.sidebar-block--social {
  flex-direction: column;
  gap: 0;
}

.sidebar-block--social h4 {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.contact-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(1, 71, 81, 0.12);
  border: 1px solid rgba(1, 71, 81, 0.25);
  color: #014751;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-social-icon:hover {
  background: rgba(1, 71, 81, 0.3);
  color: #fff;
  transform: translateY(-3px);
}

/* Contact Map */
.contact-map-block {
  width: 100%;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-map-block iframe {
  filter: grayscale(1) invert(0.92) contrast(0.85);
}

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

  .contact-sidebar {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .contact-form-redesign .php-email-form {
    padding: 16px;
  }
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.portfolio-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

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

.portfolio-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.portfolio-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

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

.portfolio-details .portfolio-description p {
  padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

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

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

.portfolio-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-hero {
  position: relative;
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
}

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

.service-details .service-hero .service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
}

.service-details .service-content .service-header {
  margin-bottom: 40px;
}

.service-details .service-content .service-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.service-details .service-content .service-header .service-intro {
  font-size: 18px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.service-details .service-content h4 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--heading-color);
}

.service-details .service-features {
  margin-bottom: 50px;
}

.service-details .service-features .feature-item {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  background: var(--surface-color);
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
}

.service-details .service-features .feature-item:hover {
  box-shadow: 0 8px 25px color-mix(in srgb, var(--default-color), transparent 90%);
  transform: translateY(-2px);
}

.service-details .service-features .feature-item .feature-icon {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.service-details .service-features .feature-item .feature-icon i {
  font-size: 24px;
  color: var(--accent-color);
}

.service-details .service-features .feature-item .feature-content h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.service-details .service-features .feature-item .feature-content p {
  font-size: 14px;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.service-details .service-process {
  margin-bottom: 50px;
}

.service-details .service-process .process-steps .process-step {
  display: flex;
  margin-bottom: 30px;
  position: relative;
}

.service-details .service-process .process-steps .process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 60px;
  width: 2px;
  height: 40px;
  background: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.service-details .service-process .process-steps .process-step .step-number {
  background: var(--accent-color);
  color: var(--contrast-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 25px;
  flex-shrink: 0;
  font-size: 16px;
}

.service-details .service-process .process-steps .process-step .step-content h5 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--heading-color);
}

.service-details .service-process .process-steps .process-step .step-content p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.service-details .service-gallery {
  margin-bottom: 30px;
}

.service-details .service-gallery img {
  transition: transform 0.3s ease;
}

.service-details .service-gallery img:hover {
  transform: scale(1.05);
}

.service-details .service-sidebar .service-menu {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .service-sidebar .service-menu h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--heading-color);
}

.service-details .service-sidebar .service-menu .menu-list .menu-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-details .service-sidebar .service-menu .menu-list .menu-item:last-child {
  border-bottom: none;
}

.service-details .service-sidebar .service-menu .menu-list .menu-item:hover,
.service-details .service-sidebar .service-menu .menu-list .menu-item.active {
  color: var(--accent-color);
  padding-left: 10px;
}

.service-details .service-sidebar .service-menu .menu-list .menu-item:hover i,
.service-details .service-sidebar .service-menu .menu-list .menu-item.active i {
  color: var(--accent-color);
}

.service-details .service-sidebar .service-menu .menu-list .menu-item i {
  margin-right: 12px;
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: color 0.3s ease;
}

.service-details .service-sidebar .service-menu .menu-list .menu-item span {
  font-weight: 500;
}

.service-details .service-sidebar .service-info {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .service-sidebar .service-info h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--heading-color);
}

.service-details .service-sidebar .service-info .info-list .info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .service-sidebar .service-info .info-list .info-item:last-child {
  border-bottom: none;
}

.service-details .service-sidebar .service-info .info-list .info-item .info-label {
  font-weight: 500;
  color: var(--default-color);
}

.service-details .service-sidebar .service-info .info-list .info-item .info-value {
  font-weight: 600;
  color: var(--accent-color);
}

.service-details .service-sidebar .contact-card {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #000 20%));
  padding: 30px;
  border-radius: 10px;
  color: var(--contrast-color);
}

.service-details .service-sidebar .contact-card .contact-content h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--contrast-color);
}

.service-details .service-sidebar .contact-card .contact-content p {
  margin-bottom: 20px;
  opacity: 0.9;
  font-size: 14px;
  line-height: 1.6;
}

.service-details .service-sidebar .contact-card .contact-content .contact-info {
  margin-bottom: 25px;
}

.service-details .service-sidebar .contact-card .contact-content .contact-info .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.service-details .service-sidebar .contact-card .contact-content .contact-info .contact-item i {
  margin-right: 10px;
  opacity: 0.8;
}

.service-details .service-sidebar .contact-card .contact-content .contact-info .contact-item span {
  font-size: 14px;
}

.service-details .service-sidebar .contact-card .contact-content .btn {
  background: var(--contrast-color);
  color: var(--accent-color);
  border: none;
  padding: 12px 25px;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.service-details .service-sidebar .contact-card .contact-content .btn:hover {
  background: color-mix(in srgb, var(--contrast-color), transparent 10%);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .service-details .service-hero img {
    height: 250px;
  }

  .service-details .service-hero .service-badge {
    top: 15px;
    right: 15px;
    padding: 6px 15px;
    font-size: 12px;
  }

  .service-details .service-content .service-header h2 {
    font-size: 24px;
  }

  .service-details .feature-item {
    padding: 15px !important;
  }

  .service-details .feature-item .feature-icon {
    width: 50px !important;
    height: 50px !important;
    margin-right: 15px !important;
  }

  .service-details .feature-item .feature-icon i {
    font-size: 20px !important;
  }

  .service-details .service-sidebar {
    margin-top: 30px;
  }
}

/* --------------------------------------------------------------
# Auth Buttons (Login / Sign Up) - Lencoe Style
-------------------------------------------------------------- */
.header-auth-buttons {
  display: flex;
  align-items: center;
  gap: 20px;           /* Space between Login and Sign up */
  margin-left: 40px;   /* Push away from the Nav Menu */
  margin-right: 15px;  /* Push away from Social Icons */
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.1); /* Subtle divider line */
}

/* Login Button - Sleek Text Style */
.btn-auth-login {
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.btn-auth-login:hover {
  color: #014751; /* Brand Teal on hover */
}

/* Sign Up Button - Modern Pill Style */
.btn-auth-signup {
  background-color: #014751; /* Brand Teal Background */
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 50px; /* Pill shape */
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #014751;
  box-shadow: 0 4px 15px rgba(1, 71, 81, 0.3); /* Subtle tech glow */
}

.btn-auth-signup:hover {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  box-shadow: 0 0 20px rgba(1, 71, 81, 0.6); /* Intensify glow on hover */
  transform: translateY(-1px); /* Slight lift effect */
}

/* Mobile nav auth buttons handled in main navmenu block */

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/


/* ==========================================================================
   AI SOFTWARE SOLUTIONS DIVISION STYLES (ADD TO MAIN.CSS)
   ========================================================================== */

/* --- Page Variables --- */
:root {
  --lencoe-teal: #014751;
  --lencoe-teal-light: #026f7e;
  --lencoe-dark: #050505;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
}

.ai-solutions-page {
  background-color: var(--lencoe-dark);
  color: #fff;
}

/* --- AI Hero Section --- */
#ai-hero {
  position: relative;
  height: 90vh;
  /* min-height: 600px; */
  overflow: hidden;
  background: radial-gradient(circle at center, #0a1a1c 0%, #000000 70%);
}

.lencoe-void-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(1,71,81,0.2) 50%, #000 100%);
  z-index: 0;
}

.lencoe-grid-overlay {
  position: absolute;
  top: 0; left: 0; width: 200%; height: 200%;
  background-image: 
    linear-gradient(rgba(1, 71, 81, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 71, 81, 0.15) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
  animation: gridMove 20s linear infinite;
  z-index: 1;
}

@keyframes gridMove {
  0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); }
  100% { transform: perspective(500px) rotateX(60deg) translateY(50px) translateZ(-200px); }
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: #4dbbc9;
  border: 1px solid var(--lencoe-teal);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 25px;
  background: rgba(1, 71, 81, 0.1);
}

.ai-hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.text-gradient-teal {
  background: linear-gradient(to right, #fff, #014751);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ai-hero-desc {
  font-size: 1.2rem;
  color: #b0b0b0;
  max-width: 700px;
  margin: 0 auto 30px auto;
  font-weight: 300;
}

@media (max-width: 768px) {
  .ai-hero-title { font-size: 2.5rem; }
  .lencoe-grid-overlay { display: none; } /* Better mobile performance */
}

/* --- Future Buttons --- */
.btn-lencoe-future {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 35px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.btn-lencoe-future.primary {
  background: transparent;
  color: #fff;
  border: 1px solid var(--lencoe-teal);
}

.btn-lencoe-future.primary:hover {
  background: var(--lencoe-teal);
  box-shadow: 0 0 25px rgba(1, 71, 81, 0.6);
  border-color: #4dbbc9;
  transform: translateY(-2px);
}

.btn-lencoe-future.secondary {
  background: transparent;
  color: #aaa;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-lencoe-future.secondary:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.05);
}

/* --- NyViA Section --- */
.dark-section {
  background: #000;
  padding: 80px 0;
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
}

.teal-dot { color: var(--lencoe-teal); }
.section-label {
  color: var(--lencoe-teal);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.nyvia-feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.nyvia-feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  color: #ddd;
}

.nyvia-feature-list i {
  color: var(--lencoe-teal);
  font-size: 1.5rem;
  margin-right: 20px;
  margin-top: -5px;
}

.nyvia-feature-list strong {
  display: block;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

/* Glass Panel (NyViA UI) */
.glass-panel {
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.panel-header {
  background: rgba(255,255,255,0.05);
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
}

.dot { width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; display: inline-block; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.panel-title { margin-left: auto; color: #555; font-size: 0.8rem; font-family: monospace; }
.panel-body { padding: 20px; }

/* --- Service Cards --- */
.service-card-ai {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 40px 30px;
  border-radius: 8px;
  height: 100%;
  transition: all 0.4s ease;
}

.service-card-ai:hover, .service-card-ai.active-glow {
  transform: translateY(-10px);
  border-color: var(--lencoe-teal);
  background: linear-gradient(180deg, rgba(1, 71, 81, 0.1) 0%, rgba(0,0,0,0) 100%);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.service-card-ai .icon-box i {
  font-size: 3rem;
  color: var(--lencoe-teal);
  margin-bottom: 25px;
  display: block;
}

.service-card-ai h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card-ai p {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section-ai {
  background: linear-gradient(0deg, #014751 0%, #000 100%);
  padding: 100px 0;
}

/* --- FX Trading Bot Division Styling --- */
.fx-trading-page {
  background-color: #030303;
  color: #ffffff;
}

#fx-hero {
  height: 80vh;
  position: relative;
  background: radial-gradient(circle at center, #111 0%, #000 100%);
  overflow: hidden;
}

.fx-grid-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: linear-gradient(rgba(55, 92, 212, 0.05) 1px, transparent 1px), 
                    linear-gradient(90deg, rgba(55, 141, 212, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

.text-gradient-gold {
  background: linear-gradient(90deg, #014751, #9bdbf9, #013a44);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.hero-badge-gold {
  display: inline-block;
  padding: 5px 15px;
  border: 1px solid #014751;
  color: #014751;
  font-size: 0.7rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
  border-radius: 50px;
}

.fx-hero-title {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
}

.broker-bar {
  background: #0a0a0a;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  padding: 20px 0;
}

.broker-flex {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: center;
  font-family: monospace;
}

.broker-label { color: #555; font-size: 0.8rem; }
.broker-item { color: #888; font-weight: bold; letter-spacing: 1px; }

.strategy-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: 15px;
  transition: 0.4s ease;
  height: 100%;
}

.strategy-card:hover {
  border-color: #014751;
  background: rgba(55, 58, 212, 0.03);
  transform: translateY(-10px);
}

.strategy-card.active-gold {
  border-color: #014751;
  box-shadow: 0 10px 30px rgba(55, 123, 212, 0.1);
}

.strat-icon i { font-size: 2.5rem; color: #014751; }
.strat-list { list-style: none; padding: 0; margin-top: 20px; color: #aaa; }
.strat-list i { color: #014751; margin-right: 10px; }

.btn-lencoe-gold {
  background: #014751;
  color: #000;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-lencoe-outline {
  border: 1px solid #ffffff;
  color: #fff;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.ai-interface-mockup {
  background: #000;
  border: 1px solid #333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.mock-header {
  background: #111;
  padding: 10px 20px;
  font-family: monospace;
  font-size: 0.7rem;
  color: #014751;
  border-bottom: 1px solid #222;
}

.mock-body {
  padding: 30px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
}

.text-gold { color: #014751; }

/* ==========================================================================
   LENCOE 404 & MERCH COMING SOON STYLES
   ========================================================================== */

/* ... (Keep your existing background/section styles from the previous 404 code) ... */

.error-page-body {
  background-color: #050505;
  color: #fff;
  overflow-x: hidden;
}

.lencoe-error-section {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at center, #0a1113 0%, #000000 100%);
}

.lencoe-void-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(1, 71, 81, 0.15) 0%, transparent 60%);
  filter: blur(80px);
  z-index: 0;
  animation: voidPulse 8s infinite alternate;
}

.lencoe-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(1, 71, 81, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 71, 81, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
  mask-image: radial-gradient(circle, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle, black 40%, transparent 100%);
}

/* --- TEXT STYLES --- */

/* Main Huge Title */
.error-code-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15vw;
  font-weight: 900;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0.8;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  text-shadow: 0 0 50px rgba(1, 71, 81, 0.3);
  user-select: none;
}

/* Adjust size specifically for words longer than 3 chars (like SOON) */
.title-large {
  font-size: 13vw; 
}

/* Scramble Text */
.error-message-scramble {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: -15px;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 5px;
  position: relative;
  z-index: 3;
}

.error-description {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  color: #8faab0;
  max-width: 600px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* --- TERMINAL STATUS --- */
.terminal-status {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #014751;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(1, 71, 81, 0.3);
  padding: 8px 16px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #ff3e3e; /* Default Red */
  border-radius: 50%;
  box-shadow: 0 0 8px #ff3e3e;
}

/* Orange/Amber color for "Manufacturing/Coming Soon" status */
.status-dot.warning {
  background-color: #ffaa00;
  box-shadow: 0 0 8px #ffaa00;
}

.blink {
  animation: blinker 1.5s linear infinite;
  color: #fff;
}

/* --- BUTTONS --- */
.error-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn-lencoe-future {
  position: relative;
  padding: 15px 40px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.btn-lencoe-future.primary {
  background-color: #014751;
  border: 1px solid #014751;
}

.btn-lencoe-future.primary:hover {
  background-color: transparent;
  box-shadow: 0 0 30px rgba(1, 71, 81, 0.4);
  letter-spacing: 2px;
}

.btn-lencoe-future.secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
}

.btn-lencoe-future.secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

/* --- ANIMATIONS & MEDIA QUERIES --- */
@keyframes blinker { 50% { opacity: 0; } }
@keyframes voidPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.15; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.25; }
}

@media (max-width: 768px) {
  .error-code-title { font-size: 8rem; }
  .title-large { font-size: 6rem; } /* Mobile adjustment for SOON */
  .error-message-scramble { font-size: 1.5rem; letter-spacing: 2px; }
  .error-actions { flex-direction: column; gap: 15px; }
  .btn-lencoe-future { width: 100%; }
}

/* ==========================================================================
   AI VISUALIZATION & SPACING FIXES
   ========================================================================== */

/* Fix for the Glass Panel Sizing */
.nyvia-card-wrapper {
  width: 100%;
  max-width: 500px; /* Constrains width so it doesn't look huge */
  margin: 0 auto; /* Centers it within the column */
  perspective: 1000px;
}

.glass-panel {
  background: rgba(1, 71, 81, 0.1); /* Low opacity Teal */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(1, 71, 81, 0.3);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.glass-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(1, 71, 81, 0.6);
}

.panel-header {
  background: rgba(0, 0, 0, 0.4);
  padding: 12px 20px;
  border-bottom: 1px solid rgba(1, 71, 81, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-title {
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  color: #014751; /* Brand Teal */
  margin-left: auto;
  letter-spacing: 1px;
  font-weight: bold;
}

/* The Mac-style window dots */
.dot { height: 10px; width: 10px; border-radius: 50%; display: inline-block; }
.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

/* AI PULSE ANIMATION (The Circle Waving Effect) */
.ai-core-container {
  height: 300px; /* Fixed height for the visual */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at center, rgba(1, 71, 81, 0.2) 0%, transparent 70%);
}

.ai-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid #014751;
  box-shadow: 0 0 10px #014751;
  opacity: 0;
}

/* Central Core */
.ai-core-center {
  width: 20px;
  height: 20px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 20px #fff, 0 0 40px #014751;
  z-index: 10;
  animation: corePulse 2s infinite ease-in-out;
}

/* Rings radiating out */
.ai-ring:nth-child(1) { animation: ripple 3s infinite linear; animation-delay: 0s; }
.ai-ring:nth-child(2) { animation: ripple 3s infinite linear; animation-delay: 1s; }
.ai-ring:nth-child(3) { animation: ripple 3s infinite linear; animation-delay: 2s; }

.typing-indicator {
  font-family: 'Courier New', monospace;
  color: #8faab0;
  font-size: 0.9rem;
  margin-top: -20px;
  padding-bottom: 20px;
}

/* ANIMATIONS */
@keyframes corePulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 30px #fff, 0 0 60px #014751; }
  100% { transform: scale(1); opacity: 0.8; }
}

@keyframes ripple {
  0% { width: 20px; height: 20px; opacity: 1; border-width: 3px; }
  100% { width: 250px; height: 250px; opacity: 0; border-width: 0px; }
}

/* ==========================================================================
   SPACING & LAYOUT ADJUSTMENTS (ELITE FIT)
   ========================================================================== */

/* Reduce the default large padding on sections */
.section-tight {
  padding-top: 30px !important; /* Forces content up */
  padding-bottom: 30px !important;
}

/* Pull the section titles closer to the content below them */
.section-title.tight-bottom {
  margin-bottom: 20px !important; /* Reduces the gap under "NyViA" or "FX Strategies" */
}

/* Force removal of top margins on specific columns */
.no-top-margin {
  margin-top: 0 !important;
}

/* Adjust row gutters so elements aren't too far apart horizontally or vertically */
.row.tight-row {
  --bs-gutter-y: 1.5rem; /* Standard is 3rem (too big) */
}

/* =========================================
   ELITE AI DASHBOARD UI STYLES
   ========================================= */

.ai-dashboard-card {
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(55, 128, 212, 0.3);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  font-family: 'Inter', sans-serif;
  position: relative;
}

/* Glowing Top Border */
.ai-dashboard-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, #014751, transparent);
  opacity: 0.8;
}

/* Header */
.dash-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-title {
  color: #014751;
  font-family: monospace;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.dash-pair {
  color: #666;
  font-family: monospace;
  font-size: 0.8rem;
  font-weight: bold;
}

/* Status Dot Animation */
.status-dot {
  width: 8px; height: 8px;
  background-color: #2ecc71;
  border-radius: 50%;
  display: inline-block;
}

.pulse {
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* Abstract CSS Chart */
.dash-chart {
  height: 120px;
  background: linear-gradient(180deg, rgba(55, 84, 212, 0.05) 0%, rgba(0,0,0,0) 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chart-trend-line {
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, #014751 100%);
  /* This polygon draws the jagged line chart shape */
  clip-path: polygon(0 100%, 10% 85%, 20% 90%, 30% 70%, 40% 75%, 50% 50%, 60% 60%, 70% 30%, 80% 40%, 90% 10%, 100% 15%, 100% 100%);
  opacity: 0.6;
}

.chart-marker {
  position: absolute;
  top: 20%; right: 15%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marker-dot {
  width: 10px; height: 10px;
  background: #014751;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 15px #014751;
}

.marker-label {
  margin-top: 5px;
  font-size: 0.6rem;
  color: #fff;
  background: rgba(0,0,0,0.7);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Metrics Grid */
.dash-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.05); /* Creates border lines between cells */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-box {
  background: rgba(10, 10, 10, 0.9); /* restore dark bg for cells */
  padding: 15px 10px;
  text-align: center;
}

.m-label {
  display: block;
  font-size: 0.65rem;
  color: #777;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.m-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: #eee;
}

/* Chat Interface */
.dash-chat {
  padding: 20px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.ai-avatar {
  min-width: 35px; height: 35px;
  background: rgba(55, 105, 212, 0.2);
  color: #014751;
  border: 1px solid #014751;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.ai-message {
  font-size: 0.85rem;
  color: #bbb;
  line-height: 1.5;
}

.ai-name {
  display: block;
  color: #014751;
  font-size: 0.7rem;
  margin-bottom: 4px;
  font-weight: bold;
}

/* --- LENCOE COOKIE BANNER (Techy/Modern) --- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(1, 71, 81, 0.5); /* Techy Teal Border */
  border-left: 4px solid #014751; /* Accent Sidebar */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  padding: 20px 30px;
  z-index: 9999;
  display: none; /* Hidden by default, shown via JS */
  border-radius: 8px;
  color: #fff;
  font-family: "Inter", sans-serif;
  animation: slideUp 0.6s ease-out forwards;
}

@keyframes slideUp {
  from { opacity: 0; transform: translate(-50%, 50px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-text h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #fff;
}

.cookie-text p {
  font-size: 0.9rem;
  color: #a0a0a0;
  margin: 0;
}

.cookie-links {
  margin-top: 5px;
  font-size: 0.85rem;
}

.cookie-links a {
  color: #014751; /* Teal Accent */
  text-decoration: none;
  border-bottom: 1px dotted #014751;
  margin-right: 15px;
  transition: 0.3s;
}

.cookie-links a:hover {
  color: #d4af37; /* Gold on hover */
  border-color: #d4af37;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  min-width: 250px;
}

.btn-cookie-accept {
  background: #014751;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  flex: 1;
  font-size: 0.9rem;
}

.btn-cookie-accept:hover {
  background: #026b7a;
  box-shadow: 0 0 15px rgba(1, 71, 81, 0.4);
}

.btn-cookie-decline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ccc;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 0.9rem;
}

.btn-cookie-decline:hover {
  border-color: #fff;
  color: #fff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
  }
  .cookie-actions {
    width: 100%;
    margin-top: 15px;
  }
}

/* --- FOOTER FIXES --- */
/* Force footer links to be white/visible */
#footer .footer-links h4 {
  color: #fff !important;
}

#footer .footer-links ul li a {
  color: #d1d1d1 !important; /* Light Gray */
  text-decoration: none;
  transition: 0.3s;
}

#footer .footer-links ul li a:hover {
  color: #014751 !important;
  padding-left: 5px;
}

#footer .copyright p {
  color: #888;
}

/* Mobile nav link colors */
@media (max-width: 1199px) {
  .navmenu ul li a, 
  .scrolled .navmenu ul li a {
    color: rgba(255, 255, 255, 0.85) !important;
  }

  .navmenu ul li a.active,
  .scrolled .navmenu ul li a.active,
  .navmenu ul li a:hover {
    color: #fff !important;
  }

  /* Auth: Sign Up keeps brand teal */
  .navmenu ul li a[style*="color: #014751"],
  .navmenu ul li a[style*="color:#014751"],
  .navmenu ul li.d-lg-none a[href*="register"] {
    color: #fff !important;
  }
}


/* ==========================================================================
   LENCOE NEURAL CORE — Preloader, Canvas, Cursor Glow
   ========================================================================== */

/* ── Preloader ── */
.lencoe-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #070708;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.lencoe-preloader.loaded {
  opacity: 0;
  visibility: hidden;
}
.preloader-inner {
  text-align: center;
  width: 280px;
}
.preloader-logo {
  width: 180px;
  margin-bottom: 30px;
  opacity: 0.85;
}
.preloader-status {
  font-family: 'Inter', monospace;
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: rgba(1, 71, 81, 0.7);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.preloader-bar {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.preloader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #014751, #014751);
  border-radius: 2px;
  transition: width 0.08s linear;
  position: relative;
}
.preloader-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
  animation: preloaderShimmer 0.8s infinite;
}
@keyframes preloaderShimmer {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}
.preloader-pct {
  font-family: 'Inter', monospace;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 12px;
  letter-spacing: 2px;
}

/* ── Neural Canvas Background ── */
.neural-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  /* Slight overscale for gyroscope parallax on mobile */
  transform: scale(1.05);
  transform-origin: center center;
}

/* Ensure all page content layers above the canvas */
.main,
header,
footer {
  position: relative;
  z-index: 2;
}

/* Cookie banner must stay position:fixed - only enforce z-index above canvas */
.cookie-banner {
  z-index: 9999;
}

/* Hero section: transparent so neural particles show through */
.hero {
  background: transparent !important;
}
.hero .hero-background {
  background: transparent !important;
}
.hero .hero-background::before {
  display: none;
}
.hero .hero-overlay {
  background: radial-gradient(circle at 30% 20%, rgba(1, 71, 81, 0.06) 0%, transparent 50%);
}

/* Other sections: semi-transparent dark to let particles subtly bleed through */
.section:not(.hero) {
  background-color: rgba(7, 7, 8, 0.92);
}
.section.light-background {
  background-color: rgba(15, 15, 18, 0.95) !important;
}

/* ── Cursor Glow — Crystalline Probe ── */
.cursor-glow {
  position: fixed;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(50, 150, 170, 0.04) 0%,
    rgba(30, 100, 120, 0.02) 30%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 1;
  transform: translate(-100px, -100px);
  transition: none;
  mix-blend-mode: screen;
}
@media (max-width: 991px) {
  .cursor-glow { display: none; }
}


/* ==========================================================================
   HERO BADGE — Crystalline Light Accent
   ========================================================================== */

.hero .hero-content .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #014751;
  background: rgba(4, 18, 24, 0.6);
  border: 1px solid rgba(1, 71, 81, 0.15);
  padding: 10px 28px;
  border-radius: 2px;
  margin-bottom: 28px;
  position: relative;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Crystalline edge accent lines */
.hero .hero-content .hero-badge::before,
.hero .hero-content .hero-badge::after {
  content: '';
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(1, 71, 81, 0.4), transparent);
  height: 1px;
  left: 10%;
  right: 10%;
}
.hero .hero-content .hero-badge::before { top: 0; }
.hero .hero-content .hero-badge::after { bottom: 0; }

.badge-crystal-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: rgba(1, 71, 81, 0.7);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: crystalDotPulse 3s ease-in-out infinite;
}
@keyframes crystalDotPulse {
  0%, 100% { opacity: 0.4; filter: drop-shadow(0 0 2px rgba(1, 71, 81, 0.2)); }
  50%      { opacity: 1;   filter: drop-shadow(0 0 6px rgba(1, 71, 81, 0.5)); }
}

/* Legacy badge-pulse still supported */
.badge-pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: rgba(1, 71, 81, 0.7);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: crystalDotPulse 3s ease-in-out infinite;
}


/* ==========================================================================
   Page Hero — Inner Pages
   ========================================================================== */

.page-hero {
  position: relative;
  z-index: 2;
  padding: 120px 0 60px;
  background: transparent;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 0;
}

.page-hero-lead {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-top: 18px;
}


/* ==========================================================================
   NyViA — Sentient Orb Section
   ========================================================================== */

.nyvia-section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
  overflow: hidden;
}

.nyvia-orb-wrapper {
  position: relative;
  display: inline-block;
  max-width: 420px;
  width: 100%;
  perspective: 600px;
}

.nyvia-orb-canvas {
  display: block;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

.nyvia-orb-img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 50%;
  will-change: transform;
  transition: transform 0.15s ease-out;
  object-fit: cover;
  filter: drop-shadow(0 0 40px rgba(1, 71, 81, 0.3));
}

.nyvia-orb-label {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(1, 71, 81, 0.5);
}

.nyvia-content {
  padding-left: 20px;
}

.nyvia-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #014751;
  border: 1px solid rgba(1, 71, 81, 0.4);
  padding: 5px 16px;
  border-radius: 30px;
  margin-bottom: 18px;
  background: rgba(1, 71, 81, 0.08);
}

.nyvia-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 18px;
  color: var(--heading-color, #fff);
}

.nyvia-lead {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  margin-bottom: 25px;
}

.nyvia-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.nyvia-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.nyvia-feat i {
  color: #014751;
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.nyvia-savings {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
}
.nyvia-savings strong {
  color: #014751;
}

@media (max-width: 991px) {
  .nyvia-content {
    padding-left: 0;
    text-align: center;
    margin-top: 20px;
  }
  .nyvia-features {
    align-items: center;
  }
  .nyvia-content h2 { font-size: 1.8rem; }
}


/* ==========================================================================
   TRADING TERMINAL — Division II
   ========================================================================== */

.trading-terminal {
  position: relative;
  z-index: 2;
}

.terminal-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 35px 30px;
  height: 100%;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.terminal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #014751, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.terminal-card:hover {
  border-color: rgba(1, 71, 81, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(1, 71, 81, 0.08);
}

.terminal-card:hover::before {
  opacity: 1;
}

.terminal-status {
  font-family: 'Inter', monospace;
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.status-dot--live {
  background: #00e676;
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.5);
  animation: statusPulse 2s infinite;
}

.status-dot--soon {
  background: rgba(255, 255, 255, 0.25);
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 4px rgba(0, 230, 118, 0.3); }
  50% { box-shadow: 0 0 12px rgba(0, 230, 118, 0.6); }
}

.terminal-card--live .terminal-status {
  color: #00e676;
}

.terminal-card--soon .terminal-status {
  color: rgba(255, 255, 255, 0.55);
}

.terminal-card--soon {
  opacity: 0.55;
}
.terminal-card--soon:hover {
  opacity: 0.75;
}

.terminal-icon {
  margin-bottom: 18px;
}

.terminal-icon i {
  font-size: 2rem;
  color: #014751;
}

.terminal-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--heading-color, #fff);
}

.terminal-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.terminal-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.spec {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.spec-label {
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Inter', sans-serif;
}

.spec-value {
  font-size: 0.85rem;
  color: #014751;
  font-weight: 600;
}

/* ── Terminal Button ── */
.trading-terminal .btn.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #014751;
  border: 1px solid rgba(1, 71, 81, 0.5);
  background: transparent;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.trading-terminal .btn.btn-outline:hover {
  background: rgba(1, 71, 81, 0.15);
  border-color: #014751;
  color: #fff;
}

@media (max-width: 767px) {
  .terminal-specs {
    justify-content: center;
  }
  .terminal-card {
    text-align: center;
  }
}

/* ==========================================================================
   PRELOADER — Terminal Log Enhancement
   ========================================================================== */

.preloader-log {
  margin-top: 18px;
  text-align: left;
  max-width: 320px;
  width: 100%;
}

.preloader-log-line {
  font-family: 'Inter', monospace;
  font-size: 0.6rem;
  color: rgba(1, 71, 81, 0.45);
  letter-spacing: 1px;
  line-height: 1.8;
  opacity: 0;
  animation: preloaderLogFade 0.3s ease forwards;
}

@keyframes preloaderLogFade {
  to { opacity: 1; }
}


/* ==========================================================================
   MAGNETIC BUTTON + 3D TILT + REVEAL
   ========================================================================== */

.btn-magnetic,
.hero-btns .btn,
.btn-auth-signup,
.btn-auth-login {
  will-change: transform;
}

.terminal-card,
.service-item,
.pricing-card {
  will-change: transform;
  transform-style: preserve-3d;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE
   ========================================================================== */

/* ── Small Tablets (≤991px) ── */
@media (max-width: 991px) {
  .neural-canvas {
    opacity: 0.85;
  }

  .page-hero {
    padding: 100px 0 40px;
  }

  .page-hero h1 {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
  }

  .page-hero-lead {
    font-size: 0.95rem;
  }

  .nyvia-orb-wrapper {
    max-width: 300px;
    margin: 0 auto 20px;
  }

  .terminal-card {
    padding: 28px 22px;
  }

  .terminal-card h3 {
    font-size: 1.1rem;
  }

  .services .services-container .service-item {
    flex-direction: column;
  }

  .services .services-container .service-item .service-icon {
    flex: 0 0 60px;
    width: 100%;
  }

  .services .services-container .service-item .service-content {
    padding: 22px;
  }

  .services .services-container .service-item .service-number {
    font-size: 2.5rem;
    top: 12px;
    right: 12px;
  }

  footer .footer-top {
    padding: 30px 0;
  }

  footer h4 {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .hero-stats {
    gap: 12px;
  }

  .stat-item h3 {
    font-size: 1.6rem;
  }
}

/* ── Mobile (≤767px) ── */
@media (max-width: 767px) {
  .neural-canvas {
    opacity: 0.75;
  }

  .page-hero {
    padding: 90px 0 30px;
    text-align: center;
  }

  .page-hero h1 {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }

  .page-hero-lead {
    font-size: 0.88rem;
    line-height: 1.7;
  }

  .nyvia-section {
    padding: 60px 0;
  }

  .nyvia-orb-wrapper {
    max-width: 260px;
  }

  .nyvia-content h2 {
    font-size: 1.5rem;
  }

  .nyvia-lead {
    font-size: 0.88rem;
  }

  .nyvia-feat {
    font-size: 0.82rem;
  }

  .terminal-card {
    padding: 24px 18px;
    border-radius: 12px;
  }

  .terminal-card h3 {
    font-size: 1rem;
  }

  .terminal-card p {
    font-size: 0.82rem;
  }

  .terminal-icon i {
    font-size: 1.6rem;
  }

  .trading-terminal .btn.btn-outline {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  .services .services-container .service-item .service-title {
    font-size: 1.15rem;
  }

  .services .services-container .service-item .service-text {
    font-size: 0.85rem;
  }

  .hero .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.15;
  }

  .hero .hero-content p {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stat-item {
    padding: 16px 12px;
  }

  .stat-item h3 {
    font-size: 1.4rem;
  }

  .stat-item p {
    font-size: 0.7rem;
  }

  .section-title h2 {
    font-size: 1.6rem;
  }
}

/* ── Small Phones (≤480px) ── */
@media (max-width: 480px) {
  .page-hero {
    padding: 80px 0 24px;
  }

  .page-hero h1 {
    font-size: 1.4rem;
  }

  .nyvia-orb-wrapper {
    max-width: 220px;
  }

  .nyvia-content h2 {
    font-size: 1.3rem;
  }

  .terminal-card {
    padding: 20px 16px;
  }

  .terminal-specs {
    gap: 8px;
  }

  .spec-label {
    font-size: 0.55rem;
  }

  .spec-value {
    font-size: 0.75rem;
  }

  .hero .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero .hero-content .hero-badge {
    font-size: 0.55rem;
    padding: 6px 14px;
    letter-spacing: 2px;
  }

  footer .social-links a {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .lencoe-preloader .preloader-logo {
    max-width: 200px;
  }

  .preloader-status {
    font-size: 0.5rem;
    letter-spacing: 3px;
  }

  .preloader-log-line {
    font-size: 0.5rem;
  }
}

/* ── Touch Device Optimizations ── */
@media (hover: none) and (pointer: coarse) {
  .terminal-card:hover,
  .service-item:hover {
    transform: none;
    box-shadow: 0 10px 30px color-mix(in srgb, var(--accent-color), transparent 92%);
  }

  .cursor-glow {
    display: none !important;
  }
}
/* ==========================================================================
   MOBILE & RESPONSIVE PRODUCTION FIXES
   Full regression: logo, header, nav, sections, cards, footer
   ========================================================================== */

/* -- Logo: constrain to prevent header overflow -- */
.header .logo img {
  max-width: 220px;
  height: auto;
}

@media (max-width: 991px) {
  .header .logo img {
    max-width: 180px;
  }
}

@media (max-width: 575px) {
  .header .logo img {
    max-width: 140px;
  }
}

/* -- Hide header social icons on tablet/mobile (frees header space) -- */
@media (max-width: 1199px) {
  .header .header-social-links {
    display: none !important;
  }
}

/* -- Prevent horizontal scroll globally -- */
html {
  overflow-x: hidden;
}

/* -- Hero badge: readable minimum at small screens -- */
@media (max-width: 480px) {
  .hero .hero-badge,
  .hero-badge {
    font-size: 0.65rem;
    padding: 6px 14px;
    letter-spacing: 2px;
  }
}

/* -- Hero paragraph mobile -- */
@media (max-width: 575px) {
  .hero .hero-content p {
    font-size: 1rem;
    line-height: 1.55;
  }
}

/* -- Hero stats single-column on very small phones -- */
@media (max-width: 400px) {
  .hero .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero .hero-stats .stat-item {
    padding: 1.25rem 1rem;
  }

  .hero .hero-stats .stat-item h3 {
    font-size: 1.75rem;
  }
}

/* -- Terminal cards: clear inline min-height on mobile -- */
@media (max-width: 767px) {
  .terminal-card[style*="min-height"] {
    min-height: auto !important;
  }

  .terminal-card {
    min-height: auto !important;
  }
}

@media (max-width: 575px) {
  .terminal-card {
    padding: 24px 20px;
  }

  .terminal-card h3 {
    font-size: 1.15rem;
  }

  .terminal-card p {
    font-size: 0.9rem;
  }

  .terminal-specs {
    gap: 8px;
  }

  .terminal-specs .spec {
    font-size: 0.8rem;
  }
}

/* -- NyViA section mobile -- */
@media (max-width: 767px) {
  .nyvia-section .nyvia-orb-wrapper {
    max-width: 280px;
    margin: 0 auto;
  }

  .nyvia-orb-img {
    max-width: 280px;
  }

  .nyvia-content h2 {
    font-size: 1.6rem;
  }

  .nyvia-lead {
    font-size: 0.95rem;
  }

  .nyvia-feat {
    font-size: 0.9rem;
  }

  .nyvia-feat i {
    font-size: 1rem;
    min-width: 24px;
  }
}

/* -- About section: CTA buttons stack on mobile -- */
@media (max-width: 575px) {
  .about .content .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .about .content .cta-buttons a {
    margin-left: 0 !important;
  }

  .about .image-wrapper .experience-box {
    bottom: -15px;
    right: 10px;
    padding: 16px;
  }

  .about .image-wrapper .experience-box .years {
    font-size: 2rem;
  }

  .about .content .section-header h2 {
    font-size: 1.6rem;
  }

  .about .content .highlight-text {
    font-size: 0.95rem;
  }

  .about .content .features-list .feature-item {
    gap: 1rem;
  }

  .about .content .features-list .feature-item .icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 1.2rem;
  }

  .about .content .features-list .feature-item .text h4 {
    font-size: 1.05rem;
  }

  .about .content .features-list .feature-item .text p {
    font-size: 0.9rem;
  }
}

/* -- Services cards: icon + content on small screens -- */
@media (max-width: 575px) {
  .services .services-container .service-item .service-icon {
    height: 60px;
    font-size: 1.5rem;
  }

  .services .services-container .service-item .service-content {
    padding: 20px 16px;
  }

  .services .services-container .service-item .service-title {
    font-size: 1.15rem;
  }

  .services .services-container .service-item .service-number {
    font-size: 3rem;
    top: 12px;
    right: 12px;
  }

  .services .services-container .service-item .service-text {
    font-size: 0.88rem;
  }
}

/* -- Pricing cards mobile -- */
@media (max-width: 575px) {
  .pricing .pricing-card {
    padding: 1.5rem 1.25rem;
  }

  .pricing .pricing-card .pricing-header .price {
    font-size: 2rem;
  }

  .pricing .pricing-card .pricing-header .price .currency {
    font-size: 1.2rem;
  }

  .pricing .pricing-card .features-list li {
    font-size: 0.88rem;
  }
}

/* -- FAQ mobile -- */
@media (max-width: 575px) {
  .faq .faq-item .faq-header {
    padding: 16px;
    gap: 12px;
  }

  .faq .faq-item .faq-header .faq-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .faq .faq-item .faq-header h4 {
    font-size: 0.88rem;
  }
}

/* -- Section title watermark: scale down on tiny screens -- */
@media (max-width: 400px) {
  .section-title span {
    font-size: 30px;
  }

  .section-title h2 {
    font-size: 22px;
  }
}

/* -- Enterprise CTA inline padding override -- */
@media (max-width: 575px) {
  #enterprise-cta [style*="padding:48px"] {
    padding: 28px 20px !important;
  }

  #enterprise-cta .btn-lg {
    font-size: 0.9rem;
    padding: 12px 24px;
  }

  #enterprise-cta .btn-outline {
    padding: 10px 20px !important;
    font-size: 0.9rem;
  }
}

/* -- FX Trading: broker bar gap fix on mobile -- */
@media (max-width: 575px) {
  .broker-flex {
    gap: 16px !important;
  }

  .broker-item {
    font-size: 0.65rem;
  }
}

/* -- FX Hero mobile -- */
@media (max-width: 575px) {
  #fx-hero {
    height: auto;
    min-height: 80vh;
    padding: 100px 0 60px;
  }

  .fx-hero-title {
    font-size: 2.5rem;
  }
}

/* -- AI Solutions hero mobile -- */
@media (max-width: 575px) {
  #ai-hero {
    height: auto;
    min-height: 80vh;
    padding: 100px 0 60px;
  }

  .ai-hero-title {
    font-size: 2rem;
  }

  .ai-hero-desc {
    font-size: 0.95rem;
  }
}

/* -- Contact form redesign mobile -- */
@media (max-width: 575px) {
  .contact-form-redesign .form-header-bar {
    padding: 12px 16px;
    font-size: 0.78rem;
  }

  .contact-sidebar {
    padding: 18px 16px;
  }

  .sidebar-block h4 {
    font-size: 0.85rem;
  }

  .sidebar-block p {
    font-size: 0.8rem;
  }

  .contact-map-block {
    height: 180px;
  }
}

/* -- Footer: tighten on mobile -- */
@media (max-width: 575px) {
  .footer {
    padding: 30px 0 0 0;
    font-size: 13px;
  }

  .footer h4 {
    font-size: 14px;
  }

  .footer .icon {
    font-size: 20px;
    margin-right: 10px;
  }

  .footer .social-links a {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .footer .copyright {
    padding: 20px 0;
  }
}

/* -- Cookie banner mobile: better stacking -- */
@media (max-width: 575px) {
  .cookie-banner {
    width: 95%;
    padding: 16px 18px;
    bottom: 10px;
  }

  .cookie-banner .cookie-text h4 {
    font-size: 0.95rem;
  }

  .cookie-banner .cookie-text p {
    font-size: 0.8rem;
  }

  .cookie-actions {
    min-width: unset;
  }
}

/* Touch targets: 44px minimum for a11y */
@media (max-width: 991px) {
  .footer .social-links a,
  .scroll-top {
    min-height: 44px;
    min-width: 44px;
  }

  .navmenu a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* -- Service cards AI: mobile -- */
@media (max-width: 575px) {
  .service-card-ai {
    padding: 28px 22px;
  }

  .service-card-ai .icon-box i {
    font-size: 2.4rem;
    margin-bottom: 18px;
  }

  .service-card-ai h3 {
    font-size: 1.25rem;
  }

  .service-card-ai p {
    font-size: 0.88rem;
  }
}

/* -- Strategy cards (FXTrading) mobile -- */
@media (max-width: 575px) {
  .strategy-card {
    padding: 28px 22px;
  }

  .strat-icon i {
    font-size: 2rem;
  }
}

/* -- Glass panel NyViA mobile -- */
@media (max-width: 767px) {
  .nyvia-card-wrapper {
    max-width: 100%;
  }

  .glass-panel .panel-body {
    padding: 16px;
  }

  .ai-core-container {
    height: 220px;
  }
}

/* -- Steps process mobile fine-tune -- */
@media (max-width: 575px) {
  .steps .process-item .step-content h3 {
    font-size: 1.1rem;
  }

  .steps .process-item .step-content p {
    font-size: 0.88rem;
  }

  .steps .process-item .step-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
  }

  .steps .process-item .step-icon i {
    font-size: 1.5rem;
  }
}

/* -- Payment partners: smaller cards on tiny screens -- */
@media (max-width: 360px) {
  .payment-partners .partner-card {
    width: 130px;
    height: 85px;
    padding: 12px 10px;
  }

  .payment-partners .partner-card img {
    max-height: 38px;
  }
}

/* -- 404 / Merch Coming Soon mobile -- */
@media (max-width: 400px) {
  .error-code-title {
    font-size: 6rem;
  }

  .title-large {
    font-size: 5rem;
  }

  .error-message-scramble {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }

  .error-description {
    font-size: 0.95rem;
  }
}

/* -- Testimonial cards mobile -- */
@media (max-width: 575px) {
  .testimonials .testimonial-content {
    padding: 24px 16px 16px;
  }

  .testimonials .testimonial-content p {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .testimonials .testimonial-profile {
    padding: 14px 16px;
  }

  .testimonials .profile-info img {
    width: 40px;
    height: 40px;
  }

  .testimonials .profile-info h3 {
    font-size: 14px;
  }

  .testimonials .profile-info h4 {
    font-size: 12px;
  }
}
