:root {
    color-scheme: light dark;
    --bs-nav-link-font-size: 14px;
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    --inno-gutter-x: 2.4rem !important;
    --accent-color: #9F56C1;
    --accent-dark: #391f47;
    --accent-light: #f9f4fb;
    --accent-trans: #9f56c129;
    --bs-primary: #9F56C1;
    --text-color: #343434;
    --text-secondary: rgba(45, 45, 45, 0.72);
    --text-accent: var(--accent-color);
    --text-muted: rgba(49, 49, 49, 0.58);
    --border-radius: 10px;
}

.dropdown-menu {
    --bs-dropdown-font-size: 14px;
}

.container{
    padding-right: calc(var(--inno-gutter-x) * .5);
    padding-left: calc(var(--inno-gutter-x) * .5);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

span.truncated {
  display: inline-block;
  max-width: 11ch;
  overflow: hidden;
  white-space: nowrap; 
  text-overflow: ellipsis;
}

body {
    margin: 0;
    padding-top: 50px;
    min-height: 100vh;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-color);
    background-color: #f7f7f7;
    transition: padding-top 0.6s ease-in-out;
} body.nav-open{
    padding-top: 0;
    transition: padding-top 0.3s ease;
}


h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: 300;
    letter-spacing: -0.02em;
}

h1{
    letter-spacing: clamp(-1.4px,-1px - .1vw,-.96px) !important;
    font-size: clamp(1.75rem, 1.5rem + 1vw, 2.5rem) !important;
    line-height: 1.4;
}

h2 {
    font-size: 28px !important;
    line-height: 36px !important;
    letter-spacing: -0.64px !important;
}

h3,h4 {
    font-size: 24px !important;
    line-height: 32px !important;
    letter-spacing: -.96px !important;
}

h5, h6 {
    font-size: 18px !important;
    line-height: 28px !important;
    letter-spacing: -0.3px !important;
}

