:root {
    /* Theme Colors translated to CSS Variables */
    --bs-primary: #ab351a;
    --bs-primary-rgb: 171, 53, 26;
    --bs-secondary: #526069;
    --bs-body-bg: #fcf9f8;
    --bs-body-color: #1c1b1b;
    --bs-font-sans-serif: 'Inter', sans-serif;
    --bs-font-heading: 'Outfit', sans-serif;

    --theme-primary-container: #f56a4a;
    --theme-on-primary: #ffffff;
    --theme-surface: #fcf9f8;
    --theme-surface-muted: #F8F9FA;
    --theme-border: #E9ECEF;
    --theme-primary-fixed-dim: #ffb4a3;
    --theme-inverse-surface: #313030;
    --theme-inverse-on-surface: #f3f0ef;

    --theme-stat-increase: #2ECC71;

    --bs-link-color: var(--bs-primary);
    --bs-link-hover-color: #891d03;
}

html, body {
    overflow-x: clip;
}

body {
    font-family: var(--bs-font-sans-serif);
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--bs-font-heading);
    font-weight: 700;
}

.text-primary-theme { color: var(--bs-primary); }
.text-secondary-theme { color: var(--bs-secondary); }
.bg-primary-theme { background-color: var(--bs-primary); }
.bg-primary-container { background-color: var(--theme-primary-container); color: var(--theme-on-primary); }
.bg-surface-muted { background-color: var(--theme-surface-muted); }
.bg-inverse-surface { background-color: var(--theme-inverse-surface); color: var(--theme-inverse-on-surface); }

.btn-primary-theme {
    background-color: var(--theme-primary-container);
    color: var(--theme-on-primary);
    border: none;
    font-weight: 600;
    font-family: var(--bs-font-sans-serif);
    letter-spacing: 0.05em;
}
.btn-primary-theme:hover {
    background-color: var(--bs-primary);
    color: var(--theme-on-primary);
}

.btn-outline-theme {
    border: 1px solid var(--theme-border);
    color: var(--bs-body-color);
    background-color: rgba(255,255,255,0.8);
    backdrop-filter: blur(4px);
    font-weight: 600;
}
.btn-outline-theme:hover {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
    background-color: rgba(255,255,255,0.9);
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* Custom Utilities */
.tracking-widest { letter-spacing: 0.1em; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }

/* Navigation */
.navbar-brand img {
	max-width: 170px;
}
.footer-logo img {
	max-width: 170px;
}
/* .footer-logo img {
	max-width: 170px;
} */
.navbar-glass {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--theme-border);
    padding: 20px 0px;
    width: 100%;
}
.announcement-bar {
    position: relative;
    z-index: 1020;
}

.offcanvas-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(85vw, 360px);
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    border-left: 1px solid var(--theme-border);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    visibility: hidden;
    z-index: 1065;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.offcanvas-menu.show {
    transform: translateX(0);
    visibility: visible;
}

body.offcanvas-open {
    overflow: hidden;
}

body.offcanvas-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(29, 31, 33, 0.35);
    z-index: 1060;
}

.offcanvas-menu .offcanvas-header {
    border-bottom: 1px solid var(--theme-border);
    padding: 1rem 1.25rem;
}

.offcanvas-menu .offcanvas-body {
    padding: 1rem 1.25rem 1.5rem;
}

.offcanvas-menu .mobile-nav-link {
    color: var(--bs-body-color);
    font-weight: 600;
    padding: 0.75rem 0.5rem;
    border-radius: 0.7rem;
}

.offcanvas-menu .mobile-nav-link:hover,
.offcanvas-menu .mobile-nav-link:focus {
    background: rgba(171, 53, 26, 0.06);
    color: var(--bs-primary);
}

.offcanvas-menu .mobile-accordion-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.offcanvas-menu .mobile-accordion-toggle .material-symbols-outlined {
    transition: transform 0.2s ease;
}

.offcanvas-menu .mobile-accordion-toggle[aria-expanded="true"] .material-symbols-outlined {
    transform: rotate(180deg);
}

.offcanvas-menu .mobile-submenu {
    margin-top: 0.5rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(171, 53, 26, 0.18);
}

.offcanvas-menu .mobile-submenu[hidden] {
    display: none;
}

