/* ============================================================
   Brainovy Business Solutions - Consolidated Fixes & Overrides
   Loaded AFTER main.css to override template defaults.
   ============================================================ */

/* ----- Root overflow prevention (root cause fixes below) ----- */
html, body { max-width: 100%; }
.page-wrapper { overflow-x: clip; }
img, video, iframe, svg { max-width: 100%; height: auto; }

/* ----- Container widths on very small screens ----- */
@media (max-width: 575px) {
  .container, .container-fluid { padding-left: 15px; padding-right: 15px; }
  .row { margin-left: -10px; margin-right: -10px; }
  .row > [class^="col-"] { padding-left: 10px; padding-right: 10px; }
}

/* ----- Header top bar cleanup on mobile ----- */
@media (max-width: 767px) {
  .header-top { padding: 6px 0; font-size: 12px; }
  .header-top .info-list li { display: none; }
  .header-top .info-list li:first-child { display: inline-flex; }
  .header-top .social-box li { margin: 0 4px; }
  .header-top .info-list li a { font-size: 12px; }
  .header-lower .logo img { max-height: 44px !important; }
}

@media (max-width: 480px) {
  .header-top .info-list li:first-child a { max-width: 180px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ----- Hero slider responsive typography ----- */
.main-slider .slide h1 { line-height: 1.15; word-wrap: break-word; }
@media (max-width: 991px) {
  .main-slider .slide h1 { font-size: 44px; }
}
@media (max-width: 767px) {
  .main-slider .slide { min-height: 460px; padding: 80px 0; }
  .main-slider .slide h1 { font-size: 30px; line-height: 1.2; }
  .main-slider .slide .text { font-size: 15px; }
  .main-slider .slide .btn-box { flex-wrap: wrap; gap: 10px; }
  .main-slider .slide .btn-box .btn { display: inline-block; }
}
@media (max-width: 380px) {
  .main-slider .slide h1 { font-size: 24px; }
}

/* ----- Clients marquee: contain within viewport ----- */
.clients-marquee-wrapper { max-width: 100%; overflow: hidden; }
.clients-marquee { will-change: transform; }
@media (max-width: 767px) {
  .client-logo-box { min-width: 140px !important; height: 80px !important; padding: 10px !important; }
  .client-logo-box img { max-height: 50px !important; }
}

/* ----- Owl carousel + Slick fixes ----- */
/* Only cap the outer wrappers; DO NOT cap .owl-stage - it must be wider
   than viewport for slides to line up correctly. */
.owl-carousel, .owl-stage-outer { max-width: 100%; }
.owl-stage-outer { overflow: hidden; }
.owl-carousel .owl-item { box-sizing: border-box; }

/* ----- Page header (breadcrumb) white style, shared ----- */
.page_header { background: #ffffff !important; background-image: none !important; padding: 60px 0 40px; }
.page_header::before { content: none !important; display: none !important; }
.page_header .page_header_content { position: relative; z-index: 2; }
.page_header .heading,
.page_header .breadcrumb li,
.page_header .breadcrumb li a { color: #0a1432 !important; }
.page_header .breadcrumb li.active { color: #e63946 !important; }

/* ----- Footer upper box gradient (Brainovy palette) ----- */
.upper-box .info-column .inner-column {
  background: linear-gradient(135deg, #0a1432 0%, #1a2a5e 100%) !important;
}
.upper-box .info-column .inner-column .pattern-layer { display: none !important; }
@media (max-width: 767px) {
  .upper-box .info-column .inner-column { padding: 20px !important; }
  .upper-box .info-column .inner-column h3 { font-size: 18px; margin-bottom: 15px; }
}

/* ----- Service card style (used across pages) ----- */
.service-block-style-two .inner-box {
  background-image: none !important;
  background: #f8f9fa !important;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  height: 100%;
  transition: all 0.3s ease;
}
.service-block-style-two .inner-box:hover { background: #0a1432 !important; }
.service-block-style-two .inner-box .hidden-image { display: none !important; }
.service-block-style-two .inner-box .icon img { width: 64px; height: 64px; }

/* ============================================================
   Team cards - Meet Our Team
   Full image on top, name/role below (no overlay).
   ============================================================ */
.team-style-one { display: flex; }
.team-style-one .teambox {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(10, 20, 50, 0.08);
}
.team-style-one .teambox > img,
.teambox > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: center top;
  background: #ffffff;
}
/* Kill the absolute-positioned overlay wrapper */
.team-style-one .teambox .teambox-inner {
  position: static;
  inset: auto;
  width: 100%;
  margin: 0;
  transform: none;
  background: #ffffff;
}
.team-style-one .teambox:hover .teambox-inner {
  transform: none;
  background: #ffffff;
}
/* Text block below the image */
.team-style-one .teambox .teambox-intro,
.team-style-one .teambox:hover .teambox-intro {
  width: 100%;
  min-height: 105px;
  margin: 0;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
  transform: none;
  text-align: center;
}
.team-style-one .teambox .teambox-intro h5,
.team-style-one .teambox .teambox-intro p {
  color: #0a1432;
  margin: 0;
}
.team-style-one .teambox .teambox-intro h5 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.team-style-one .teambox .teambox-intro p { color: #e63946; font-size: 13px; }
/* Social row lives above the text, on top-right of the image */
.team-style-one .teambox .team-social {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}
.team-style-one .teambox { position: relative; }
.team-style-one .teambox .team-social ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 6px; }
.team-style-one .teambox .team-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9); color: #0a1432;
}
.team-style-one .teambox .team-social a:hover { background: #e63946; color: #fff; }
/* Kill any leftover background overlay on hover */
.team-style-one .teambox::before,
.team-style-one .teambox::after { display: none !important; }
/* Old rules removed - no fixed pixel height needed */

/* ----- Buttons: consistent style ----- */
.btn, .btn-submit {
  border-radius: 6px;
  padding: 12px 28px;
  font-weight: 600;
  transition: all 0.25s ease;
}
.btn:focus-visible, .btn-submit:focus-visible,
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 3px solid #e63946;
  outline-offset: 2px;
}

/* ----- Preloader safety: force-hide fallback ----- */
#preloader { transition: opacity 0.4s ease; }
.preloader-loaded #preloader { opacity: 0; pointer-events: none; visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  #preloader { display: none !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important; }
  .clients-marquee { animation: none !important; }
}

/* ----- Modal (service detail popup) ----- */
.brainovy-modal { display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(10, 20, 50, 0.85); align-items: center; justify-content: center;
  padding: 20px; overflow-y: auto; }
.brainovy-modal.is-open { display: flex; }
.brainovy-modal__dialog { background: #fff; border-radius: 10px; max-width: 640px;
  width: 100%; padding: 30px; position: relative; max-height: 90vh; overflow-y: auto; }
.brainovy-modal__close { position: absolute; top: 12px; right: 16px; background: none;
  border: 0; font-size: 28px; line-height: 1; color: #0a1432; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%; }
.brainovy-modal__close:hover { background: #f8f9fa; }
.brainovy-modal__title { color: #0a1432; margin-bottom: 15px; font-size: 24px; }
.brainovy-modal__body { color: #444; line-height: 1.7; }
.brainovy-modal__body ul { padding-left: 20px; margin: 15px 0; }
.brainovy-modal__body ul li { margin-bottom: 8px; }
.brainovy-modal__cta { display: inline-block; margin-top: 20px; background: #e63946;
  color: #fff !important; padding: 12px 24px; border-radius: 6px; text-decoration: none;
  font-weight: 600; }
.brainovy-modal__cta:hover { background: #c92c39; }
body.modal-open { overflow: hidden; }

/* ----- Alert boxes (form messages) ----- */
.brainovy-alert { padding: 14px 18px; border-radius: 6px; margin: 15px 0;
  font-size: 14px; display: none; }
.brainovy-alert.is-shown { display: block; }
.brainovy-alert--success { background: #e6f7ea; color: #1e6b3a; border: 1px solid #b7e2c1; }
.brainovy-alert--error { background: #fdecec; color: #a12a2a; border: 1px solid #f2c1c1; }
.brainovy-alert--info { background: #eef2ff; color: #2a3ea1; border: 1px solid #c1cff2; }

/* ----- Honeypot hidden field ----- */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px;
  opacity: 0; pointer-events: none; }

/* ----- Screen-reader only ----- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ----- Skip link ----- */
.skip-to-main { position: absolute; top: -40px; left: 0; background: #e63946;
  color: #fff; padding: 8px 16px; z-index: 10000; text-decoration: none; }
.skip-to-main:focus { top: 0; }

/* ----- Mobile menu Brainovy logo override ----- */
.ma5menu__logo,
.business .ma5menu__logo,
.insurance .ma5menu__logo,
.investment .ma5menu__logo {
  background-image: url('../images/logo-brainovy.jpg') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center left !important;
  width: 130px !important;
  height: 40px !important;
}

/* ----- Hide broken pattern layers globally ----- */
.pattern-layer { display: none !important; }

/* ----- Prevent columns/rows from overflowing ----- */
[class^="col-"], [class*=" col-"] { min-width: 0; }

/* ----- Service card action row ----- */
.brainovy-svc-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-top: 15px; }
.brainovy-svc-request { display: inline-block; background: #e63946; color: #fff !important;
  padding: 8px 16px; border-radius: 6px; text-decoration: none; font-size: 13px;
  font-weight: 600; transition: background 0.2s ease; }
.brainovy-svc-request:hover { background: #c92c39; }
.service-block-style-two .inner-box:hover .brainovy-svc-actions .read-more { color: #fff !important; }
.service-block-style-two .inner-box:hover .brainovy-svc-actions .brainovy-svc-request { background: #fff; color: #0a1432 !important; }

/* ----- Modal accessibility polish ----- */
.brainovy-modal__dialog:focus { outline: none; }

/* ----- Header quick-menu icon (in the slot next to old search) ----- */
.brainovy-quick-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #f8f9fa;
  color: #0a1432 !important;
  margin-right: 14px;
  text-decoration: none;
  border: 1px solid #e9ecef;
  transition: all 0.25s ease;
}
.brainovy-quick-menu i { font-size: 18px; line-height: 1; }
.brainovy-quick-menu:hover {
  background: #0a1432;
  color: #ffffff !important;
  border-color: #0a1432;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 20, 50, 0.2);
}
.brainovy-quick-menu:focus-visible {
  outline: 3px solid #e63946; outline-offset: 2px;
}

/* ----- Service card hover: title turns white ----- */
.service-block-style-two .inner-box h5,
.service-block-style-two .inner-box h5 a { color: #0a1432; transition: color 0.25s ease; }
.service-block-style-two .inner-box .text { color: #444; transition: color 0.25s ease; }
.service-block-style-two .inner-box:hover h5,
.service-block-style-two .inner-box:hover h5 a,
.service-block-style-two .inner-box:hover .text { color: #ffffff !important; }

/* ----- Home services CTA card text ----- */
.business-section-three .service-block-style-two.all-services-link .inner-box h5 {
  color: #000000 !important;
  transition: color 0.25s ease;
}
.business-section-three .service-block-style-two.all-services-link .inner-box:hover h5 {
  color: #ffffff !important;
}

/* ----- Industries: meaningful Bootstrap icons ----- */
.business-section-two .options li .icon i {
  color: #e63946;
  font-size: 25px;
  line-height: 55px;
}
/* Also swap icon color if there are two variants */
.service-block-style-two .inner-box .icon .hidden_image { display: none; }
.service-block-style-two .inner-box:hover .icon .open_image { display: none; }
.service-block-style-two .inner-box:hover .icon .hidden_image { display: inline-block; }

/* Home about block: make both the phone number and its prompt tappable. */
.author-block .brainovy-call-link {
  color: inherit;
  text-decoration: none;
}
.author-block .brainovy-call-link:hover,
.author-block .brainovy-call-link:focus {
  color: #e63946;
}

/* Company address links open the verified Google Maps location. */
.brainovy-location-link {
  color: inherit;
  text-decoration: none;
}
.brainovy-location-link:hover,
.brainovy-location-link:focus {
  color: #e63946;
}

/* Service cards: keep the full supporting copy readable on tablets and phones. */
@media (max-width: 1199px) {
  .service-block-style-two .inner-box {
    min-height: 0;
    height: 100%;
  }
  .service-block-style-two .text {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    line-height: 1.65;
  }
}

@media (max-width: 767px) {
  .service-block-style-two {
    padding: 8px 0;
  }
  .service-block-style-two .inner-box {
    padding: 30px 24px;
  }
  .service-block-style-two .icon {
    margin-bottom: 18px;
  }
  .service-block-style-two h5 {
    line-height: 1.35;
  }
  .service-block-style-two .text {
    margin-top: 12px;
    font-size: 16px;
  }

  /* Home: keep the transformation CTA title clear of its button. */
  .call-to-action {
    padding: 48px 0;
    text-align: center;
  }
  .call-to-action h1 {
    font-size: 28px;
    line-height: 1.3;
    margin: 0 0 26px;
  }
  .call-to-action .btn {
    margin-top: 0;
  }

  /* Home: scale the clients heading for narrow screens. */
  .home-clients-section .sec-title h1 {
    font-size: 30px;
    line-height: 1.2;
  }
}

@media (max-width: 480px) {
  .call-to-action h1 {
    font-size: 24px;
  }
  .home-clients-section .sec-title h1 {
    font-size: 26px;
  }
}

/* ============================================================
   Team page - Our Team enrichment
   ============================================================ */
.team-intro-section { padding: 80px 0 40px; background: #ffffff; }
.team-intro-section .sec-title .title { color: #e63946; letter-spacing: 2px;
  font-weight: 700; margin-bottom: 12px; text-transform: uppercase; font-size: 13px; }
.team-intro-section h2 { color: #0a1432; font-size: 32px; line-height: 1.25;
  margin-bottom: 24px; font-weight: 700; }
.team-intro-section p { color: #444; line-height: 1.7; margin-bottom: 16px; }
.team-intro-section strong { color: #0a1432; }

.team-values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 20px; }
.team-value-card { background: linear-gradient(135deg, #0a1432 0%, #1a2a5e 100%);
  color: #ffffff; padding: 24px 20px; border-radius: 10px; text-align: center;
  box-shadow: 0 6px 22px rgba(10, 20, 50, 0.15); }
.team-value-num { font-size: 42px; font-weight: 800; color: #ffffff;
  line-height: 1; margin-bottom: 8px; }
.team-value-label { font-size: 13px; color: rgba(255, 255, 255, 0.85);
  line-height: 1.45; }

/* Section: meet the founders section title override */
.team-section .sec-title { padding-bottom: 30px; }
.team-section .sec-title .title { color: #e63946; font-weight: 700;
  letter-spacing: 2px; font-size: 13px; text-transform: uppercase; }
.team-section .sec-title h2 { color: #0a1432; font-size: 30px; font-weight: 700;
  margin: 10px 0 12px; }
.team-section .sec-title .separator { width: 60px; height: 3px; background: #e63946;
  margin: 12px auto; }

/* Detailed bios */
.team-bios-section { padding: 60px 0 40px; background: #f8f9fa; }
.team-bio { background: #ffffff; padding: 32px; border-radius: 12px;
  margin-bottom: 30px; box-shadow: 0 4px 20px rgba(10, 20, 50, 0.06); }
.team-bio-photo img { width: 100%; height: auto; aspect-ratio: 5 / 6;
  object-fit: cover; object-position: center top; border-radius: 10px;
  background: #ffffff; }
.team-bio-content { padding: 0 10px; }
.team-bio-eyebrow { color: #e63946; font-weight: 600; font-size: 13px;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.team-bio-content h3 { color: #0a1432; font-size: 26px; font-weight: 700;
  margin-bottom: 16px; }
.team-bio-content p { color: #444; line-height: 1.75; margin-bottom: 14px; }
.team-bio-focus { margin-top: 20px; border-top: 1px solid #eef1f5;
  padding-top: 18px; }
.team-bio-focus h6 { color: #0a1432; font-weight: 700; font-size: 13px;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.team-bio-focus ul { list-style: none; padding: 0; margin: 0; }
.team-bio-focus li { position: relative; padding-left: 22px; margin-bottom: 8px;
  color: #444; line-height: 1.55; }
.team-bio-focus li::before { content: ''; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; background: #e63946; border-radius: 50%; }

/* How We Work principles */
.team-principles-section { padding: 70px 0; background: #ffffff; }
.team-principles-section .sec-title .title { color: #e63946; letter-spacing: 2px;
  font-weight: 700; font-size: 13px; text-transform: uppercase; }
.team-principles-section .sec-title h2 { color: #0a1432; font-size: 30px;
  font-weight: 700; margin: 10px 0 12px; }
.team-principles-section .sec-title .separator { width: 60px; height: 3px;
  background: #e63946; margin: 12px auto 40px; }
.team-principle { background: #f8f9fa; padding: 30px 26px; border-radius: 10px;
  margin-bottom: 24px; border-left: 4px solid #e63946; height: calc(100% - 24px);
  transition: transform 0.25s ease, box-shadow 0.25s ease; }
.team-principle:hover { transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10, 20, 50, 0.1); }
.team-principle-num { color: #e63946; font-size: 22px; font-weight: 800;
  margin-bottom: 10px; letter-spacing: 1px; }
.team-principle h4 { color: #0a1432; font-size: 18px; font-weight: 700;
  margin-bottom: 12px; line-height: 1.35; }
.team-principle p { color: #555; line-height: 1.65; margin: 0; font-size: 14.5px; }

/* Partner CTA */
.team-cta-section { padding: 40px 0 80px; background: #ffffff; }
.team-cta { background: linear-gradient(135deg, #0a1432 0%, #1a2a5e 100%);
  color: #ffffff; padding: 40px; border-radius: 14px;
  box-shadow: 0 10px 30px rgba(10, 20, 50, 0.2); }
.team-cta h2 { color: #ffffff; font-size: 26px; font-weight: 700;
  line-height: 1.3; margin-bottom: 12px; }
.team-cta p { color: rgba(255, 255, 255, 0.85); margin: 0; line-height: 1.6; }
.team-cta-btn { display: inline-block; background: #e63946; color: #ffffff !important;
  padding: 14px 30px; border-radius: 8px; text-decoration: none; font-weight: 700;
  transition: background 0.2s ease; }
.team-cta-btn:hover { background: #ffffff; color: #0a1432 !important; }

/* Responsive polish */
@media (max-width: 991px) {
  .team-intro-section { padding: 60px 0 30px; }
  .team-intro-section h2 { font-size: 26px; }
  .team-values-grid { margin-top: 30px; }
  .team-bio { padding: 24px; }
  .team-bio-photo { margin-bottom: 20px; max-width: 320px; }
  .team-bio-content { padding: 0; }
  .team-bio-content h3 { font-size: 22px; }
  .team-cta { padding: 30px 24px; text-align: center; }
  .team-cta-btn { margin-top: 20px; }
  .team-cta .text-lg-end { text-align: center !important; }
}
@media (max-width: 480px) {
  .team-values-grid { grid-template-columns: 1fr; }
  .team-intro-section h2 { font-size: 22px; }
  .team-section .sec-title h2,
  .team-principles-section .sec-title h2 { font-size: 24px; }
  .team-bio { padding: 20px; }
  .team-cta h2 { font-size: 20px; }
}

/* ============================================================
   About page - Brainovy Pillars section
   ============================================================ */
.brainovy-pillars-section { padding: 70px 0; background: #ffffff; }
.brainovy-pillars-section .sec-title { padding-bottom: 40px; }
.brainovy-pillars-section .sec-title .title {
  color: #e63946; letter-spacing: 2px; font-weight: 700;
  font-size: 13px; text-transform: uppercase;
}
.brainovy-pillars-section .sec-title h2 {
  color: #0a1432; font-size: 30px; font-weight: 700; margin: 10px 0 12px;
}
.brainovy-pillars-section .sec-title .separator {
  width: 60px; height: 3px; background: #e63946; margin: 12px auto;
}
.brainovy-pillar {
  padding: 40px 0; border-bottom: 1px solid #eef1f5;
}
.brainovy-pillar:last-child { border-bottom: 0; }
.brainovy-pillar-image img {
  width: 100%; height: auto; border-radius: 12px; display: block;
  box-shadow: 0 8px 26px rgba(10, 20, 50, 0.12);
}
.brainovy-pillar--alt .brainovy-pillar-content { padding-right: 24px; }
.brainovy-pillar:not(.brainovy-pillar--alt) .brainovy-pillar-content { padding-left: 24px; }
.brainovy-pillar-tag {
  color: #e63946; font-weight: 700; font-size: 13px; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 12px;
}
.brainovy-pillar-content h3 {
  color: #0a1432; font-size: 26px; font-weight: 700;
  margin-bottom: 16px; line-height: 1.3;
}
.brainovy-pillar-content p {
  color: #444; line-height: 1.75; margin: 0; font-size: 15.5px;
}

/* About page: keep the team heading inside its own white section after video removal */
.about-team-section {
  position: relative;
  z-index: 1;
  background: #ffffff;
  padding-top: 160px !important;
}

/* About page: tighten the statement section after removing its video */
.about-impact-statement {
  padding-top: 12px !important;
}
.about-impact-statement .separator {
  margin-top: 0;
  height: 40px;
  margin-bottom: 12px;
}
@media (max-width: 991px) {
  .brainovy-pillars-section { padding: 50px 0; }
  .brainovy-pillar { padding: 30px 0; }
  .brainovy-pillar-image { margin-bottom: 20px; }
  .brainovy-pillar--alt .brainovy-pillar-content,
  .brainovy-pillar:not(.brainovy-pillar--alt) .brainovy-pillar-content {
    padding-left: 0; padding-right: 0;
  }
  .brainovy-pillar-content h3 { font-size: 22px; }
  .about-team-section { padding-top: 110px !important; }
}
@media (max-width: 480px) {
  .brainovy-pillars-section .sec-title h2 { font-size: 24px; }
  .brainovy-pillar-content h3 { font-size: 20px; }
}

/* ----- "Our Services" heading on index (dark background section) : white ----- */
.business-section-three .sec-title .title,
.business-section-three .sec-title h1,
.business-section-three .sec-title h2,
.business-section-three .sec-title p {
  color: #ffffff !important;
}
.business-section-three .sec-title .title { color: #e63946 !important; }
/* Kill background pattern image on business-section-three since bg/19.jpg was replaced */
.business-section-three { background: linear-gradient(135deg, #0a1432 0%, #1a2a5e 100%); }
.business-section-three .image-layer { display: none !important; }

/* ----- Contact page form fields ----- */
#brainovy-contact-form .form-control {
  background: #ffffff !important;
  color: #0a1432 !important;
  border: 1px solid #d8deea !important;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(10, 20, 50, 0.05);
}
#brainovy-contact-form .form-control::placeholder {
  color: #6b7280;
  opacity: 1;
}
#brainovy-contact-form select.form-control {
  color: #0a1432 !important;
}
#brainovy-contact-form .form-control:focus {
  background: #ffffff !important;
  border-color: #e63946 !important;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.14) !important;
  outline: 0;
}
#brainovy-contact-form .btn-submit {
  background: #e63946;
  color: #ffffff;
  border: 1px solid #e63946;
}
#brainovy-contact-form .btn-submit:hover,
#brainovy-contact-form .btn-submit:focus {
  background: #0a1432;
  border-color: #0a1432;
  color: #ffffff;
}

/* English date picker on the contact page */
#bnvy-date[readonly] {
  cursor: pointer;
  background-color: #ffffff !important;
}
.ui-datepicker {
  z-index: 10000 !important;
  border: 1px solid #d8deea !important;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 12px 30px rgba(10, 20, 50, 0.18);
}
.ui-datepicker .ui-datepicker-header {
  background: #0a1432;
  color: #ffffff;
  border: 0;
  border-radius: 7px;
}
.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
  background: none !important;
  text-indent: 0;
  color: transparent;
  font-size: 0;
}
.ui-datepicker .ui-datepicker-prev span::after,
.ui-datepicker .ui-datepicker-next span::after {
  color: #ffffff;
  font-size: 22px;
  line-height: 16px;
}
.ui-datepicker .ui-datepicker-prev span::after { content: '\2039'; }
.ui-datepicker .ui-datepicker-next span::after { content: '\203A'; }
.ui-datepicker td a.ui-state-default {
  text-align: center;
  border-radius: 5px;
}
.ui-datepicker td a.ui-state-hover,
.ui-datepicker td a.ui-state-active {
  background: #e63946;
  color: #ffffff;
  border-color: #e63946;
}
