/* TBI Landing Page Custom Styles */

:root {
  --primary-brand: #004b87; /* TBI Blue */
  --primary-light: rgba(0, 75, 135, 0.1);
  --accent: #f26522; /* TBI Orange */
  --accent-light: rgba(242, 101, 34, 0.1);
  --text-dark: #333333;
  --text-light: #ffffff;
  --dark-brand: #1f242e;
  --light-bg: #f8f9fa;
  --font-heading: "Open Sans", sans-serif;
  --font-body: "Open Sans", sans-serif;
}

/* Typography Base */
html,
body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: #4a4a4a;
  line-height: 1.6;
  padding-top: 97px;
}

@media (max-width: 991px) {
  body {
    padding-top: 61px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
.fw-bold {
  font-family: var(--font-heading);
}

/* Color Utility Classes */
.text-primary-brand {
  color: var(--primary-brand) !important;
}
.text-accent {
  color: var(--accent) !important;
}
.text-dark-brand {
  color: var(--dark-brand) !important;
}

.bg-primary-brand {
  background-color: var(--primary-brand) !important;
}
.bg-accent {
  background-color: var(--accent) !important;
}
.bg-primary-subtle {
  background-color: var(--primary-light) !important;
}
.bg-accent-subtle {
  background-color: var(--accent-light) !important;
}

/* Header Logo */
.header-logo {
  height: 65px;
  object-fit: contain;
  transition: all 0.3s;
}

@media (max-width: 991px) {
  .header-logo {
    height: 45px;
  }
}

/* Buttons */
.btn-primary-brand {
  background-color: var(--primary-brand);
  color: #fff;
  border: none;
}
.btn-primary-brand:hover {
  background-color: #003666;
  color: #fff;
}

.btn-accent {
  background-color: var(--accent);
  color: #fff;
  border: none;
}
.btn-accent:hover {
  background-color: #d9561a;
  color: #fff;
}

.btn-outline-accent {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn-outline-accent:hover {
  background: var(--accent);
  color: #fff;
}

.btn-outline-primary-brand {
  border: 2px solid var(--primary-brand);
  color: var(--primary-brand);
  background: transparent;
}
.btn-outline-primary-brand:hover {
  background: var(--primary-brand);
  color: #fff;
}

/* Logo Placeholder */
.logo-placeholder {
  background-color: var(--primary-brand);
  color: #fff;
  font-weight: bold;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 14px;
  letter-spacing: 1px;
}

/* Navbar */
.navbar {
  transition: all 0.3s ease-in-out;
}

.navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: -1;
  transition: all 0.3s ease-in-out;
}

.navbar.navbar-scrolled::before {
  background-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.navbar-nav .nav-link {
  color: var(--dark-brand);
  padding: 0.5rem 1rem;
  transition: color 0.3s;
}
.navbar-nav .nav-link:hover {
  color: var(--accent);
}

/* Hero Section */
.hero-section {
  padding: 120px 0;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-image-placeholder {
  width: 100%;
  height: 450px;
  background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
  border: 1px solid #cce3f6;
  border-radius: 12px !important;
}

/* Decorative Blobs for Fun Vibe */
.shape-blob {
  width: 400px;
  height: 400px;
  background: var(--accent-light);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  filter: blur(50px);
  top: -100px;
  right: -100px;
  z-index: 0;
  animation: blob-bounce 10s infinite alternate;
}

.shape-blob.shape-blob-2 {
  width: 300px;
  height: 300px;
  background: var(--primary-light);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  bottom: -50px;
  left: -50px;
  top: auto;
  right: auto;
  animation: blob-bounce 15s infinite alternate-reverse;
}

@keyframes blob-bounce {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.1) translate(20px, -20px);
  }
}

.z-index-1 {
  z-index: 1;
}

/* Strength Cards */
.strength-card {
  transition:
    box-shadow 0.3s,
    transform 0.3s;
  border-radius: 12px !important;
}
.strength-card .icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Removed micro-animations (like transform: translateY(-5px)) as requested */
.strength-card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
}

/* Services Cards */
.service-card {
  transition:
    box-shadow 0.3s,
    transform 0.3s;
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem !important;
}
.service-card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
}
.service-list {
  font-size: 0.95rem;
}

/* Form Section */
.form-section {
  background-image: linear-gradient(
    135deg,
    var(--primary-brand) 0%,
    #003666 100%
  );
  position: relative;
}

.form-control {
  border-radius: 8px;
}

.form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(242, 101, 34, 0.25);
  border-color: var(--accent);
  background-color: #fff !important;
}

/* Locations */
.location-card {
  border-top: 4px solid var(--primary-brand);
  border-radius: 12px !important;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.location-list-item {
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-left 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-left: 4px solid transparent;
}
.location-list-item:hover {
  transform: translateX(10px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
  border-left: 4px solid var(--accent);
}

/* Global soft hover for cards */
.strength-card:hover,
.service-card:hover,
.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
}

/* Utilities */
.tracking-wider {
  letter-spacing: 0.1em;
}
.grayscale {
  filter: grayscale(100%);
  transition:
    filter 0.3s,
    opacity 0.3s;
}
.grayscale:hover {
  filter: grayscale(0%);
  opacity: 1 !important;
}
.hover-text-white:hover {
  color: white !important;
}

/* Process Section */
.process-step {
  z-index: 1;
}
.process-line {
  position: absolute;
  width: 2px;
  height: 100%;
  background-color: #dee2e6;
  left: 30px; /* half of 60px circle */
  top: 30px;
  z-index: 0;
}
.process-step:last-child .process-line {
  display: none;
}

/* Testimonial */
.testimonial-card {
  transition: transform 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15) !important;
}

/* FAQ Accordion */
.custom-accordion .accordion-button:not(.collapsed) {
  background-color: transparent;
  color: var(--accent) !important;
  box-shadow: none;
}
.custom-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

/* Client Marquee */
.client-marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.client-marquee {
  width: fit-content;
  animation: scroll-left 25s linear infinite;
}

.client-marquee:hover {
  animation-play-state: paused;
}

.client-logo {
  height: 85px;
  object-fit: contain;
  margin: 0 60px;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.3s;
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@media (max-width: 768px) {
  .client-logo {
    height: 95px;
    margin: 0 30px;
  }
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  } /* Scrolls exactly half of the total width since we duplicated the items */
}
