/********** Template CSS **********/
:root {
    --primary: #32C36C;
    --light: #F6F7F8;
    --dark: #1A2A36;
}

.fw-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    left: 45px;
    bottom: 17px;
    z-index: 99;
}
/*scroll for modal*/
.modal-body {
  max-height: 70vh; /* or adjust as needed */
  overflow-y: auto;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}
.navbar-brand {
    margin-left: 10px;
}
.navbar-brand img {
    border-radius: 8px;
}
.navbar .navbar-brand,
.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark); 
    font-size: 14px;
    font-weight: 550;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color:#131FA8;
}


/*END OF blue underline effect on hover*/

/*.navbar .dropdown {
 text-transform: uppercase;
}*/

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-size: 12px;
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}
.navbar .dropdown-menu .dropdown-item:hover {
    background-color: #131FA8;
    color: #fff; /* optional for readability */
    transition: background-color 0.3s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #131FA8 !important;
  color: #fff !important;
  border: none;
  border-radius: 4px;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.navbar a.btn:hover,
.navbar a.btn:focus {
  background-color: #0F178A !important;
  color: #fff !important;
  transform: translateY(-1px);
  text-decoration: none;
}

.navbar a.btn:active {
  transform: translateY(0);
}
.page-header13 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)), 
                url(../img/img_header/faqs.jpg) center center no-repeat;
    background-size: cover;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

/* Prevent page content from hiding under sticky header */
body {
  padding-top: 140px; /* adjust based on total header height */
  transition: padding-top 0.3s ease-in-out;
}

/* ==============================
   Navbar Logo
   ============================== */

.navbar-brand {
  position: relative;
}

.navbar-brand img {
  position: absolute;
  top: -14px;
  left: 0;
  height: 90px;
  width: auto;
  object-fit: contain;
  margin-top: 10px;
  transition: height 0.25s ease-in-out;
}

/* Add space above navbar so logo doesn’t overlap links */
.navbar {
  padding-top: 40px;
}

/* ==============================
   Navbar Links Underline Hover
   ============================== */

/* ==============================
   Navbar Links Underline Hover (Tight + Responsive)
   ============================== */

.navbar-nav .nav-link {
  position: relative;
  display: inline-block;
  padding-top: 0;
  padding-bottom: 0; /* remove Bootstrap’s default vertical padding */
  line-height: 1.2;  /* keeps text tight */
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 1px; /* ✅ now sits very close to text */
  left: 0;
  width: 0;
  height: 2px;
  background-color: #131FA8;
  transition: width 0.3s ease;
}

/* Only show on larger screens */
@media (min-width: 992px) {
  .navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
  }
}

/* Hide underline on small screens */
@media (max-width: 991px) {
  .navbar-nav .nav-link::after {
    display: none;
  }
}


/* ==============================
   Navbar Button
   ============================== */


/* ==============================
   Modal Fix (Ensure Modals Appear in Front)
   ============================== */
/* Bootstrap creates this element at runtime when a modal opens. */
.modal-backdrop {
  z-index: 10400 !important;
}

.modal {
  z-index: 10410 !important;
}
.btn-success,
.btn-primary {
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 0.25s ease;
}

.btn-success:hover,
.btn-primary:hover {
  transform: translateY(-3px);
}
    /*FAQs Frequently Asked Questions Section*/
    .faq {
            background: #f8f9fa;
            padding-top: 60px;
            padding-bottom: 20px;
        }
        .faq .content {
            text-align: left;
            padding-right: 20px;
        }
        .faq .content h2 {
            font-weight: 700;
            font-size: 36px;
            color: #333;
        }
        .faq .content p {
            font-size: 16px;
            color: #6c757d;
        }
        .faq .accordion-item {
            border: 0;
            margin-bottom: 15px;
            border-radius: 10px;
            overflow: hidden;
            transition: all 0.3s ease-in-out;
        }
        .faq .accordion-button {
            padding: 18px;
            font-weight: 600;
            font-size: 18px;
            color: #444;
            background: #fff;
            border: none;
            display: flex;
            align-items: center;
            transition: 0.3s;
        }
        .faq .accordion-button:hover {
            background: #f1f1f1;
        }
        .faq .accordion-button .num {
            margin-right: 10px;
            font-size: 20px;
            color: #007bff;
            font-weight: bold;
        }
        .faq .accordion-button:focus {
            box-shadow: none;
        }
        .faq .accordion-body {
            padding: 20px;
            background: #ffffff;
            font-size: 16px;
            line-height: 1.6;
            border-left: 4px solid #007bff;
            transition: all 0.3s ease-in-out;
        }


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }
}

/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }
}

 /* ==========================
   Preloader Styles (Blue)
   ========================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s ease;
}

/* Loader Circle */
.loader {
  border: 1px solid #f3f3f3;      /* Light border for contrast */
  border-top: 2px solid #007BFF;  /* Blue top (Bootstrap blue) */
  border-radius: 50%;
  width: 45px;
  height: 45px;
  animation: spin 1s linear infinite;
}

/* Fade Out Effect When Loaded */
body.loaded #preloader {
  opacity: 0;
  pointer-events: none;
}

/* ==============================================================
   BornAugust Engineering redesign
   Namespaced to protect legacy pages during the staged refactor.
   ============================================================== */
