/* Header & Footer CSS - Minimal Version (No Bootstrap Dependency) */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;900&family=Roboto:wght@300;400;500;700;900&display=swap');

/* ========== MINIMAL BOOTSTRAP GRID & COMPONENTS ========== */
/* Only what's needed for header/footer */

* {
    box-sizing: border-box;
}

/* Container */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 768px) {
    .container {
        max-width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}

.container-fluid {
  width: 100%;   
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 100%;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-4,
.col-md-8,
.col-md-12 {
	position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 992px) {
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    .col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
    .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Navbar Base */
.navbar {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
}

@media (min-width: 768px) {
    .navbar {
        flex-wrap: nowrap;
    }
}

.navbar-default {
    background-color: #f8f8f8;
    border-color: #e7e7e7;
}

.navbar-brand {
    display: inline-block;
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}

.navbar-brand img {
    display: block;
}

.navbar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  width: 100%;
}

/* Navbar Toggle Button (Mobile) */
.navbar-toggle {
  position: relative;
    float: right;
    padding: 9px 10px;
    margin-top: 8px;
    margin-right: 15px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
}

.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background-color: #888;
}

.navbar-toggle .icon-bar + .icon-bar {
    margin-top: 4px;
}

.sr-only {
  position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Navbar Collapse */
.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
  align-items: center;
}

.navbar-collapse.collapse {
    display: none;
}

.navbar-collapse.collapse.in {
	display: block;
}

@media (min-width: 768px) {
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        justify-content: flex-end;
    }
    
    .navbar-toggle {
        display: none;
    }
    
    .navbar-header {
        width: auto;
        flex: 0 0 auto;
    }
    
    .container-fluid {
    display: flex;
    align-items: center;
        justify-content: space-between;
    }
}

/* Navbar Navigation */
.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .navbar-nav {
        flex-direction: row;
    }
}

.navbar-nav > li {
  position: relative;
}

.navbar-nav > li > a {
    position: relative;
    display: block;
    padding: 10px 15px;
}

.navbar-right {
    margin-left: auto;
}

@media (min-width: 768px) {
    .navbar-right {
  display: flex;
  align-items: center;
   margin: 0;
    }
}

/* Dropdown */
.dropdown {
	position: relative;
    display: inline-block;
}

.dropdown-toggle {
    white-space: nowrap;
    cursor: pointer;
}