p, span, a, li, label {
    font-size: 14px;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-primary {
    color: var(--bs-primary) !important;
}

.text-accent{
    color: var(--text-accent) !important;
}

.lead,
small,
.form-text,
.muted {
    color: var(--text-secondary);
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

body,
button,
input,
textarea,
select {
    font-family: inherit;
}


::selection {
    background: rgba(118, 43, 155, 0.2);
    color: inherit;
}

.btn,
.btn-primary,
.btn-outline-primary {
    font-size: 14px;
    font-weight: 500;
}

.hgi-stroke{
    font-weight: 400 !important;
    font-size: 18px !important;
}

.btn{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    line-height: 1;
}

.btn-primary, .bg-primary {
    background: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: #ffffff;
}

.rounded-lg {
    border-radius: 12px;
}

.bg-primary{
    background-color: var(--bs-primary) !important;
}

.shadow-primary {
    box-shadow: 0 6px 30px rgba(159, 86, 193, 0.4);
}

.bg-gray{
    background-color: #e6e6e6 !important;
}

.bg-accent-dark {
    background-color: var(--accent-dark) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary.active,
.btn-primary:active {
    background-color: #8a43ab !important;
    border-color: #8a43ab !important;
}

.btn-outline-primary {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary.focus,
.btn-outline-primary.active,
.btn-outline-primary:active {
    background-color: rgba(159, 86, 193, 0.08) !important;
    color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.btn-sm {
    font-size: 14px;
    padding: 8px 12px;
    line-height: 1.0;
    min-height: auto;
}

.btn-light{
    background-color: #f0f0f0 !important;
    color: var(--text-color) !important;
}

.service-card .btn {
    margin-top: auto;
}

.service-card .btn span{
    line-height: 1.2;
}

.navbar {
    left: 0;
    right: 0;
    z-index: 1020;
    padding-top: 0rem;
    padding-bottom: 0rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background: #151515 !important;
    transform: scale(1);
    transition-property: top, left, right, border-radius, transform;
    transition-duration: 0.15s;
    transition-timing-function: ease-out;
}

.navbar.active{
    top:calc(var(--inno-gutter-x) * .5) !important;
    left: calc(var(--inno-gutter-x) * .5) !important;
    right: calc(var(--inno-gutter-x) * .5) !important;
    border-radius: 1.75rem;
    transition-property: top, left, right, border-radius, transform;
    transition-duration: 0.5s;
    transition-timing-function: ease-out;
    animation: popAndReturn 0.4s ease-out forwards;
    
}

/* Defining the animation steps */
@keyframes popAndReturn {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.25); /* Peaks at 1.3 exactly halfway through */
  }
  100% {
    transform: scale(1); /* Smoothly settles back down to 1.0 */
  }
}

/* .navbar:before{
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.navbar.active:before{
    opacity: 1;
} */

.footer{
    background: #eeeeee;
}

.footer *{
    color: var(--text-color) !important;
}

.navbar-nav .nav-item + .nav-item {
    margin-left: 0.75rem;
}

.navbar-nav .nav-link {
    color: #c0c0c0;
    gap: 4px;
    display: inline-flex;
    align-items: center;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1;
    padding: 8px 12px;
    border-radius: 999px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #fff;
    background-color: rgba(255,255,255, 0.1);
}

.dropdown-menu {
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    min-width: unset;
    padding: 8px;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.dropdown-menu .dropdown-item {
    padding: 8px 12px;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    gap: 6px;
    border-radius: var(--border-radius);
    color: #fff;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.dropdown-item-icon {
    color: #fff;
    flex-shrink: 0;
}

.dropdown-item-icon img {
    width: 20px;
    height: 20px;
    display: block;
}

.header-menu-toggle {
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-right: 0;
    padding-left: 0.4rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.header-menu-toggle .hgi {
    color: #ffffff;
    font-size: 30px !important;
}
.navbar:not(.active) .header-menu-toggle .hgi:last-child {
    display: none;
}
.navbar.active .header-menu-toggle .hgi:first-child {
    display: none;
}

.header-menu-toggle:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.hamburger-lines::before,
.hamburger-lines::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger-lines::before {
    top: -7px;
}

.hamburger-lines::after {
    top: 7px;
}

.navbar .mobile-menu-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    width: 100%;
    position: relative;
    display: none;
}

@media (max-width: 991px) {
    .navbar .mobile-menu-panel {
        display: block;
    }
}

.mobile-menu-panel .mobile-menu-wrapper{
    padding: 0;
    opacity: 0;
    position: relative;
    z-index: 2;
    transition: padding 0.4s ease-out, opacity 0.4s ease;
    
}

.navbar.active .mobile-menu-panel{
    max-height: 100vh;
}

.navbar.active .mobile-menu-wrapper{
    padding: calc(var(--inno-gutter-x) * .5);
    opacity: 1;
    max-height: 80vh;
    overflow-y: scroll;
    transition: padding 0.8s ease-out, opacity 1.6s ease;
}

.mobile-menu-close {
    border: none;
    background: transparent;
    color: #f8fafc;
    font-size: 2rem;
    line-height: 1;
    padding: 0;
}

.mobile-menu-link {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #f8fafc;
    font-weight: 500;
    font-size: 18px;
    text-decoration: none;
    padding: 12px 13px;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.mobile-menu-link .hgi{
    font-size: 24px !important;
    line-height: 1 !important;
}
.mob-menu-link-text{
    min-height: 63px;
    max-height: 63px;
    width: 120px;
    display: block;
}

.mobile-menu-link:hover,
.mobile-menu-link:focus {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.18);
    transform: translateX(4px);
}

.mobile-menu-link .dropdown-item-icon {
    min-width: 2.3rem;
    min-height: 2.3rem;
    display: grid;
    place-items: center;
    border-radius: 0.85rem;
    background: rgba(255,255,255,0.08);
}

.mobile-menu-link .dropdown-item-icon img {
    width: 1.55rem;
    height: 1.55rem;
    object-fit: cover;
    border-radius: 0.65rem;
}

.mobile-language-switcher {
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 1.5rem;
}

.mobile-language-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.mobile-language-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.5rem;
    padding: 12px 13px;
    font-size: 18px;
    border-radius: 1rem;
    color: #f8fafc;
    text-decoration: none;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.mobile-language-link:hover,
.mobile-language-link:focus {
    background: rgba(255,255,255,0.14);
    transform: translateX(3px);
}

.btn-white {
    background: #ffffff;
    color: #0f172a;
    border-color: rgba(255,255,255,0.18);
}

.mobile-language-item:hover,
.mobile-language-item:focus {
    background: rgba(255,255,255,0.14);
    transform: translateX(3px);
}

@media (max-width: 991px) {
    .navbar-nav .nav-link {
        padding: 0.65rem 0.75rem;
    }
}

.mob-menu-pattern {
    position: absolute;
    width: 100%;
    height: 60%;
    bottom: 0;
    left: 0;
    opacity: 0.2;
    z-index: 1;
}

.mob-menu-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, transparent 0%, #151515 100%);
}

.mob-menu-pattern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-section {
    position: relative;
    overflow: hidden;
}

.service-card {
    position: relative;
    border-radius: 1.75rem;
    background: #fff;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(159, 86, 193, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(159, 86, 193, 0.2);
    box-shadow: 0 24px 60px rgba(159, 86, 193, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrapper {
    position: relative;
    width: 4.5rem;
    height: 4.5rem;
    margin-bottom: 1.5rem;
}

.service-icon-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bs-primary) 0%, #c74db3 100%);
    border-radius: 1rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 12px 30px rgba(159, 86, 193, 0.2);
}

.service-card:hover .service-icon-bg {
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 0 16px 40px rgba(159, 86, 193, 0.3);
}

.service-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.8rem;
    z-index: 1;
}

.service-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.75;
}

.flag-circle {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f7;
    color: #111827;
    font-size: 0.95rem;
    box-shadow: inset 0 0 0 0.08rem rgba(0,0,0,0.08);
}

.dropdown-item .flag-circle {
    margin-right: 0.75rem;
}

/* Inquiry Section */
.inquiry-section {
    position: relative;
    padding-top: 3rem;
    padding-bottom: 3rem;
}


.inquiry-feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 12px 30px rgba(0,0,0, 0.1);
    border-radius: 1.75rem;
    padding: 1rem;
}