:root {
  --ba-navy-950: #061a2b;
  --ba-navy-900: #082642;
  --ba-navy-800: #0d3658;
  --ba-blue-700: #086b9b;
  --ba-blue-500: #16a7d4;
  --ba-blue-100: #dff4fb;
  --ba-gold-600: #c99319;
  --ba-gold-500: #d9aa35;
  --ba-gold-100: #fbf1d6;
  --ba-ink: #17232d;
  --ba-muted: #5f6d78;
  --ba-line: #dfe6eb;
  --ba-soft: #f3f7f9;
  --ba-white: #ffffff;
  --ba-shadow-sm: 0 10px 30px rgba(6, 26, 43, 0.08);
  --ba-shadow-lg: 0 28px 80px rgba(6, 26, 43, 0.16);
  --ba-radius-md: 18px;
  --ba-radius-lg: 28px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  padding-top: 0 !important;
}

body.ba-page {
  margin: 0;
  background: var(--ba-white);
  color: var(--ba-ink);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

.ba-page *,
.ba-page *::before,
.ba-page *::after,
.ba-site-header *,
.ba-footer *,
.ba-consultation-modal * {
  box-sizing: border-box;
}

.ba-page h1,
.ba-page h2,
.ba-page h3,
.ba-page h4,
.ba-site-header strong,
.ba-footer h2,
.ba-footer strong,
.ba-consultation-modal h2 {
  color: inherit;
  font-family: "Barlow", sans-serif;
  letter-spacing: -0.025em;
}

.ba-page a,
.ba-site-header a,
.ba-footer a {
  text-decoration: none;
}

.ba-page img,
.ba-site-header img,
.ba-footer img {
  max-width: 100%;
}

.ba-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 11000;
  padding: 0.7rem 1rem;
  color: var(--ba-navy-950);
  background: var(--ba-gold-500);
  border-radius: 6px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.ba-skip-link:focus {
  transform: translateY(0);
}

.ba-btn {
  min-height: 50px;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.ba-btn:hover {
  transform: translateY(-2px);
}

.ba-btn-primary {
  color: var(--ba-navy-950);
  background: var(--ba-gold-500);
  box-shadow: 0 12px 30px rgba(217, 170, 53, 0.23);
}

.ba-btn-primary:hover,
.ba-btn-primary:focus-visible {
  color: var(--ba-navy-950);
  background: #e7b94a;
  box-shadow: 0 15px 35px rgba(217, 170, 53, 0.32);
}

.ba-btn-ghost {
  color: var(--ba-white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.ba-btn-ghost:hover,
.ba-btn-ghost:focus-visible {
  color: var(--ba-white);
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.11);
}

.ba-btn-dark {
  color: var(--ba-white);
  background: var(--ba-navy-900);
}

.ba-btn-dark:hover,
.ba-btn-dark:focus-visible {
  color: var(--ba-white);
  background: var(--ba-blue-700);
}

.ba-page :focus-visible,
.ba-site-header :focus-visible,
.ba-footer :focus-visible,
.ba-consultation-modal :focus-visible {
  outline: 3px solid rgba(22, 167, 212, 0.45);
  outline-offset: 3px;
}

/* Header */
#header {
  position: relative;
  z-index: 1035;
}

.ba-site-header {
  position: sticky;
  top: 0;
  z-index: 1035;
  width: 100%;
  color: var(--ba-ink);
  background: var(--ba-white);
  transition: box-shadow 0.25s ease;
}

.ba-site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(6, 26, 43, 0.12);
}

.ba-topbar {
  min-height: 39px;
  color: rgba(255, 255, 255, 0.77);
  background: var(--ba-navy-950);
  font-size: 0.78rem;
}

.ba-topbar-inner,
.ba-topbar-group {
  display: flex;
  align-items: center;
}

.ba-topbar-inner {
  min-height: 39px;
  justify-content: space-between;
  gap: 1rem;
}

.ba-topbar-group {
  gap: 1.7rem;
}

.ba-topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: inherit;
  transition: color 0.2s ease;
}

.ba-topbar a:hover {
  color: var(--ba-white);
}

.ba-topbar i {
  color: var(--ba-gold-500);
  font-size: 0.88rem;
}

.ba-topbar-phone {
  color: var(--ba-white) !important;
  font-weight: 700;
}

.ba-main-header {
  background: rgba(255, 255, 255, 0.98);
}

.ba-navbar.navbar {
  min-height: 76px;
  padding: 0.55rem 0 !important;
}

.ba-brand.navbar-brand {
  min-width: 260px;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.ba-brand.navbar-brand img,
.ba-footer-brand img {
  position: static !important;
  width: 54px;
  height: 54px !important;
  margin: 0 !important;
  border: 1px solid rgba(8, 38, 66, 0.12);
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 7px 18px rgba(6, 26, 43, 0.1);
}

.ba-brand span,
.ba-footer-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.02;
}

.ba-brand strong,
.ba-footer-brand strong {
  color: var(--ba-navy-900);
  font-size: 1.45rem;
  font-weight: 800;
}