.dropdown-toggle::after {
    display: none;
}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 4px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.dropdown-menu {
	position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.dropdown.open > .dropdown-menu {
    display: block;
}

.dropdown-menu > li {
    list-style: none;
}

.dropdown-menu > li > a {
	display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}

/* Modal */
.modal {
	position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
	outline: 0;
}

.modal.fade {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.fade.in {
    opacity: 1;
}

.modal-dialog {
	position: relative;
    width: auto;
    margin: 10px;
    pointer-events: none;
}

@media (min-width: 768px) {
    .modal-dialog {
        width: 600px;
        margin: 30px auto;
    }
}

.modal-lg {
    max-width: 900px;
}

@media (min-width: 992px) {
    .modal-lg {
        width: 900px;
    }
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    outline: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.in {
    opacity: 0.5;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.modal-header .close {
    padding: 0;
    background-color: transparent;
    border: 0;
    appearance: none;
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.2;
    cursor: pointer;
}

.modal-header .close:hover {
    opacity: 0.5;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 15px;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 15px;
    border-top: 1px solid #e5e5e5;
}

/* Basic Reset */
a, a:hover, a:active, a:visited, a:focus {
    text-decoration: none;
}

/* ========== HEADER STYLES ========== */
header {
    border-bottom: 1px solid #f2f2f2;
}

.header {
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;   
    right: 0;
    z-index: 9999;
    transition: box-shadow 0.3s ease;
    min-height: 60px;
}

.header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .navbar-default {
    border: none;
    margin-bottom: 0;
    background: none;
    min-height: 60px;
}

header .navbar {
    height: auto;
    min-height: 60px;
    margin-bottom: 0;
}

.navbar-brand {
    height: auto;
}

header .navbar-brand {
    padding: 10px;
    display: flex;
    align-items: center;
}

header .navbar-default .navbar-nav>li>a {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #0a0a0a;
    border-bottom: 2px solid #fff;
    padding: 10px 12px;
    white-space: nowrap;
}

.navbar-toggle {
    margin: 10px;
}

.navbar-default .navbar-toggle {
    border-color: transparent;
}

.navbar-default .navbar-toggle:focus, 
.navbar-default .navbar-toggle:hover {
    background: none;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #dc1414;
}

.navbar-default .navbar-nav>.active>a, 
.navbar-default .navbar-nav>.active>a:focus, 
.navbar-default .navbar-nav>.active>a:hover {
    background: none;
    border-color: #dc1414;
}

.navbar-default .navbar-nav>.open>a, 
.navbar-default .navbar-nav>.open>a:focus, 
.navbar-default .navbar-nav>.open>a:hover {
    background: none;
    border-color: #dc1414;
}

.navbar-default .navbar-nav>li>a:focus, 
.navbar-default .navbar-nav>li>a:hover {
    background: none;
    border-color: #dc1414;
}

/* Header Buttons */
.virbtn {
    background: #dc1414;
    color: #fff !important;
    padding: 7px 15px !important;
    border: 1px solid #dc1414 !important;
    border-radius: 3px;
}

.virbtn:hover {
    border: 1px solid #000 !important;
    color: #000 !important;
}

.loginbtn {
    color: #0a0a0a !important;
    padding: 7px 15px !important;
    border: 1px solid #0a0a0a !important;
    border-radius: 3px;
}

.loginbtn:hover {
    border: 1px solid #dc1414 !important;
    color: #dc1414 !important;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    padding: 10px 0;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.dropdown-menu>li>a {
    padding: 9px 20px;
    font-size: 15px;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    font-weight: 300;
}

.dropdown-menu>li>a span {
    padding-right: 10px;
    color: #dc1414;
}

.dropdown-menu>li>a:hover {
    background: none;
	 color: #dc1414;
    padding-left: 10px;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
}

/* ICS2 Badge Animation */
.blinkingText {
	 text-align: center;
    animation: blink 1.5s infinite;
    font-weight: 400 !important;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.icst2TextLink {
    position: absolute;
    background-color: #DA0D20;
    padding: 1px 4px;
    color: #ffffff !important;
    font-size: 11px;
    display: inline-block;
    margin: 0;
    line-height: 13px;
    top: -4px;
}

/* ========== FOOTER STYLES ========== */
#footer {
    background: #333333;
    padding: 60px 0;
}

.ftbox a, .ftbox p {
    color: #fff;
     font-size: 13px;
    font-weight: 300;
    width: 100%;
    display: block;
}

.ftbox a span, .ftbox p span {
    padding-right: 15px;
}

.ftbox h3 {
    color: #fff;
    font-size: 17px;
	font-weight: 500;
    margin-top: 0;
    margin-bottom: 10px;
}

.ftbox ul {
    padding-left: 0;
    margin-bottom: 0;
}

.ftbox ul li {
    padding-top: 7px;
    list-style: none;
}

.ftbox ul li:first-child {
    padding-top: 0;
}

.ftbox ul li a {
    color: #c5c5c5;
    font-size: 12px;
    display: initial;
}

.ftbox ul li a:hover {
	 color: #dc1414;
    text-decoration: none;
}

.divider {
    border: 0;
    border-top: 1px solid #616161;
    width: 40px;
    margin: 10px 0;
}

/* Social Media Icons */
.socimedia {
    padding-left: 0;
    margin-bottom: 0;
}

.socimedia li {
    list-style: none;
    display: inline-block;
    padding: 0 5px;
}

.socimedia li:first-child {
    padding-left: 0;
}

.socimedia li a {
    font-size: 12px;
    color: #fff;
    text-decoration: none;
}

.socimedia li a:hover {
    color: #dc1414;
    text-decoration: none;
}

/* Privacy Part */
.privancypart {
	color: #fff;
    font-size: 12px;
    text-align: center;
    margin-top: 10px;
}

.privancypart p {
    margin: 0;
}

.privancypart ul {
    padding-left: 0;
    text-align: left;
    margin-bottom: 0;
	color: #fff;
}

.privancypart ul li {
    display: inline-block;
    padding: 0 4px;
}

.privancypart ul li a {
    font-size: 13px;
    color: #fff;
}

.privancypart p a {
    color: #fff;
}

.privancypart p a:hover {
    color: #dc1414;
}

/* ========== MODAL CUSTOM STYLES ========== */
.caseStudyModal .modal-header {
    border-bottom: 0;
    text-align: center;
}

.caseStudyModal .modal-footer {
    border-top: none;
    text-align: center;
}

.caseStudyModal .modal-footer a {
    color: #a0a0a0;
    font-size: 14px;
    text-decoration: underline;
}

.caseStudyModal .modal-header .close {
    margin-top: -27px;
    margin-right: -25px;
    background-color: red;
  opacity: 1; 
    padding: 1.3px 6px;
    color: #fff;
}

.caseStudyModal .modal-header .close:focus {
    outline: 0;
}

@media (min-width: 992px) {
    .caseStudyModal .modal-lg {
        width: 650px;
    }
}

/* HubSpot Form Wrapper */
.husbpotFormWrap {
    padding: 20px 0;
}

/* WOW Animation Helper */
.fadeInUp {
    animation-name: fadeInUp;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 767px) {
    header .navbar-default .navbar-nav>li>a {
        padding: 10px 15px;
        border-bottom: none;
    }
    
    .navbar-default .navbar-nav>li>a:hover {
        border-left: 2px solid #dc1414;
    }
    
    .dropdown-menu>li>a {
        padding: 8px 30px;
    }
    
    #footer {
        padding: 40px 0;
    }
    
    .ftbox {
        margin-bottom: 30px;
    }
    
    .navbar-right {
        margin-right: 0;
    }
}

@media (min-width: 768px) {
    header .navbar-nav {
        float: right;
        margin: 0;
        display: flex;
        flex-wrap: nowrap;
    }
    
    header .navbar-nav>li {
        float: left;
        margin-left: 10px;
        flex-shrink: 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    header .navbar-default .navbar-nav>li>a {
        font-size: 13px;
        padding: 10px 8px;
    }
}

@media (min-width: 992px) {
    header .navbar-nav>li {
    margin-left: 15px;
    }
}

/* ========== ENSURE TABS AND ACCORDION VISIBILITY ========== */
/* Override any conflicting styles to ensure Core Capabilities and FAQ are visible */

.tabs {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    margin-top: 2rem;
}

.tabs-list {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.tabs-content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 300px;
}

.tab-trigger {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    cursor: pointer;
}

.tab-content {
    visibility: visible !important;
    opacity: 1 !important;
}

.capability-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* FAQ Accordion Visibility */
.accordion {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
}

.accordion-item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 1rem;
}

.accordion-trigger {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    cursor: pointer;
}

.accordion-content {
    visibility: visible !important;
    opacity: 1 !important;
}

.accordion-content.active {
    display: block !important;
}

/* Note: Complete styles for tabs and accordion are in tms-landing-page.css */
/* These overrides ensure visibility in case of conflicts */

/* ========== PARTNER LOGOS STYLING ========== */
/* Override tms-landing-page.css styles */
.partner-logos {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 60px !important;
    flex-wrap: wrap !important;
    margin: 30px 0 !important;
    padding: 20px 0 !important;
    opacity: 1 !important;
}

.partner-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    border: none !important;
}

.partner-logo img {
    max-width: 100% !important;
    max-height: 100px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    opacity: 1 !important;
    filter: none !important;
}

@media (max-width: 991px) {
    .partner-logos {
        gap: 50px !important;
    }
    
    .partner-logo img {
        max-height: 80px !important;
    }
}

@media (max-width: 767px) {
    .partner-logos {
        gap: 40px !important;
    }
    
    .partner-logo img {
        max-height: 70px !important;
    }
}

/* ========== VIDEO WRAPPER STYLING ========== */
.video-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.video-wrapper video {
    width: 60%;
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0 auto;
}

.conversion-benefits {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  text-align: center;
    padding: 20px;
}

.conversion-benefits h3 {
    margin-bottom: 30px;
    font-size: 28px;
    color: #333;
}

@media (max-width: 767px) {
    .video-wrapper {
        margin: 15px 0;
        border-radius: 8px;
    }
    
    .conversion-benefits h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }
}