.offcanvas-menu .mobile-submenu a {
    display: block;
    color: var(--bs-secondary);
    text-decoration: none;
    padding: 0.45rem 0;
    font-size: 0.95rem;
}

.offcanvas-menu .mobile-submenu a:hover {
    color: var(--bs-primary);
}

/* Mega Menu Custom CSS */
.mega-menu-wrapper { position: relative; }
.mega-menu-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 1rem;
    border: 1px solid var(--theme-border);
    z-index: 1050;
    width: 800px;
}
.mega-menu-content ul li a:hover {
    color: var(--bs-primary);
}
.mega-menu-wrapper:hover .mega-menu-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-solutions { width: 700px; }

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 819px;
    padding-top: 180px;
    padding-bottom: 120px;
    display: flex;
    align-items: center;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--theme-surface) 0%, rgba(252, 249, 248, 0.9) 40%, transparent 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}

/* Glassmorphism & Custom Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.glass-card-light {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Swiper Overrides */
.swiper-button-next:after, .swiper-button-prev:after {
    font-family: 'Material Symbols Outlined';
    font-size: 24px;
    color: var(--bs-primary);
    content: 'arrow_forward';
}
.swiper-button-prev:after {
    content: 'arrow_back';
}
.swiper-pagination-bullet-active {
    background: var(--bs-primary);
}

/* Background Patterns */
.bg-grid-pattern {
    background-image: linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

.gradient-section {
    background: linear-gradient(to bottom right, var(--bs-primary), var(--theme-primary-fixed-dim));
}

.bg-gradient-premium {
    background: linear-gradient(135deg, #f8f9fa 0%, #fcf9f8 50%, #fff5f3 100%);
}

.premium-logos-container {
    transition: all 0.3s ease;
}

.premium-logos-container .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.premium-logos-container .swiper-slide:hover {
    opacity: 1;
    transform: scale(1.05);
}


/* Section Spacing */
.py-section { padding-top: 100px; padding-bottom: 100px; }
.mb-section { margin-bottom: 120px; }

/* Footer */
.premium-footer {
    background-color: #111315;
    border-top: 4px solid var(--theme-primary-container);
    color: #e5e2e1;
}
.premium-footer a {
    color: #bac9d3;
}
.premium-footer a:hover {
    color: var(--theme-primary-container);
}

.footer-newsletter-form .form-control {
    min-width: 0;
}


/* Accordion Overrides for FAQs */
.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--theme-primary-container);
    box-shadow: none;
}
.accordion-button:focus { box-shadow: none; }
.accordion-item {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-accordion-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    font-weight: 700;
    font-size: 1.25rem;
    padding: 1.35rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--bs-body-color);
}

.faq-accordion-toggle .material-symbols-outlined {
    transition: transform 0.2s ease;
    color: var(--theme-primary-container);
    font-size: 1.5rem;
}

.faq-accordion-toggle[aria-expanded="true"] .material-symbols-outlined {
    transform: rotate(180deg);
}

.faq-accordion-content {
    padding: 0 1.2rem 1.2rem;
    color: var(--bs-secondary);
    line-height: 1.7;
}

.faq-accordion-content[hidden] {
    display: none;
}

/* Subpage Hero & Styles */
.page-hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #fcf9f8 0%, #f6f3f2 60%, #fff5f3 100%);
    border-bottom: 1px solid var(--theme-border);
    overflow: hidden;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--theme-primary-fixed-dim) 0.75px, transparent 0.75px);
    background-size: 24px 24px;
    opacity: 0.15;
    pointer-events: none;
}

.badge-theme-light {
    background-color: rgba(245, 106, 74, 0.12);
    color: var(--bs-primary);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
    border-radius: 50rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.service-card, .solution-card, .industry-card {
    background: #ffffff;
    border: 1px solid var(--theme-border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover, .solution-card:hover, .industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(171, 53, 26, 0.08);
    border-color: rgba(245, 106, 74, 0.4);
}

.icon-box-primary {
    width: 54px;
    height: 54px;
    border-radius: 0.75rem;
    background-color: rgba(245, 106, 74, 0.12);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-check-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.feature-check-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--bs-secondary);
}

.feature-check-list li::before {
    content: "check_circle";
    font-family: 'Material Symbols Outlined';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--theme-primary-container);
    font-size: 1.1rem;
}