.ba-brand small,
.ba-footer-brand small {
  margin-top: 0.32rem;
  color: var(--ba-muted);
  font-family: "Manrope", sans-serif;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.ba-navbar .navbar-nav {
  gap: 0.12rem;
}

.ba-navbar .navbar-nav .nav-link {
  position: relative;
  margin: 0;
  padding: 0.85rem 0.72rem;
  color: #35434e;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.ba-navbar .navbar-nav .nav-link::after {
  position: absolute;
  right: 0.72rem;
  bottom: 0.5rem;
  left: 0.72rem;
  width: auto;
  height: 2px;
  content: "";
  background: var(--ba-gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.ba-navbar .navbar-nav .nav-link:hover,
.ba-navbar .navbar-nav .nav-link.active {
  color: var(--ba-navy-900);
}

.ba-navbar .navbar-nav .nav-link:hover::after,
.ba-navbar .navbar-nav .nav-link.active::after {
  width: auto;
  transform: scaleX(1);
}

.ba-navbar .dropdown-toggle::after {
  position: static !important;
  width: 0 !important;
  height: 0 !important;
  margin-left: 0.38rem !important;
  border-top: 0.28em solid !important;
  border-right: 0.28em solid transparent !important;
  border-bottom: 0 !important;
  border-left: 0.28em solid transparent !important;
  content: "" !important;
  background: none !important;
  font-family: inherit !important;
  transform: none !important;
  vertical-align: 0.14em !important;
}

.ba-dropdown-menu {
  min-width: 320px;
  margin-top: 0.65rem !important;
  padding: 0.55rem;
  border: 1px solid var(--ba-line) !important;
  border-radius: 12px;
  box-shadow: var(--ba-shadow-lg);
}

.ba-dropdown-menu .dropdown-item {
  padding: 0.68rem 0.75rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ba-ink);
  white-space: normal;
}

.ba-dropdown-menu .dropdown-item:hover,
.ba-dropdown-menu .dropdown-item:focus {
  color: var(--ba-navy-900);
  background: var(--ba-blue-100);
}

.ba-dropdown-menu .dropdown-item i {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  color: var(--ba-blue-700);
  background: var(--ba-blue-100);
}

.ba-dropdown-menu .dropdown-item span {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  font-weight: 700;
}

.ba-dropdown-menu .dropdown-item small {
  margin-top: 0.12rem;
  color: var(--ba-muted);
  font-size: 0.67rem;
  font-weight: 500;
}

.ba-nav-cta {
  min-height: 43px;
  margin-left: 0.8rem;
  padding: 0.65rem 0.9rem;
  border: 0;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ba-white);
  background: var(--ba-navy-900);
  font-family: "Manrope", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.ba-nav-cta:hover {
  background: var(--ba-blue-700);
  transform: translateY(-1px);
}

.ba-nav-toggle {
  width: 44px;
  height: 42px;
  padding: 0.58rem;
  border: 1px solid var(--ba-line);
  border-radius: 7px;
}

.ba-nav-toggle span {
  width: 100%;
  height: 2px;
  margin: 4px 0;
  display: block;
  background: var(--ba-navy-900);
}

.ba-eyebrow {
  margin-bottom: 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ba-gold-500);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ba-eyebrow span {
  width: 38px;
  height: 2px;
  background: var(--ba-gold-500);
}

/* Shared sections */
.ba-capability-strip {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--ba-line);
  color: var(--ba-navy-900);
  background: var(--ba-white);
}

.ba-capability-list {
  min-height: 92px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.ba-capability-list span {
  min-height: 42px;
  padding: 0 1rem;
  border-right: 1px solid var(--ba-line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.81rem;
  font-weight: 700;
  text-align: center;
}

.ba-capability-list span:first-child {
  border-left: 1px solid var(--ba-line);
}

.ba-capability-list i {
  color: var(--ba-blue-700);
  font-size: 1.15rem;
}

.ba-section {
  position: relative;
  padding: 6.5rem 0;
}

.ba-section-soft {
  background: var(--ba-soft);
}

.ba-section-heading {
  margin-bottom: 2.2rem;
}

.ba-section-heading h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ba-navy-900);
  font-size: clamp(2.25rem, 4.2vw, 3.65rem);
  font-weight: 800;
  line-height: 1.04;
}

.ba-section-heading > p,
.ba-section-intro {
  max-width: 650px;
  margin: 1rem 0 0;
  color: var(--ba-muted);
}

.ba-section-heading-centered {
  max-width: 820px;
  margin-right: auto;
  margin-bottom: 3.2rem;
  margin-left: auto;
  text-align: center;
}

.ba-section-heading-centered h2,
.ba-section-heading-centered > p {
  margin-right: auto;
  margin-left: auto;
}

.ba-kicker {
  margin-bottom: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ba-blue-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ba-kicker::before {
  width: 23px;
  height: 2px;
  content: "";
  background: var(--ba-gold-500);
}

.ba-kicker-light {
  color: var(--ba-gold-500);
}

.ba-lead {
  max-width: 760px;
  margin-bottom: 2rem;
  color: var(--ba-muted);
  font-size: 1.05rem;
}

.ba-blueprint-card {
  position: relative;
  min-height: 455px;
  padding: 3rem;
  overflow: hidden;
  border-radius: var(--ba-radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--ba-white);
  background:
    linear-gradient(rgba(22, 167, 212, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 167, 212, 0.1) 1px, transparent 1px),
    linear-gradient(145deg, var(--ba-navy-950), var(--ba-navy-800));
  background-size: 32px 32px, 32px 32px, auto;
  box-shadow: var(--ba-shadow-lg);
}

.ba-blueprint-card::after {
  position: absolute;
  top: 48px;
  right: -95px;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(217, 170, 53, 0.4);
  border-radius: 50%;
  content: "";
}

.ba-blueprint-icon {
  position: absolute;
  top: 2.5rem;
  left: 2.5rem;
  width: 66px;
  height: 66px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ba-gold-500);
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.7rem;
}

.ba-blueprint-label {
  margin-bottom: 0.7rem;
  color: var(--ba-blue-500);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ba-blueprint-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ba-white);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.04;
}

