/* ============================================================
   iCatalyst 2025 Clean Stable Stylesheet
   FINAL VERSION — No Conflicts / No Duplicates / Fully Fixed
============================================================ */

/* ------------------------------
   1. GLOBAL RESET & TYPOGRAPHY
------------------------------ */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

.container {
    max-width: 1200px !important;
    width: 100%;
}

a {
    color: #000;
    text-decoration: none;
}
a:hover {
    color: #b30000;
}

/* ============================================================
   UNIVERSAL FIXED NAVBAR (Bootstrap 3 Compatible)
   Works for ALL pages, ALL layouts
   ============================================================ */

/* Reset Bootstrap spacing that creates the TOP GAP */
#navigation {
    margin: 0 !important;
    padding: 0 !important;
}

/* FIXED NAVBAR — fully opaque + always on top */
.navbar-custom {
    background: #ffffff !important;
    background-color: #ffffff !important;  /* ensures it is NOT transparent */

    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    z-index: 20000 !important;  /* puts it above ALL body content including animations */

    height: 90px;
    border-bottom: 1px solid #e6e6e6;
    padding: 0 32px !important;

    display: flex;
    align-items: center;
}

/* Prevent ALL page content from sliding under navbar */
body {
    padding-top: 90px !important;
}

/* -----------------------------------------
   LOGO
------------------------------------------ */
.navbar-custom .site-logo img {
    max-height: 60px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin-top: 5px; /* tweak as needed */
}

/* -----------------------------------------
   MAIN NAV MENU (Bootstrap UL)
------------------------------------------ */

.navbar-custom .navbar-nav {
    display: flex !important;
    align-items: center !important;
}

.navbar-custom .navbar-nav > li > a {
    font-size: 15px;
    color: #000 !important;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;

    padding: 30px 12px !important;
    line-height: 30px !important;

    border-bottom: 3px solid transparent;
    transition: all .2s ease;
}

.navbar-custom .navbar-nav > li > a:hover {
    color: #b30000 !important;
    border-bottom: 3px solid #b30000;
}

/* -----------------------------------------
   DROPDOWN ITEMS
------------------------------------------ */
.dropdown-menu > li > a {
    padding: 10px 16px !important;
    color: #000 !important;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
}

.dropdown-menu > li > a:hover {
    color: #b30000 !important;
    background: #fff !important;
}

/* -----------------------------------------
   EMPLOYEE LOGIN BUTTON
------------------------------------------ */
.navbar-custom .navbar-btn {
    padding: 10px 20px !important;
    border: 2px solid #000000 !important;
    color: #000000 !important;
    border-radius: 5px;
    margin-left: 20px !important;
    line-height: 20px !important;
}

.navbar-custom .navbar-btn:hover {
    background: #3071a9 !important;
    color: #fff !important;
}

/* -----------------------------------------
   MOBILE STYLE (Bootstrap collapse)
------------------------------------------ */
@media (max-width: 991px) {

    .navbar-custom {
        height: auto !important;
        padding: 15px 20px !important;
    }

    body {
        padding-top: 70px !important;
    }

    .navbar-nav > li > a {
        padding: 12px 14px !important;
        border: none !important;
    }

    .navbar-btn {
        margin-left: 0 !important;
        margin-top: 10px !important;
    }
}


