/*=================
    01.BASIC
===================*/

:root {
  --brand-primary: #2d25c8;
  --brand-primary-dark: #1d1a85;
  --brand-accent: #ffc107;
  --brand-soft: #edf3ff;
  --text-heading: #1c2340;
  --text-body: #5f6787;
  --white: #ffffff;
  --shadow-soft: 0 18px 40px rgba(45, 37, 200, 0.12);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  color: var(--text-body);
  background: #fff;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-heading);
}

h1.fw-bold,
h2.fw-bold,
h3.fw-bold,
h4.fw-bold,
h5.fw-bold,
h6.fw-bold {
  font-weight: 500 !important;
}

a,
a:hover,
a:focus,
button {
  text-decoration: none !important;
  outline: none !important;
}

button:focus-visible,
.navbar-toggler:focus-visible,
.gallery-filter:focus-visible,
.lightbox-close:focus-visible,
.lightbox-navigation:focus-visible {
  outline: 3px solid #0a7a4b !important;
  outline-offset: 3px;
}

img {
  max-width: 100%;
}

.company-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #edf3ff;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

/*==================
    02.HELPER
====================*/

.bg_overlay_cover_on {
  background-color: rgba(45, 37, 200, 0.8);
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.home-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.text_custom {
  color: #2d25c8;
}

.bg_custom {
  background-color: #2d25c8;
}

.btn {
  padding: 12px 32px;
  font-size: 14px;
  transition: all 0.35s ease;
  letter-spacing: 0.6px;
  color: #fff;
  box-shadow: none !important;
  text-transform: uppercase;
  outline: none !important;
  font-weight: 700;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn_custom {
  border: 2px solid var(--brand-primary);
  background: linear-gradient(135deg, var(--brand-primary), #4c45d9);
  font-weight: bold;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(45, 37, 200, 0.2) !important;
}

.btn_custom:hover,
.btn_custom:focus,
.btn_custom:active,
.btn_custom.active,
.btn_custom.focus {
  color: #fff;
  background-color: #4a44c5;
  border: 2px solid #4a44c5;
}

.btn_outline {
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  border-radius: 35px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08) !important;
}

.btn_outline:hover,
.btn_outline:focus,
.btn_outline:active,
.btn_outline.active,
.btn_outline.focus {
  color: #2d25c8;
  background: #fff;
  border-color: #fff;
}

.vertical_content_manage {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  -webkit-align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
  flex-direction: row;
  -webkit-flex-direction: row;
}

.section_all {
  position: relative;
  padding-top: 60px;
  padding-bottom: 60px;
}

.section_title_border {
  background-color: #2d25c8;
  height: 6px;
  width: 100px;
  border-radius: 5px;
}

.btn_small {
  padding: 8px 24px;
}

.navbar-brand img {
  height: 34px;
}

.btn_rounded {
  border-radius: 35px !important;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

/*======================
    03  NAVBAR
=======================*/

.custom_nav_menu {
  padding: 15px 0px;
  width: 100%;
  border-radius: 0px;
  z-index: 999;
  margin-bottom: 0px;
  transition: all 0.5s ease-in-out;
}

.custom_nav_menu .navbar-nav li a {
  color: #fff;
  font-size: 15px;
  background-color: transparent !important;
  padding: 15px 0;
  margin: 0 7px;
  transition: all 0.4s;
}

.navbar-toggler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 1px solid rgba(28, 35, 64, 0.16);
  border-radius: 9px;
  background: #fff;
  font-size: 24px;
  margin-top: 5px;
  margin-bottom: 0px;
  color: var(--text-heading);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.navbar-toggler:hover {
  border-color: rgba(28, 35, 64, 0.32);
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.menu-icon {
  position: relative;
  flex: 0 0 22px;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-icon::before {
  top: -7px;
}

.menu-icon::after {
  top: 7px;
}

.navbar-toggler[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.stickyadd .navbar-nav {
  margin-top: 0px;
}

.stickyadd.custom_nav_menu .navbar-nav li a {
  color: rgba(0, 0, 0, 0.75);
}

.custom_nav_menu .navbar-brand.logo img {
  height: 38px;
  margin-top: -20px;
}

.stickyadd.custom_nav_menu {
  margin-top: 0px;
  padding: 8px 0px;
  background-color: #fff;
  border-bottom: 1px solid #fff;
  box-shadow: 0px 0px 18px 1px rgba(0, 0, 0, 0.1);
}

.custom_nav_menu .navbar-nav li.active a,
.custom_nav_menu .navbar-nav li a:hover,
.custom_nav_menu .navbar-nav li a:active {
  color: #0cbefc !important;
}

.logo .logo-light {
  display: inline-block;
}

.stickyadd .logo .logo-dark {
  display: inline-block;
}

.stickyadd .logo .logo-light {
  display: none;
}

.logo .logo-dark {
  display: none;
}

.stickyadd .btn_outline {
  border: 2px solid #2d25c8;
  background: #ffc107;
  border-radius: 35px;
  color: #000000;
}

.stickyadd .btn_outline:hover,
.stickyadd .btn_outline:focus,
.stickyadd .btn_outline:active,
.stickyadd .btn_outline.active,
.stickyadd .btn_outline.focus {
  color: #fff;
  background: #2d25c8;
  border-color: #2d25c8;
}

/*================
    04.HOME
==================*/

.bg_home_tech_soft {
  background-image: url(images/main_bg.jpg);
  position: relative;
  background-size: cover;
  background-position: center center;
  padding-top: 80px;
}

.home_title {
  font-size: 40px;
  line-height: 1.4;
  max-width: 700px;
}

.home_subtitle {
  color: #dadada;
  max-width: 450px;
  line-height: 1.8;
  font-size: 0.9rem;
}

.home_table_cell_center {
  display: table-cell;
  vertical-align: middle;
}

.home_table_cell {
  display: table;
  width: 100%;
  height: 100%;
}

.full_height_100vh_home {
  height: 100vh;
}

.up-index {
  z-index: 2;
}

/*====================
  05.  ABOUT US
====================*/

.about_details {
  max-width: 400px;
}

.about_details h3 {
  font-size: 30px;
  color: #3a4270;
}

.about_details_box {
  background: #ffffff;
  box-shadow: 0 10px 15px -2px rgba(158, 152, 153, 0.2);
  border-radius: 18px;
  border: 1px solid rgba(45, 37, 200, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about_details_box:hover,
.services_boxes:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.about_details_box strong {
  font-size: 1.2rem;
}

.text_muted {
  color: #868aa5;
}

.about_details_box .text_muted {
  font-size: 0.85rem;
}

/*===================
    0.6  CTA
====================*/

.small_cta_desc {
  font-size: 26px;
}

/*====================
   0.7 SERVICES
=====================*/

.services_boxes {
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(20, 30, 80, 0.08);
  border: 1px solid rgba(45, 37, 200, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services_boxes .services_icon .services-glyph {
  height: 65px;
  text-align: center;
  width: 65px;
  display: inline-block;
  font-size: 26px;
  border-radius: 50%;
  line-height: 65px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.services-glyph::before {
  display: inline-block;
  font-family: inherit;
}

.glyph-vision::before { content: "◎"; }
.glyph-mission::before { content: "↗"; }
.glyph-quality::before { content: "✓"; }
.glyph-customer::before { content: "+"; }

.bg_first_service {
  background-color: #f7e306;
}

.bg_second_service {
  background-color: #0eb5f9;
}

.bg_third_service {
  background-color: #e69021;
}

.bg_four_service {
  background-color: #ce5598;
}

/*=======================
    0.8    FEATURES
=======================*/

.features_box .features_icon .team-symbol {
  position: relative;
  display: block;
  width: 45px;
  height: 36px;
  float: left;
  margin-right: 20px;
}

.team-symbol::before,
.team-symbol::after {
  position: absolute;
  content: "";
  background: #fff;
}

.team-symbol::before {
  top: 2px;
  left: 17px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: -11px 4px 0 -1px #fff;
}

.team-symbol::after {
  top: 17px;
  left: 8px;
  width: 25px;
  height: 14px;
  border: 3px solid #fff;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: transparent;
}

.features_details {
  overflow: hidden;
}

.features_header h3 {
  max-width: 850px;
}

.features_box {
  background: #254fd7;
}

.list-group-item.active {
  background-color: #254fd7;
  border-color: #2d25c8;
}

/*====================
  10 PORTFOLIO
=====================*/

#menu-filter li:not(:last-child)::after {
  content: "/";
  margin-left: 0.8125em;
  opacity: 0.4;
}

#menu-filter li a {
  padding: 10px;
  color: #d4d4d4;
}

#menu-filter .gallery-filter {
  padding: 10px;
  border: 0;
  background: transparent;
  color: #d4d4d4;
  font: inherit;
  cursor: pointer;
}

#menu-filter .gallery-filter.active,
#menu-filter .gallery-filter:hover,
#menu-filter .gallery-filter:focus-visible {
  color: #505050;
}

.work-filter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  margin-right: 0;
  margin-left: 0;
}

.work-filter > [class*="col-"] {
  width: auto;
  max-width: none;
  padding: 0;
}

.work-filter [hidden] {
  display: none !important;
}

.gallery-lightbox {
  position: fixed;
  width: min(92vw, 1100px);
  max-width: none;
  max-height: 92vh;
  padding: 48px 16px 16px;
  overflow: auto;
  border: 0;
  border-radius: 6px;
  background: #fff;
}

.gallery-lightbox::backdrop {
  background: rgba(15, 25, 20, 0.84);
}

.gallery-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 64px);
  margin: 0 auto;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 6px 10px;
  border: 1px solid #d5d9d6;
  border-radius: 4px;
  background: #fff;
  color: #25352d;
  cursor: pointer;
}

.lightbox-navigation {
  position: absolute;
  top: 50%;
  padding: 8px 10px;
  border: 1px solid #d5d9d6;
  border-radius: 4px;
  background: #fff;
  color: #25352d;
  cursor: pointer;
}

.lightbox-previous {
  left: 10px;
}

.lightbox-next {
  right: 10px;
}

#seproducts tbody > tr > td:last-of-type:before,
#smproducts tbody > tr > td:last-of-type:before,
#dhproducts tbody > tr > td:last-of-type:before {
  content: "\20B9";
  margin: auto 2px;
}

/*======================
  11.1. Products TABLE
=======================*/

.custom-table {
  border: 1px solid #eee;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(12, 23, 72, 0.08);
}

.custom-table table {
  --bs-table-color: var(--text-body);
  --bs-table-hover-color: var(--text-body);
  --bs-table-hover-bg: rgba(45, 37, 200, 0.055);
  margin-bottom: 0;
}

.custom-table thead th {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.custom-table tbody td,
.custom-table tbody th {
  vertical-align: middle;
  font-size: 0.92rem;
}

.custom-table tbody tr:nth-child(even) {
  background-color: rgba(45, 37, 200, 0.02);
}

.custom-table tbody tr:nth-child(even) > * {
  --bs-table-bg-type: rgba(45, 37, 200, 0.02);
}

/*==================
    12.FOOTER
====================*/

.footer_background {
  background: linear-gradient(135deg, #211c7b, #2d25c8 45%, #3d35d8);
}

.footer_detail ul.footer_menu_list li a:hover {
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s;
}

.footer_detail ul.footer_menu_list li a {
  color: #fff;
  display: inline-block;
  padding: 4px 0;
  text-decoration: none !important;
}

.footer_detail .fot_bor {
  height: 2px;
  background: #514bc4;
  width: 100%;
}

/*=====================
    13. RESPONSIVE
=======================*/

@media (max-width: 992px) {
  .custom_nav_menu {
    margin-top: 0px;
    background-color: #fff !important;
    padding: 10px 0;
  }
  .custom_nav_menu .navbar-collapse {
    margin-top: 10px;
    padding: 12px 16px 16px;
    background: #fff;
    border: 1px solid rgba(28, 35, 64, 0.08);
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(28, 35, 64, 0.14);
  }
  .custom_nav_menu .navbar-nav li a {
    margin: 0;
    padding: 11px 8px;
    color: var(--text-heading) !important;
    border-bottom: 1px solid rgba(28, 35, 64, 0.07);
  }
  .custom_nav_menu .navbar-nav li:last-child a {
    border-bottom: 0;
  }
  .custom_nav_menu .navbar-nav li.active a,
  .custom_nav_menu .navbar-nav li a:hover {
    color: var(--brand-primary) !important;
  }
  .nav-cta {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
  }
  .nav-cta .navbar-btn {
    width: 100%;
    margin: 0;
    text-align: center;
  }
  .vertical_content_manage {
    display: inherit;
  }
  .home_title {
    font-size: 32px;
  }
  .custom_nav_menu .navbar-nav li a {
    margin: 0 0px;
    padding: 6px 0;
    color: rgba(0, 0, 0, 0.55) !important;
  }
  .custom_nav_menu .navbar-nav li.active a {
    color: #0cbefc !important;
  }
  .custom_nav_menu > .container {
    width: 90%;
  }
  .custom_nav_menu .logo .logo-dark {
    display: inline-block;
  }
  .custom_nav_menu .logo .logo-light {
    display: none;
  }
  .navbar-nav {
    margin-top: 0px;
  }
  .navbar-toggler {
    font-size: 28px;
    margin-top: 0px;
  }
  .navbar-btn {
    color: #000000;
    background: #ffc107;
    border-color: rgba(0, 0, 0, 0.55) !important;
  }
}

@media (max-width: 768px) {
  .h-100vh,
  .full_height_100vh_home {
    height: auto;
  }
  .full_height_100vh_home {
    padding: 100px 0px;
  }
  .business_about_details h3 {
    font-size: 22px;
  }
}

@media (max-width: 580px) {
  .home_title {
    font-size: 30px;
    line-height: 1.25;
  }
  .home_btn_manage .btn {
    margin: 0 0 10px;
    width: 100%;
  }
}