.ba-blueprint-line {
  width: 75px;
  height: 3px;
  margin: 1.35rem 0 1rem;
  background: var(--ba-gold-500);
}

.ba-blueprint-card p {
  position: relative;
  z-index: 1;
  max-width: 340px;
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.86rem;
}

.ba-value-grid {
  display: grid;
  gap: 1rem;
}

.ba-value-grid article {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--ba-line);
  border-radius: 12px;
  display: flex;
  gap: 1rem;
  background: var(--ba-white);
}

.ba-value-grid article > i {
  width: 43px;
  height: 43px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 43px;
  color: var(--ba-blue-700);
  background: var(--ba-blue-100);
  font-size: 1.1rem;
}

.ba-value-grid h3 {
  margin: 0 0 0.18rem;
  color: var(--ba-navy-900);
  font-size: 1.08rem;
  font-weight: 700;
}

.ba-value-grid p {
  margin: 0;
  color: var(--ba-muted);
  font-size: 0.78rem;
}

/* Service cards */
.ba-service-card {
  position: relative;
  min-height: 360px;
  height: 100%;
  padding: 2rem 1.65rem;
  overflow: hidden;
  border: 1px solid var(--ba-line);
  border-radius: var(--ba-radius-md);
  display: flex;
  flex-direction: column;
  background: var(--ba-white);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ba-service-card::before {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--ba-blue-500), var(--ba-gold-500));
  transition: width 0.3s ease;
}

.ba-service-card:hover {
  border-color: rgba(8, 107, 155, 0.25);
  transform: translateY(-8px);
  box-shadow: var(--ba-shadow-sm);
}

.ba-service-card:hover::before {
  left: 0;
  width: 100%;
}

.ba-card-number {
  position: absolute;
  top: 1.4rem;
  right: 1.5rem;
  color: #c5d0d6;
  font-family: "Barlow", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.ba-service-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 2.2rem;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ba-white);
  background: var(--ba-navy-900);
  box-shadow: 8px 8px 0 var(--ba-gold-100);
  font-size: 1.5rem;
}

.ba-service-card h3 {
  margin: 0 0 0.75rem;
  color: var(--ba-navy-900);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.08;
}

.ba-service-card p {
  margin-bottom: 1.4rem;
  color: var(--ba-muted);
  font-size: 0.84rem;
}

.ba-service-card a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ba-blue-700);
  font-size: 0.76rem;
  font-weight: 800;
}

.ba-service-card a i {
  transition: transform 0.2s ease;
}

.ba-service-card a:hover i {
  transform: translateX(4px);
}

/* Consultancy disciplines */
.ba-disciplines {
  overflow: hidden;
}

.ba-disciplines::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 32%;
  height: 100%;
  content: "";
  opacity: 0.45;
  background: linear-gradient(135deg, transparent 50%, var(--ba-blue-100));
  pointer-events: none;
}

.ba-discipline-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--ba-line);
  border-bottom: 1px solid var(--ba-line);
}

.ba-discipline-item {
  min-height: 285px;
  padding: 1.75rem 1.35rem;
  border-right: 1px solid var(--ba-line);
  background: rgba(255, 255, 255, 0.72);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.ba-discipline-item:first-child {
  border-left: 1px solid var(--ba-line);
}

.ba-discipline-item:hover {
  background: var(--ba-soft);
  transform: translateY(-5px);
}

.ba-discipline-item > i {
  margin-bottom: 3rem;
  display: block;
  color: var(--ba-blue-700);
  font-size: 1.75rem;
}

.ba-discipline-item > span {
  display: block;
  color: var(--ba-gold-600);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ba-discipline-item h3 {
  margin: 0.45rem 0 0.7rem;
  color: var(--ba-navy-900);
  font-size: 1.18rem;
  font-weight: 700;
}

.ba-discipline-item p {
  margin: 0;
  color: var(--ba-muted);
  font-size: 0.76rem;
  line-height: 1.65;
}

/* Reasons */
.ba-sticky-heading {
  position: sticky;
  top: 150px;
}

.ba-reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--ba-line);
  border-left: 1px solid var(--ba-line);
}

.ba-reason-grid article {
  min-height: 215px;
  padding: 1.6rem;
  border-right: 1px solid var(--ba-line);
  border-bottom: 1px solid var(--ba-line);
  background: var(--ba-white);
}

.ba-reason-grid i {
  margin-bottom: 1.25rem;
  display: block;
  color: var(--ba-blue-700);
  font-size: 1.45rem;
}

.ba-reason-grid h3 {
  margin: 0 0 0.5rem;
  color: var(--ba-navy-900);
  font-size: 1.25rem;
  font-weight: 700;
}

.ba-reason-grid p {
  margin: 0;
  color: var(--ba-muted);
  font-size: 0.78rem;
}

/* FAQ */
.ba-faq {
  background: var(--ba-white);
}

.ba-accordion .accordion-item {
  margin-bottom: 0.75rem;
  border: 1px solid var(--ba-line);
  border-radius: 10px;
  overflow: hidden;
}