.contact-info-card {
    background: #ffffff;
    border: 1px solid var(--theme-border);
    border-radius: 1rem;
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.active-nav {
    color: var(--bs-primary) !important;
    border-bottom: 2px solid var(--bs-primary);
}

/* CTA Section Styles */
.cta-banner {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #891d03 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-image-wrapper {
    position: relative;
    min-height: 340px;
    overflow: hidden;
}

.cta-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--bs-primary) 0%, rgba(171, 53, 26, 0.4) 35%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.cta-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s ease;
}

.cta-banner:hover .cta-image-wrapper img {
    transform: scale(1.05);
}

@media (max-width: 1399px) {
    #mainNavigationMenu li a {
        font-size: 13px !important;
    }
}

@media (max-width: 991px) {
    .navbar-glass {
        margin-top: 0;
        height: auto;
        min-height: 72px;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .navbar-brand .material-symbols-outlined {
        font-size: 1.7rem;
    }

    .hero-section {
        min-height: 680px;
        padding-top: 140px;
        padding-bottom: 80px;
    }

    .hero-section h1 {
        font-size: clamp(2.35rem, 7vw, 4rem);
        max-width: 100%;
    }

    .hero-section .lead {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-gradient {
        background: linear-gradient(to right, rgba(252, 249, 248, 0.92) 0%, rgba(252, 249, 248, 0.88) 42%, rgba(252, 249, 248, 0.6) 100%);
    }

    .hero-section .d-flex.flex-column.flex-sm-row {
        align-items: stretch;
    }

    .hero-section .d-flex.flex-column.flex-sm-row a {
        width: 100%;
        min-height: 68px;
    }
    .premium-footer .row.g-5 {
        row-gap: 2.5rem;
    }
    .cta-image-wrapper {
        min-height: 280px;
    }
    .cta-image-overlay {
        background: linear-gradient(to bottom, var(--bs-primary) 0%, rgba(171, 53, 26, 0.2) 40%, transparent 100%);
    }
}

@media (max-width: 767px) {
    .announcement-bar {
        font-size: 0.7rem;
        line-height: 1.5;
        letter-spacing: 0.08em;
        padding: 0.6rem 0.75rem;
    }
    #faqAccordion span {
        font-size: 16px;
    }
    .py-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .navbar-brand {
        max-width: calc(100% - 52px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 1.05rem;
    }

    .hero-section {
        min-height: 620px;
        padding-top: 120px;
        padding-bottom: 100px;
    }

    .hero-section h1 {
        font-size: clamp(2.25rem, 8.8vw, 3.2rem);
    }

    .hero-section .lead {
        font-size: 1.02rem;
        line-height: 1.7;
    }

    .hero-section .d-flex.align-items-center.gap-2.small {
        flex-wrap: wrap;
        row-gap: 0.7rem;
    }

    .hero-section .d-flex.align-items-center.gap-2.small .mx-1 {
        display: none;
    }
    .premium-footer {
        padding-top: 3rem;
        padding-bottom: 2rem;
    }

    .premium-footer .row.g-5 {
        row-gap: 0.25rem;
        margin-bottom: 2.5rem;
    }

    .footer-newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-newsletter-form .form-control,
    .footer-newsletter-form .btn {
        width: 100%;
        min-height: 48px;
        border-radius: 0.5rem;
    }

    .footer-compliance,
    .footer-policy-links {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
        text-align: center;
    }

    .footer-compliance > div {
        flex: 1 1 150px;
        justify-content: center;
    }

    .footer-policy-links span {
        width: 100%;
        margin-top: 0.5rem;
    }
    .mb-section { margin-bottom: 80px; }
    .my-section { margin-top: 48px; margin-bottom: 48px; }
    .premium-footer { margin-top: 28px; }
}


@media (max-width: 575px) {
    .announcement-bar {
        font-size: 0.68rem;
        letter-spacing: 0.06em;
        padding: 0.55rem 0.7rem;
    }
    .page-hero {
        padding-top: 50px;
    }
    .page-hero p {
        font-size: 1rem;
    }
    .hero-section {
        min-height: 580px;
        padding-top: 110px;
    }

    .hero-section h1 {
        font-size: clamp(2rem, 9vw, 2.7rem);
    }

    .hero-section .d-flex.align-items-center.gap-2.small {
        row-gap: 0.5rem;
    }

    .hero-section .d-flex.align-items-center.gap-2.small .mx-1 {
        display: none;
    }
}