.inquiry-feature .hgi {
    font-size: 30px !important;
}

.inquiry-form-card {
    background: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0, 0.1);
    border-radius: 1.75rem;
    padding: 1.5rem;
}

.inquiry-tabs {
    border:0;
    border-radius: 999px;
    width: max-content;
    overflow: hidden;
    margin-bottom: 2rem;
    background-color: #f0f0f0;
}

.inquiry-tabs .nav-link {
    color: #151515;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px;
    line-height: 1.0;
    gap: 6px;
    position: relative;
    transition: all 0.25s ease;
}

.inquiry-tabs .nav-link:hover {
    color: var(--bs-primary);
}

.inquiry-tabs .nav-link.active {
    color: #fff;
    font-weight: 600;
    background-color: var(--accent-color);
}

.inquiry-tab-content {
    margin-top: 1.5rem;
}

.inquiry-form {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.inquiry-form .form-label {
    color: var(--text-color);
    margin-bottom: 0.6rem;
}

.inquiry-form .form-control,
.inquiry-form .form-select {
    border-width: 0px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-radius: 0.9rem;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    background-color: #ffffff;
    color: var(--text-color);
}

.inquiry-form .form-control:focus,
.inquiry-form .form-select:focus {
    background-color: #ffffff;
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(159, 86, 193, 0.1);
}

.inquiry-form .form-control-lg,
.inquiry-form .form-select-lg {
    padding: 0.85rem 1.1rem;
    min-height: 3rem;
}

.inquiry-form textarea.form-control {
    resize: vertical;
    font-family: inherit;
}

.inquiry-form .btn-lg {
    border-radius: 0.9rem;
    padding: 1rem 2rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

@media (max-width: 991px) {
    .inquiry-form-card {
        padding: 1rem;
    }
    
    .inquiry-tabs .nav-link {
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
    }
}

/* Alerts */
.alert {
    border-radius: 0.9rem;
    border: none;
    padding: 1.1rem 1.5rem;
    font-weight: 500;
}

.alert-success {
    background-color: #ecf9f6;
    color: #065f46;
}

.alert-success .btn-close {
    filter: invert(1) brightness(0.4);
}

.alert-danger {
    background-color: #fef2f2;
    color: #7f1d1d;
}

.alert-danger .btn-close {
    filter: invert(1) brightness(0.4);
}

.alert ul {
    padding-left: 1.5rem;
}

/* Enforce medium emphasis for bold utility classes to avoid 700+ weights */
.fw-bold,
.fw-bolder,
.font-bold,
.font-weight-bold,
.font-weight-bolder,
strong,
b {
    font-weight: 600 !important;
}

.display-5 > h1{
    font-size: inherit;
    letter-spacing: -1px;
}

.btn-glassy{
    position:relative;
    overflow:hidden;
}

.btn-glassy:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 50%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: inherit;
}

.btn-glassy.dim:before {
    background: rgba(255, 255, 255, 0.05);
}

.inno-hero{
    height: calc(100vh - 50px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
@media (max-width: 991px) {
    .inno-hero{
        height: auto;
    }
}

.hero-pattern{
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.5;
}

.hero-p{
    font-size: 20px !important;
    font-weight: 300 !important;
}

.modules-hero,
.features-hero {
    position: relative;
    background: #151515;
    background: linear-gradient(45deg, hsl(281 100% 21% / 1), #151515);
    overflow: hidden;
}

.modules-hero::before,
.features-hero::before,
.inquiry-redirect::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60%;
    background: url('/front/img/hero_pattern.svg') no-repeat;
    background-size: cover;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}
.inquiry-redirect::before{
    opacity: 0.3;
}


.modules-hero > .container,
.features-hero > .container {
    position: relative;
    z-index: 1;
}

.modules-hero h1,
.modules-hero p,
.features-hero h1,
.features-hero p {
    color: #ffffff !important;
}

.modules-hero .text-secondary,
.features-hero .text-secondary {
    color: #a0a0a0 !important;
}

.modules-hero .text-dark,
.features-hero .text-dark {
    color: #ffffff !important;
}

.client-logos .client-logo{
    opacity: 0.75;
    transition: opacity 0.25s ease;
}

.client-logos .client-logo:hover {
    opacity: 1;
}

.about-whyus-advantages .hgi-stroke{
    font-size: 30px !important;
}

.module-card, .neo-card{
    border-radius: 1.75rem;
    background: #fff;
    border: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0, 0.05);
}

.rounded-neo{
    border-radius: 1.75rem;
}