.ba-accordion .accordion-button {
  padding: 1.2rem 1.35rem;
  color: var(--ba-navy-900);
  background: var(--ba-white);
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: none;
}

.ba-accordion .accordion-button:not(.collapsed) {
  color: var(--ba-navy-900);
  background: var(--ba-blue-100);
}

.ba-accordion .accordion-button::after {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--ba-white);
  background-position: center;
  background-size: 12px;
}

.ba-accordion .accordion-body {
  padding: 1.25rem 1.35rem;
  color: var(--ba-muted);
  background: var(--ba-white);
  font-size: 0.84rem;
}

/* Contact CTA */
.ba-contact-cta {
  position: relative;
  padding: 5.5rem 0;
  overflow: hidden;
  color: var(--ba-white);
  background: linear-gradient(115deg, var(--ba-navy-900), var(--ba-blue-700));
}

.ba-contact-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.11;
  background-image:
    linear-gradient(30deg, transparent 48%, rgba(255, 255, 255, 0.75) 49%, transparent 51%),
    linear-gradient(150deg, transparent 48%, rgba(255, 255, 255, 0.75) 49%, transparent 51%);
  background-size: 90px 52px;
}

.ba-contact-cta h2 {
  max-width: 760px;
  margin: 0 0 0.8rem;
  color: var(--ba-white);
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
}

.ba-contact-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.ba-contact-actions {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(6, 26, 43, 0.27);
}

.ba-contact-link {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ba-white);
}

.ba-contact-link:hover {
  color: var(--ba-gold-500);
}

.ba-contact-link > i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
}

.ba-contact-link span {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  font-weight: 700;
}

.ba-contact-link small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Footer */
.ba-footer {
  color: rgba(255, 255, 255, 0.66);
  background: var(--ba-navy-950);
}

.ba-footer-main {
  padding: 5.5rem 0 4rem;
}

.ba-footer-brand {
  margin-bottom: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.ba-footer-brand strong {
  color: var(--ba-white);
}

.ba-footer-brand small {
  color: rgba(255, 255, 255, 0.54);
}

.ba-footer-summary {
  max-width: 400px;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
}

.ba-footer h2 {
  margin: 0.4rem 0 1.3rem;
  color: var(--ba-white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.ba-footer nav {
  display: grid;
  gap: 0.62rem;
}

.ba-footer nav a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ba-footer nav a:hover {
  color: var(--ba-gold-500);
  transform: translateX(3px);
}

.ba-footer-cta {
  padding: 0;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ba-gold-500);
  background: transparent;
  font-family: "Manrope", sans-serif;
  font-size: 0.77rem;
  font-weight: 800;
}

.ba-footer-contact {
  margin: 0;
  display: grid;
  gap: 0.9rem;
  font-style: normal;
}

.ba-footer-contact a {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
}

.ba-footer-contact a:hover {
  color: var(--ba-white);
}

.ba-footer-contact i {
  margin-top: 0.22rem;
  color: var(--ba-gold-500);
}

.ba-footer-contact span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow-wrap: anywhere;
  font-size: 0.77rem;
}

.ba-footer-contact small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ba-footer-bottom {
  min-height: 72px;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
}

.ba-footer-bottom p {
  margin: 0;
}

/* Consultation modal */
.ba-consultation-modal .modal-dialog {
  max-width: min(1120px, calc(100% - 2rem));
}

.ba-consultation-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 35px 100px rgba(6, 26, 43, 0.3);
}

.ba-modal-aside {
  position: relative;
  min-height: 665px;
  padding: 3rem 2.4rem;
  overflow: hidden;
  color: var(--ba-white);
  background:
    linear-gradient(rgba(22, 167, 212, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 167, 212, 0.09) 1px, transparent 1px),
    linear-gradient(145deg, var(--ba-navy-950), var(--ba-navy-800));
  background-size: 32px 32px, 32px 32px, auto;
}

.ba-modal-aside::after {
  position: absolute;
  right: -105px;
  bottom: -105px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(217, 170, 53, 0.35);
  border-radius: 50%;
  content: "";
}

.ba-modal-aside > .btn-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.ba-modal-kicker {
  color: var(--ba-gold-500);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ba-modal-aside h2 {
  margin: 1rem 0;
  color: var(--ba-white);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.02;
}

.ba-modal-aside > p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
}

.ba-modal-aside ul {
  margin: 2rem 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  list-style: none;
}

.ba-modal-aside li {
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.75rem;
  font-weight: 600;
}

.ba-modal-aside li i {
  color: var(--ba-blue-500);
}

.ba-modal-call {
  position: absolute;
  right: 2.4rem;
  bottom: 2.4rem;
  left: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ba-white);
}

.ba-modal-call:hover {
  color: var(--ba-gold-500);
}

.ba-modal-call > i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.09);
}

.ba-modal-call span {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  font-weight: 700;
}

.ba-modal-call small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.62rem;
  font-weight: 600;
}

.ba-modal-form-column {
  padding: 2.6rem 2.8rem;
  background: var(--ba-white);
}