/* -----------------------------------------------------------
   4. BODY BACKGROUND — RIBBONS + DOTS + GRADIENT
------------------------------------------------------------ */
body {
    background:
        linear-gradient(200deg, rgba(47,99,180,0.12) 0%, rgba(47,99,180,0.00) 35%) no-repeat,
        linear-gradient(20deg,  rgba(150,185,255,0.11) 10%, rgba(150,185,255,0.00) 60%) no-repeat,
        repeating-linear-gradient(
            135deg,
            rgba(47,99,180,0.07) 0px,
            rgba(47,99,180,0.07) 2px,
            rgba(47,99,180,0.00) 2px,
            rgba(47,99,180,0.00) 36px
        ),
        linear-gradient(180deg, #eaf3ff 0%, #dfeeff 26%, #d3e7ff 54%, #cbe2ff 100%);
    background-attachment: fixed;
}

/* floating dots */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image: radial-gradient(#ffffff70 2px, transparent 2px);
    background-size: 60px 60px;
    animation: floatDots 18s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatDots {
    0% { transform: translateY(0); }
    100% { transform: translateY(-120px); }
}

/* -----------------------------------------------------------
   5. HERO IMAGE
------------------------------------------------------------ */
.hero-image{
    width:100%; height:225px; object-fit:contain; display:block; margin:0px 0; position:relative; z-index:1;
  }


/* -----------------------------------------------------------
   6. CONTENT TEXT
------------------------------------------------------------ */
.servicetext {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.fa-ul > li {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.6;
}

/* -----------------------------------------------------------
   7. ACCORDIONS
------------------------------------------------------------ */
.panel {
    border-radius: 10px;
    border: 1px solid #ccc;
}
.panel-heading {
    background: #fff !important;
}
.panel-body {
    background: #fff !important;
}

/* ===========================
--- PreFooter (fixed)
=========================== */
.pre-footer {
  padding: 0 1rem;
  background-color: #F7F6F6;
  max-height: 6rem;
  overflow: hidden;
}

.pre-footer .pre-footer-content-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 6rem;
  gap: 1rem;
}

.pre-footer .pre-footer-image-wrapper {
  max-height: 6rem;
  padding: 0 .25rem;
  display: flex;
  align-items: center;
}

.pre-footer .pre-footer-image-wrapper img {
  max-height: 6rem;
  width: auto;
  height: auto;
}

/* Bounce animation */
.pre-footer .bounce-up img {
  opacity: 0;
  transition: all 350ms ease-out;
  transform: scale(0.5);
  backface-visibility: hidden;
}

.pre-footer .bounce-up.in-view img {
  opacity: 1;
  transform: scale(0.8);
  filter: blur(0);
}

/* Mobile */
@media (max-width: 812px) {
  .pre-footer {
    max-height: 20rem;
  }

  .pre-footer .pre-footer-content-wrapper {
    padding: 0.5rem;
    flex-wrap: wrap;
  }
}

/* ===========================
--- Footer
============================ */

footer {
  background-color: #3f3f3f !important;
  color: #fff;
}

footer {
	text-align: center;
	padding: 10px 0 ;
  }

footer p {
	color: #f8f8f8;
	font-size: 16px;
}

footer a.totop {
	color: #fff;
	margin-bottom: 30px;
}
footer a.totop:focus {
	outline: 0;
}



/* menu */
ul.footer-menu {
	list-style: none;
}

ul.footer-menu li {
	float: left;
	margin: 0 0 0 10px;

}

ul.footer-menu li a {
	color: #fff;
	font-size: 16px;
	border-left: 1px solid #999;
	padding-left: 9px;
	line-height: 1.1em;
}

ul.footer-menu li:first-child a {
	border-left: none;
	padding-left: 0;
}

.social-widget {
	margin-top: 20px;
	margin-bottom: 30px;
}

.social-icon {
	margin-top: 1 rem;
	margin-left: 0px;
        display:block;

}



.social-widget ul li a:hover {
	color: #fff;
}

footer .social-widget ul.team-social li a {
	margin: 0 5px;
}

/* --- FORCE NAVBAR TO BE SOLID & ABOVE ALL CONTENT --- */
#navigation,
.navbar-custom {
    background: #ffffff !important;
    background-color: #ffffff !important;
    position: fixed !important;
    top: 0; left: 0; right: 0;
    z-index: 999999 !important;
}

/* Prevent body content from overlapping
body {
    padding-top: 120px !important;
}
*/

/* Prevent body animation layer from sitting above navbar */
body::after {
    z-index: -1 !important;
}
footer a.privacypolicy {
    color: #ffffff !important;
}
/* Carousel text position override */
.carousel-caption.custom-caption {
  left: 5%;
  right: auto;
  bottom: 15%;
  top: auto;
  text-align: left;
}

/* Carousel caption style box */
.caption-box {
  background-color: #e6f0ff;
  padding: 16px 24px;
  border-radius: 6px;
  display: inline-block;
  color: #000;

  white-space: normal;
  max-width: none;
}

.caption-box h3 {
  font-weight: 700;
  font-size: 18px;
  margin: 0;
  line-height: 1;
  font-family: inherit;
  text-shadow: none !important;
  -webkit-font-smoothing: auto;
}

.innovation-banner {
  position: relative;
  width: 100%;
  height: 140px; /* smaller height */
  overflow: hidden;
  margin: 0 auto 40px auto;
  z-index: 1;
  background: #002b5c;
}

.banner-inner-wrapper img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: center 42%; /* Shift the crop window down to show more of the center */
  display: block;
}


.cards-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px; /* space before footer */
}

