/* Systech Solution LLC - Custom Modern Corporate & SaaS Stylesheet */

body {
    font-family: var(--sys-font-body, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
    color: var(--sys-text, #161616);
    background-color: var(--sys-bg, #f4f7fb);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--sys-font-heading, 'Inter', sans-serif);
    color: var(--sys-heading, #001d6c);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: var(--sys-link, #0f62fe);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--sys-btn-hover, #0043ce);
}

.btn-primary-custom {
    background-color: var(--sys-btn, #0f62fe);
    border-color: var(--sys-btn, #0f62fe);
    color: #ffffff !important;
    border-radius: var(--sys-radius, 8px);
    padding: 0.6rem;
    font-weight: 600;
    transition: all 0.25s ease-in-out;
}
.btn-primary-custom:hover {
    background-color: var(--sys-btn-hover, #0043ce);
    border-color: var(--sys-btn-hover, #0043ce);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 98, 254, 0.25);
}

.btn-outline-custom {
    border: 2px solid var(--sys-primary, #0f62fe);
    color: var(--sys-primary, #0f62fe);
    border-radius: var(--sys-radius, 8px);
    padding: 0.6rem;
    font-weight: 600;
    background: transparent;
    transition: all 0.25s ease-in-out;
}
.btn-outline-custom:hover {
    background-color: var(--sys-primary, #0f62fe);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Navbar */
.site-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}
.site-navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.site-navbar .nav-link {
    font-weight: 500;
    color: #374151;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--sys-primary, #0f62fe);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 6rem 0 5rem 0;
    background: radial-gradient(circle at 10% 20%, rgba(15, 98, 254, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 40%);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    background: rgba(15, 98, 254, 0.08);
    color: var(--sys-primary, #0f62fe);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

/* Cards & Elevated Surfaces */
.feature-card, .product-card, .service-card, .case-study-card {
    background: var(--sys-surface, #ffffff);
    border-radius: var(--sys-radius, 12px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.feature-card:hover, .product-card:hover, .service-card:hover, .case-study-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(15, 98, 254, 0.2);
}

.feature-icon-wrapper {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(15, 98, 254, 0.1);
    color: var(--sys-primary, #0f62fe);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

/* Badges */
.badge-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
}

/* Footer */
.site-footer {
    background: #0b0f19;
    color: #94a3b8;
    padding: 4.5rem 0 2rem 0;
}
.site-footer h5 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}
.site-footer a {
    color: #94a3b8;
    transition: color 0.2s ease;
}
.site-footer a:hover {
    color: #ffffff;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}
[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: unset !important;
}
[dir="rtl"] .me-auto {
    margin-left: auto !important;
    margin-right: unset !important;
}
[dir="rtl"] .hero-badge i {
    margin-left: 0.5rem;
    margin-right: 0;
}

/* ==========================================================================
   Hero Slider & Advanced Multi-Element Presentation
   ========================================================================== */
.hero-slider-section {
    position: relative;
    background-color: #0b1120;
    min-height: 620px;
}

.hero-slider-section .carousel-item {
    min-height: 620px;
    padding: 3rem 0;
}

.hero-slide-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-slide-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.02);
    transition: transform 7s ease-out;
}

.carousel-item.active .hero-slide-image {
    transform: scale(1.06);
}

.hero-slide-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-glass-card {
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 20px !important;
}

.hero-form-input {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
}
.hero-form-input:focus {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: var(--sys-primary, #0f62fe) !important;
    box-shadow: 0 0 0 0.25rem rgba(15, 98, 254, 0.25) !important;
}
.hero-form-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.hero-carousel-arrow {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #ffffff;
    transition: all 0.25s ease;
}
.carousel-control-prev:hover .hero-carousel-arrow,
.carousel-control-next:hover .hero-carousel-arrow {
    background: var(--sys-primary, #0f62fe);
    border-color: var(--sys-primary, #0f62fe);
    transform: scale(1.1);
}

.carousel-indicators [data-bs-target] {
    width: 32px;
    height: 4px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    transition: all 0.3s ease;
}
.carousel-indicators .active {
    width: 48px;
    background-color: var(--sys-primary, #0f62fe);
}

/* ==========================================================================
   Light and Dark Mode Comprehensive Themes
   ========================================================================== */

/* Dark theme global classes and attributes */
[data-bs-theme="dark"],
.theme-dark {
    --sys-bg: #0b0f19;
    --sys-surface: #111827;
    --sys-surface-elevated: #1f2937;
    --sys-surface-subtle: rgba(255, 255, 255, 0.04);
    --sys-text: #e2e8f0;
    --sys-heading: #f9fafb;
    --sys-muted: #94a3b8;
    --sys-link: #38bdf8;
    --sys-border: rgba(255, 255, 255, 0.08);
    background-color: var(--sys-bg, #0b0f19);
    color: var(--sys-text, #e2e8f0);
}

html[data-bs-theme="dark"] body,
[data-bs-theme="dark"] body,
body.theme-dark {
    background-color: var(--sys-bg, #0b0f19) !important;
    color: var(--sys-text, #e2e8f0) !important;
}

/* Navbar */
[data-bs-theme="dark"] .site-navbar,
.theme-dark .site-navbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .site-navbar .nav-link,
.theme-dark .site-navbar .nav-link {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .site-navbar .nav-link:hover,
[data-bs-theme="dark"] .site-navbar .nav-link.active,
.theme-dark .site-navbar .nav-link:hover,
.theme-dark .site-navbar .nav-link.active {
    color: var(--sys-primary, #38bdf8);
}

[data-bs-theme="dark"] .site-navbar .navbar-brand,
.theme-dark .site-navbar .navbar-brand {
    color: #ffffff;
}

/* Dual Logo dynamic display: hide dark logo by default, show in dark mode */
.site-logo-dark {
    display: none !important;
}
.site-logo-light {
    display: inline-block !important;
}

[data-bs-theme="dark"] .site-logo-light,
.theme-dark .site-logo-light,
html[data-bs-theme="dark"] .site-logo-light {
    display: none !important;
}
[data-bs-theme="dark"] .site-logo-dark,
.theme-dark .site-logo-dark,
html[data-bs-theme="dark"] .site-logo-dark {
    display: inline-block !important;
}

[data-bs-theme="light"] .site-logo-dark,
body:not(.theme-dark) .site-logo-dark,
html[data-bs-theme="light"] .site-logo-dark {
    display: none !important;
}
[data-bs-theme="light"] .site-logo-light,
body:not(.theme-dark) .site-logo-light,
html[data-bs-theme="light"] .site-logo-light {
    display: inline-block !important;
}

/* Theme Toggle Button */
#siteThemeToggleBtn {
    transition: all 0.2s ease;
}
[data-bs-theme="dark"] #siteThemeToggleBtn,
.theme-dark #siteThemeToggleBtn {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #f3f4f6;
}
[data-bs-theme="dark"] #siteThemeToggleBtn:hover,
.theme-dark #siteThemeToggleBtn:hover {
    background-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

/* Background overrides in Dark Mode */
[data-bs-theme="dark"] .bg-white,
.theme-dark .bg-white {
    background-color: var(--sys-surface, #111827) !important;
}

[data-bs-theme="dark"] .bg-light,
.theme-dark .bg-light {
    background-color: var(--sys-surface-subtle, rgba(255, 255, 255, 0.04)) !important;
}

/* Text overrides in Dark Mode */
[data-bs-theme="dark"] .text-dark,
.theme-dark .text-dark {
    color: var(--sys-heading, #f3f4f6) !important;
}

[data-bs-theme="dark"] a.text-dark:hover,
.theme-dark a.text-dark:hover {
    color: var(--sys-primary, #38bdf8) !important;
}

[data-bs-theme="dark"] .text-muted,
.theme-dark .text-muted {
    color: #94a3b8 !important;
}

[data-bs-theme="dark"] .text-secondary,
.theme-dark .text-secondary {
    color: #cbd5e1 !important;
}

[data-bs-theme="dark"] h1,
[data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3,
[data-bs-theme="dark"] h4,
[data-bs-theme="dark"] h5,
[data-bs-theme="dark"] h6,
.theme-dark h1,
.theme-dark h2,
.theme-dark h3,
.theme-dark h4,
.theme-dark h5,
.theme-dark h6 {
    color: var(--sys-heading, #f9fafb);
}

/* Elevated Surfaces & Cards in Dark Mode */
[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .feature-card,
[data-bs-theme="dark"] .product-card,
[data-bs-theme="dark"] .service-card,
[data-bs-theme="dark"] .case-study-card,
.theme-dark .card,
.theme-dark .feature-card,
.theme-dark .product-card,
.theme-dark .service-card,
.theme-dark .case-study-card {
    background-color: var(--sys-surface, #111827);
    border-color: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

[data-bs-theme="dark"] .feature-card:hover,
[data-bs-theme="dark"] .product-card:hover,
[data-bs-theme="dark"] .service-card:hover,
[data-bs-theme="dark"] .case-study-card:hover,
.theme-dark .feature-card:hover,
.theme-dark .product-card:hover,
.theme-dark .service-card:hover,
.theme-dark .case-study-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

/* Borders in Dark Mode */
[data-bs-theme="dark"] .border,
[data-bs-theme="dark"] .border-top,
[data-bs-theme="dark"] .border-bottom,
[data-bs-theme="dark"] .border-start,
[data-bs-theme="dark"] .border-end,
.theme-dark .border,
.theme-dark .border-top,
.theme-dark .border-bottom,
.theme-dark .border-start,
.theme-dark .border-end {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Form Controls & Inputs in Dark Mode */
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select,
.theme-dark .form-control,
.theme-dark .form-select {
    background-color: #162032 !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #f3f4f6 !important;
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus,
.theme-dark .form-control:focus,
.theme-dark .form-select:focus {
    background-color: #1a273e !important;
    border-color: var(--sys-primary, #38bdf8) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 0.25rem rgba(56, 189, 248, 0.25) !important;
}

[data-bs-theme="dark"] .form-control::placeholder,
.theme-dark .form-control::placeholder {
    color: #64748b !important;
}

[data-bs-theme="dark"] .input-group-text,
.theme-dark .input-group-text {
    background-color: #162032 !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #94a3b8 !important;
}

[data-bs-theme="dark"] .form-check-input,
.theme-dark .form-check-input {
    background-color: #162032;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Modals in Dark Mode */
[data-bs-theme="dark"] .modal-content,
.theme-dark .modal-content {
    background-color: #111827 !important;
    color: #f3f4f6 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important;
}

[data-bs-theme="dark"] .btn-close,
.theme-dark .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Accordions (FAQs) in Dark Mode */
[data-bs-theme="dark"] .accordion-item,
.theme-dark .accordion-item {
    background-color: #111827 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] .accordion-button,
.theme-dark .accordion-button {
    background-color: #111827 !important;
    color: #f3f4f6 !important;
}

[data-bs-theme="dark"] .accordion-button:not(.collapsed),
.theme-dark .accordion-button:not(.collapsed) {
    background-color: rgba(255, 255, 255, 0.04) !important;
    color: var(--sys-primary, #38bdf8) !important;
}

[data-bs-theme="dark"] .accordion-button::after,
.theme-dark .accordion-button::after {
    filter: invert(1);
}

[data-bs-theme="dark"] .accordion-body,
.theme-dark .accordion-body {
    background-color: #0f172a !important;
    color: #94a3b8 !important;
}

/* Dropdown Menus in Dark Mode */
[data-bs-theme="dark"] .dropdown-menu,
.theme-dark .dropdown-menu {
    background-color: #111827 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

[data-bs-theme="dark"] .dropdown-item,
.theme-dark .dropdown-item {
    color: #cbd5e1 !important;
}

[data-bs-theme="dark"] .dropdown-item:hover,
[data-bs-theme="dark"] .dropdown-item:focus,
.theme-dark .dropdown-item:hover,
.theme-dark .dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
}

/* Buttons in Dark Mode */
[data-bs-theme="dark"] .btn-light,
.theme-dark .btn-light {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #f3f4f6 !important;
}

[data-bs-theme="dark"] .btn-light:hover,
.theme-dark .btn-light:hover {
    background-color: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

/* Badges & Tech Stack Badges in Dark Mode */
[data-bs-theme="dark"] .badge-tag,
.theme-dark .badge-tag {
    background-color: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .badge.bg-light.text-dark,
.theme-dark .badge.bg-light.text-dark {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #f3f4f6 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Hero Section adjustments */
[data-bs-theme="dark"] .hero-section,
.theme-dark .hero-section {
    background: radial-gradient(circle at 10% 20%, rgba(15, 98, 254, 0.12) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(124, 58, 237, 0.12) 0%, transparent 40%),
                #0b0f19;
}

[data-bs-theme="dark"] .hero-section .card,
.theme-dark .hero-section .card {
    background: rgba(17, 24, 39, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Blog Detail Reactions & Share in Dark Mode */
[data-bs-theme="dark"] .reaction-btn.btn-outline-secondary,
.theme-dark .reaction-btn.btn-outline-secondary {
    background-color: #162032 !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #e2e8f0 !important;
}

[data-bs-theme="dark"] .reaction-btn.btn-outline-secondary:hover,
.theme-dark .reaction-btn.btn-outline-secondary:hover {
    background-color: #1f2b42 !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .count-badge,
.theme-dark .count-badge {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .prose,
.theme-dark .prose {
    color: #cbd5e1 !important;
}

/* Breadcrumbs & Tables in Dark Mode */
[data-bs-theme="dark"] .breadcrumb-item,
[data-bs-theme="dark"] .breadcrumb-item a,
.theme-dark .breadcrumb-item,
.theme-dark .breadcrumb-item a {
    color: #94a3b8;
}

[data-bs-theme="dark"] .breadcrumb-item.active,
.theme-dark .breadcrumb-item.active {
    color: #f3f4f6;
}

[data-bs-theme="dark"] .table,
.theme-dark .table {
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] code,
.theme-dark code {
    color: #38bdf8;
    background-color: rgba(255, 255, 255, 0.06);
}

/* Dynamic Container Width Settings */
@media (min-width: 992px) {
    .container,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: var(--sys-container-width, 1320px) !important;
    }
}

body.layout-width-fluid .container,
body.layout-width-fluid .container-lg,
body.layout-width-fluid .container-xl,
body.layout-width-fluid .container-xxl {
    max-width: 100% !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

body.layout-width-boxed .container,
body.layout-width-boxed .container-lg,
body.layout-width-boxed .container-xl,
body.layout-width-boxed .container-xxl {
    max-width: 1200px !important;
}

body.layout-width-standard .container,
body.layout-width-standard .container-lg,
body.layout-width-standard .container-xl,
body.layout-width-standard .container-xxl {
    max-width: 1320px !important;
}