.ba-modal-heading {
  margin-bottom: 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.ba-modal-heading span {
  color: var(--ba-blue-700);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ba-modal-heading h2 {
  margin: 0.2rem 0;
  color: var(--ba-navy-900);
  font-size: 2rem;
  font-weight: 800;
}

.ba-modal-heading p {
  margin: 0;
  color: var(--ba-muted);
  font-size: 0.72rem;
}

.ba-consultation-form .form-label {
  margin-bottom: 0.35rem;
  color: var(--ba-ink);
  font-size: 0.72rem;
  font-weight: 700;
}

.ba-consultation-form .form-control,
.ba-consultation-form .form-select {
  min-height: 48px;
  padding: 0.68rem 0.85rem;
  border: 1px solid #ced9df;
  border-radius: 7px;
  color: var(--ba-ink);
  background-color: #fbfcfd;
  font-family: "Manrope", sans-serif;
  font-size: 0.79rem;
  box-shadow: none;
}

.ba-consultation-form textarea.form-control {
  min-height: 108px;
  resize: vertical;
}

.ba-consultation-form .form-control:focus,
.ba-consultation-form .form-select:focus {
  border-color: var(--ba-blue-500);
  background: var(--ba-white);
  box-shadow: 0 0 0 0.2rem rgba(22, 167, 212, 0.12);
}

.ba-consultation-form .form-text {
  color: #7a8790;
  font-size: 0.64rem;
}

.ba-form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.ba-consultation-form button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.ba-form-footer {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--ba-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ba-form-footer p {
  margin: 0;
  color: var(--ba-muted);
  font-size: 0.68rem;
}

.ba-form-footer p i {
  color: var(--ba-blue-700);
}

.ba-form-whatsapp {
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #168744;
  font-size: 0.72rem;
  font-weight: 700;
}

.ba-toast-container {
  z-index: 10450 !important;
}

#formToast {
  color: var(--ba-white);
  background: var(--ba-navy-900);
}

/* Keep Bootstrap's transparent, hidden toast from covering the WhatsApp button. */
#formToast:not(.show):not(.showing) {
  pointer-events: none;
}

.ba-response-modal {
  border: 0;
  border-radius: 14px;
}

/* Floating controls */
.ba-whatsapp,
.ba-back-to-top {
  position: fixed;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--ba-white);
  box-shadow: 0 12px 28px rgba(6, 26, 43, 0.23);
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
}

.ba-whatsapp {
  right: 20px;
  z-index: 1040;
  display: flex;
  background: #22ad5c;
  font-size: 1.35rem;
  cursor: pointer;
  pointer-events: auto;
}

.ba-whatsapp:hover {
  color: var(--ba-white);
  transform: translateY(-3px);
}

.ba-back-to-top {
  left: 20px;
  z-index: 1019;
  display: flex;
  background: var(--ba-navy-900);
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.ba-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Reveal effects progressively enhanced by JavaScript */
.ba-js .ba-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.ba-js .ba-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive behavior */
@media (max-width: 1199.98px) {
  .ba-brand.navbar-brand {
    min-width: 220px;
  }

  .ba-brand strong {
    font-size: 1.25rem;
  }

  .ba-navbar .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    font-size: 0.75rem;
  }

  .ba-nav-cta {
    font-size: 0;
  }

  .ba-nav-cta i {
    font-size: 1rem;
  }

  .ba-discipline-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ba-discipline-item:nth-child(3) {
    border-right: 1px solid var(--ba-line);
  }

  .ba-discipline-item:nth-child(n+4) {
    border-top: 1px solid var(--ba-line);
  }
}

@media (max-width: 991.98px) {
  html {
    scroll-padding-top: 82px;
  }

  .ba-navbar.navbar {
    min-height: 72px;
  }

  .ba-brand.navbar-brand {
    min-width: 0;
  }

  .ba-brand.navbar-brand img {
    width: 48px;
    height: 48px !important;
  }

  .ba-navbar .navbar-collapse {
    max-height: calc(100vh - 84px);
    margin-top: 0.55rem;
    padding: 0.8rem;
    overflow-y: auto;
    border-top: 1px solid var(--ba-line);
    background: var(--ba-white);
  }

  .ba-navbar .navbar-nav {
    align-items: stretch !important;
  }

  .ba-navbar .navbar-nav .nav-link {
    padding: 0.78rem 0.4rem;
    font-size: 0.84rem;
  }

  .ba-navbar .navbar-nav .nav-link::after {
    display: none;
  }

  .ba-dropdown-menu {
    min-width: 0;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none;
  }

  .ba-nav-cta {
    width: 100%;
    margin: 0.7rem 0 0;
    font-size: 0.78rem;
  }

  .ba-nav-cta i {
    font-size: inherit;
  }

  .ba-capability-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .ba-capability-list span:nth-child(-n+2) {
    border-bottom: 1px solid var(--ba-line);
  }

  .ba-section {
    padding: 5rem 0;
  }

  .ba-sticky-heading {
    position: static;
  }

  .ba-modal-aside {
    min-height: 0;
    padding: 2.5rem 2rem;
  }

  .ba-modal-aside ul,
.ba-modal-call {
    display: none;
  }

  .ba-modal-form-column {
    padding: 2.2rem 2rem;
  }
}