.card-col {
  display: flex;
}

.service-box {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-secondary {
  display: inline-block;
   background-color: #428bca;  /* Bootstrap primary blue */
   color: #fff !important;
   padding: 8px 18px;
   font-weight: bold;
   text-transform: uppercase;
   border: none;
   border-radius: 4px;
   text-align: center;
   transition: background 0.3s ease;
   font-size: 14px;
 }

.btn-secondary:hover {
  background-color: #3071a9;
  color: #fff !important;
  text-decoration: none;
}

.service-box .btn {
  width: auto;
  margin-top: auto; /* pushes button to bottom if cards are different heights */
}

.marginbot-40 {
  margin-bottom: 40px;
}

h1, h2, h4, h5, h6, .h-bold {
  text-transform: uppercase;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
}

.solution-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;   /* ensures all cards fill the same column height */
  padding-bottom: 24px;  /* provide consistent bottom padding */
}

/* SOLUTIONS: fix row spacing and alignment */
.solutions-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.solution-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.solution-card .btn-explore {
  display: inline-block;
  background-color: #428bca;  /* Bootstrap primary blue */
  color: #fff !important;
  padding: 8px 18px;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  text-align: center;
  transition: background 0.3s ease;
  font-size: 14px;
}

.solution-card .btn-explore:hover {
  background-color: #3071a9;
  color: #fff !important;
  text-decoration: none;
}

.row.solutions-row { /* if you add a class to the row, better control */
  display: flex;
  flex-wrap: wrap;
  gap: 24px;     /* uniform spacing between cards */
}

.col-sm-6.col-md-4 {
  margin-bottom: 24px;  /* consistent bottom space under each card */
}

.product-card-wrapper {
  display: flex;
}

.product-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* evenly distribute content */
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.product-card .btn-readmore {
  display: inline-block;
  background-color: #428bca;  /* Bootstrap primary blue */
  color: #fff !important;
  padding: 8px 18px;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  text-align: center;
  transition: background 0.3s ease;
  font-size: 14px;
}

.btn-readmore:hover {
  background-color: #3071a9;
  color: #fff !important;
  text-decoration: none;
}

#labs {
  margin-bottom: 60px;
}

.fa,
.fas,
.far,
.fal,
.fad,
.fab {
  color: #428bca !important;
}

.link-blue-bold {
  color: #428bca;
  font-weight: bold;
  text-decoration: underline;
}

/* Careers hero image: keep full image (no crop), scale down by breakpoint */
.careers-hero {
  width: 100%;
  height: 300px;          /* default visual height */
  object-fit: contain;    /* show the entire image */
  display: block;
  margin: 0 auto 15px;
  border-radius: 6px;
}

#careers3 .service-box {
  min-height: 260px;
  padding: 16px;
}