@media (max-width: 767.98px) {
  .ba-brand strong {
    font-size: 1.1rem;
  }

  .ba-brand small {
    font-size: 0.52rem;
  }

  .ba-capability-list {
    grid-template-columns: 1fr;
  }

  .ba-capability-list span,
.ba-capability-list span:first-child {
    min-height: 58px;
    border-right: 1px solid var(--ba-line);
    border-bottom: 1px solid var(--ba-line);
    border-left: 1px solid var(--ba-line);
    justify-content: flex-start;
  }

  .ba-capability-list span:last-child {
    border-bottom: 0;
  }

  .ba-section {
    padding: 4.3rem 0;
  }

  .ba-section-heading h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .ba-blueprint-card {
    min-height: 400px;
    padding: 2rem;
  }

  .ba-discipline-grid {
    grid-template-columns: 1fr;
  }

  .ba-discipline-item,
.ba-discipline-item:first-child,
.ba-discipline-item:nth-child(n+4) {
    min-height: 0;
    border-top: 0;
    border-right: 1px solid var(--ba-line);
    border-bottom: 1px solid var(--ba-line);
    border-left: 1px solid var(--ba-line);
  }

  .ba-discipline-item:last-child {
    border-bottom: 0;
  }

  .ba-discipline-item > i {
    margin-bottom: 1.5rem;
  }

  .ba-reason-grid {
    grid-template-columns: 1fr;
  }

  .ba-contact-cta {
    padding: 4.5rem 0;
  }

  .ba-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .ba-consultation-modal .modal-dialog {
    max-width: 100%;
    margin: 0;
  }

  .ba-consultation-modal .modal-content {
    border-radius: 0;
  }

  .ba-modal-aside {
    padding: 2.5rem 1.4rem 1.7rem;
  }

  .ba-modal-aside h2 {
    max-width: 430px;
    font-size: 2rem;
  }

  .ba-modal-form-column {
    padding: 1.6rem 1.25rem 2rem;
  }

  .ba-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .ba-form-footer .ba-btn {
    width: 100%;
  }
}

@media (max-width: 479.98px) {
  .ba-brand.navbar-brand img {
    width: 43px;
    height: 43px !important;
  }

  .ba-brand strong {
    font-size: 0.98rem;
  }

  .ba-brand small {
    max-width: 170px;
    font-size: 0.45rem;
  }

  .ba-eyebrow {
    font-size: 0.61rem;
    letter-spacing: 0.11em;
  }

  .ba-contact-actions {
    padding: 1rem;
  }

  .ba-whatsapp,
.ba-back-to-top {
    bottom: 14px;
    width: 44px;
    height: 44px;
  }

  .ba-whatsapp {
    right: 14px;
  }

  .ba-back-to-top {
    left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ba-page *,
.ba-page *::before,
.ba-page *::after,
.ba-site-header *,
.ba-footer *,
.ba-consultation-modal * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .ba-js .ba-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==============================================================
   BornAugust fixed-header hero carousel
   Pure CSS opacity cross-fade; behavior is handled in bornaugust.js.
   ============================================================== */
:root {
  --ba-fixed-header-height: 115px;
  --ba-carousel-fade-duration: 900ms;
}

#header {
  height: var(--ba-fixed-header-height);
  min-height: var(--ba-fixed-header-height);
}

.ba-site-header {
  position: fixed !important;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
}

.ba-hero-carousel {
  position: relative;
  min-height: 650px;
  height: min(780px, calc(100svh - var(--ba-fixed-header-height)));
  overflow: hidden;
  color: var(--ba-white);
  background: #050b10;
  isolation: isolate;
}

.ba-hero-slides,
.ba-hero-slide {
  position: absolute;
  inset: 0;
}

.ba-hero-slide {
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #050b10;
  transition:
    opacity var(--ba-carousel-fade-duration) ease,
    visibility 0s linear var(--ba-carousel-fade-duration);
}

.ba-hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity var(--ba-carousel-fade-duration) ease,
    visibility 0s linear 0s;
}

.ba-hero-slide-structural {
  --ba-carousel-image: url("../img/bg/11.jpeg");
  --ba-carousel-focus: center center;
}

.ba-hero-slide-civil {
  --ba-carousel-image: url("../img/civil-imgs/indust.jpeg");
  --ba-carousel-focus: 58% center;
}

.ba-hero-slide-architecture {
  --ba-carousel-image: url("../img/bg/1.png");
  --ba-carousel-focus: center center;
}

.ba-hero-slide-execution {
  --ba-carousel-image: url("../img/slide3.jpeg");
  --ba-carousel-focus: 55% center;
}

.ba-hero-slide::before {
  position: absolute;
  inset: -3%;
  z-index: 0;
  content: "";
  background-image: var(--ba-carousel-image);
  background-repeat: no-repeat;
  background-position: var(--ba-carousel-focus, center center);
  background-size: cover;
  transform: scale(1.02);
  transform-origin: center;
  transition: transform 1.2s ease-in;
  will-change: transform;
  backface-visibility: hidden;
}

.ba-hero-slide.is-active::before {
  animation: ba-carousel-image-zoom 7s ease-out forwards;
}

.ba-hero-carousel:hover .ba-hero-slide.is-active::before,
.ba-hero-carousel:focus-within .ba-hero-slide.is-active::before {
  animation-play-state: paused;
}

.ba-hero-slide::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.58) 0%,
      rgba(0, 0, 0, 0.38) 58%,
      rgba(0, 0, 0, 0.42) 100%
    ),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 70px 70px, 70px 70px;
  pointer-events: none;
}

.ba-hero-slide > .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.ba-carousel-content {
  width: 100%;
  max-width: 930px;
  padding: 2rem 5.4rem 4.5rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.ba-carousel-eyebrow {
  margin-bottom: 1.25rem;
  padding: 0.48rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-left: 3px solid var(--ba-gold-500);
  border-radius: 4px;
  display: inline-flex;
  color: var(--ba-white);
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
}

.ba-carousel-content h1,
.ba-carousel-content h2 {
  max-width: 920px;
  margin: 0 0 1.35rem;
  color: var(--ba-white);
  font-size: clamp(3.1rem, 6.2vw, 5.6rem);
  font-weight: 800;
  line-height: 0.98;
  text-wrap: balance;
}

.ba-carousel-content p {
  max-width: 790px;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.87);
  font-size: clamp(0.96rem, 1.5vw, 1.1rem);
  line-height: 1.75;
  text-wrap: pretty;
}

.ba-carousel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.ba-carousel-actions .ba-btn-ghost {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 0, 0.18);
}

.ba-carousel-actions .ba-btn-ghost:hover,
.ba-carousel-actions .ba-btn-ghost:focus-visible {
  color: var(--ba-navy-950);
  border-color: var(--ba-white);
  background: var(--ba-white);
}

.ba-carousel-ui {
  position: absolute;
  inset: 0;
  left: 50%;
  z-index: 4;
  width: 100%;
  max-width: 1320px;
  pointer-events: none;
  transform: translateX(-50%);
}

.ba-carousel-arrow {
  position: absolute;
  top: 50%;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ba-white);
  background: rgba(0, 0, 0, 0.24);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  transform: translateY(-50%);
  backdrop-filter: blur(7px);
  transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.ba-carousel-arrow:hover,
.ba-carousel-arrow:focus-visible {
  color: var(--ba-navy-950);
  border-color: var(--ba-gold-500);
  background: var(--ba-gold-500);
  transform: translateY(-50%) scale(1.05);
}

.ba-carousel-prev {
  left: 12px;
}

.ba-carousel-next {
  right: 12px;
}

.ba-carousel-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  min-height: 30px;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: auto;
  transform: translateX(-50%);
  backdrop-filter: blur(7px);
}

.ba-carousel-dots button {
  width: 12px;
  height: 16px;
  padding: 0;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: width 0.25s ease;
}

.ba-carousel-dots button span {
  width: 7px;
  height: 7px;
  border-radius: 50px;
  display: block;
  background: rgba(255, 255, 255, 0.52);
  transition: width 0.25s ease, background-color 0.25s ease;
}

.ba-carousel-dots button.is-active {
  width: 31px;
}

.ba-carousel-dots button.is-active span {
  width: 27px;
  background: var(--ba-gold-500);
}

.ba-carousel-dots button:hover span,
.ba-carousel-dots button:focus-visible span {
  background: var(--ba-white);
}

@media (max-width: 991.98px) {
  :root {
    --ba-fixed-header-height: 72px;
  }

  .ba-hero-carousel {
    min-height: 620px;
    height: calc(100svh - var(--ba-fixed-header-height));
    max-height: 760px;
  }

  .ba-carousel-content {
    max-width: 820px;
    padding: 2rem 4.5rem 4.3rem;
  }

  .ba-carousel-content h1,
.ba-carousel-content h2 {
    font-size: clamp(3rem, 9vw, 4.8rem);
  }

  .ba-carousel-prev {
    left: 8px;
  }

  .ba-carousel-next {
    right: 8px;
  }
}

@media (max-width: 767.98px) {
  .ba-hero-carousel {
    min-height: 650px;
    height: calc(100svh - var(--ba-fixed-header-height));
    max-height: 780px;
  }

  .ba-hero-slide::before {
    background-position: var(--ba-carousel-focus-mobile, var(--ba-carousel-focus, 62% center));
  }

  .ba-hero-slide::after {
    background-size: 54px 54px;
  }

  .ba-carousel-content {
    padding: 2rem 0 6.2rem;
  }

  .ba-carousel-content h1,
.ba-carousel-content h2 {
    max-width: 620px;
    font-size: clamp(2.65rem, 12.5vw, 4rem);
    line-height: 1;
  }

  .ba-carousel-content p {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .ba-carousel-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ba-carousel-actions .ba-btn {
    width: 100%;
  }

  .ba-carousel-arrow {
    top: auto;
    bottom: 23px;
    width: 42px;
    height: 42px;
    transform: none;
  }

  .ba-carousel-arrow:hover,
.ba-carousel-arrow:focus-visible {
    transform: scale(1.04);
  }

  .ba-carousel-prev {
    left: 15px;
  }

  .ba-carousel-next {
    right: 15px;
  }

  .ba-carousel-dots {
    bottom: 29px;
  }
}

@media (max-width: 479.98px) {
  .ba-hero-carousel {
    min-height: 665px;
  }

  .ba-carousel-eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }

  .ba-carousel-content h1,
.ba-carousel-content h2 {
    font-size: clamp(2.45rem, 12vw, 3.45rem);
  }

  .ba-carousel-content p {
    font-size: 0.86rem;
  }

  .ba-carousel-arrow {
    width: 39px;
    height: 39px;
  }

  .ba-carousel-prev {
    left: 10px;
  }

  .ba-carousel-next {
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ba-hero-slide,
.ba-hero-slide.is-active {
    transition: none;
  }

  .ba-hero-slide::before,
.ba-hero-slide.is-active::before {
    transform: scale(1.02);
    transition: none;
    animation: none;
  }
}

/* Spin Animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes ba-carousel-image-zoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.11); }
}
