/* ==========================================================================
   BVCampus — site improvements (loaded after style.css)
   ========================================================================== */

/* ---------- Mobile header ---------- */
.bv-mobile-bar { min-height: 52px; }
/* Header: frosted white, 80% opaque, blurred content underneath */
.navbar.bv-navbar, .navbar.bv-navbar[data-sticky="top"].scrolled.navbar-light { background: rgba(255, 255, 255, .8) !important; -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 4px 16px rgba(0, 0, 0, .04); }
.bv-navbar .navbar-nav .nav-link { color: #1f2a44; }
.bv-navbar .navbar-nav .nav-link:hover, .bv-navbar .navbar-nav .current-menu-item > .nav-link { color: #cd0a71; }
.bv-navbar .bv-toggler svg path { fill: #1f2a44; }
.bv-brand { display: inline-flex; align-items: center; color: #1a1a1a; text-decoration: none; }
.bv-brand:hover { color: #1a1a1a; text-decoration: none; }
.bv-brand img { width: auto; height: 30px; margin-right: 8px; }
.bv-brand img.bv-brand__text { height: 18px; margin-right: 0; }
.bv-mobile-cta { padding: .35rem .8rem; font-size: .85rem; margin-right: .5rem; }
.bv-toggler { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; }
.bv-toggler .navbar-toggler-close { top: 50%; left: 50%; margin: -14px 0 0 -14px; } /* same centre as the burger icon */
.bv-toggler:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.bv-toggler .icon { width: 28px; height: 28px; }

@media (max-width: 991.98px) {
  .navbar-container .navbar-collapse .navbar-nav { padding: .5rem 0 .25rem; }
  .navbar-container .navbar-collapse .navbar-nav > li { margin: 0 !important; padding: 0 !important; border: 0; }
  .navbar-container .navbar-collapse .navbar-nav > li > a.nav-link {
    display: block; margin: 0 !important; padding: .8rem .25rem !important;
    font-size: 1.15rem; border-bottom: 1px solid rgba(31, 42, 68, .1);
  }
  .navbar-container .navbar-collapse .navbar-nav > li.current-menu-item > a.nav-link { color: #cd0a71; font-weight: 700; }
  /* social profiles are shown as icons below the menu instead of text items */
  .navbar-container .navbar-collapse .navbar-nav > li.bv-social-item { display: none !important; }
  .bv-mobile-social { display: flex; gap: .5rem; padding: 1rem 0 .75rem; }
  .bv-mobile-social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: #cd0a71; }
  .bv-mobile-social .icon { width: 22px; height: 22px; }
  .bv-mobile-social svg path, .bv-footer-social svg path { fill: #fff; }
}

/* ---------- Footer social icons ---------- */
.bv-footer-social { gap: .75rem; }
.bv-footer-social .nav-link { opacity: 1 !important; display: inline-flex; width: 48px; height: 48px; padding: 0; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .2); transition: background .2s, transform .2s; }
.bv-footer-social .nav-link:hover { background: #cd0a71; opacity: 1; transform: translateY(-2px); }
.bv-footer-social .icon { width: 24px; height: 24px; opacity: 1; }
.bv-footer-social svg path { fill: #fff; }
footer .text-muted { color: rgba(255, 255, 255, .85) !important; }
footer .text-muted a { color: #fff; text-decoration: underline; }

/* ---------- Work card ---------- */
.bv-work { display: block; color: inherit; text-decoration: none; }
.bv-work:hover { color: inherit; text-decoration: none; }
.bv-work__media { position: relative; display: block; overflow: hidden; border-radius: .5rem; aspect-ratio: 16 / 9; background: #e9eef5; margin-bottom: .9rem; }
.bv-work__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.bv-work:hover .bv-work__img { transform: scale(1.04); }
.bv-work__play { position: absolute; right: .75rem; bottom: .75rem; width: 38px; height: 38px; border-radius: 50%; background: rgba(205, 10, 113, .92); color: #fff; display: flex; align-items: center; justify-content: center; opacity: .9; transition: transform .2s; }
.bv-work:hover .bv-work__play { transform: scale(1.1); }
.bv-work__title { display: block; margin-bottom: .35rem; line-height: 1.3; }
.bv-work:hover .bv-work__title { color: #cd0a71; }
.bv-work__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .875rem; line-height: 1.5; font-weight: 400; color: #5f6b78; }

/* ---------- Front page: last works (grid ≥768px, Flickity slider below) ---------- */
/* theme hides [data-flickity] until Flickity starts; here Flickity runs on phones only */
.bv-works-grid[data-flickity] { opacity: 1 !important; }
.bv-works-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
@media (min-width: 992px) { .bv-works-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
  .bv-works-grid { display: block; margin: 0; }
  .bv-works-grid::after { content: 'flickity'; display: none; } /* enables Flickity watchCSS */
  .bv-works-grid .flickity-viewport { overflow: visible; }
  .bv-works-grid__cell { width: 85%; padding-right: 1rem; }
  .bv-works-grid .flickity-page-dots { position: static; margin-top: 1rem; }
}

/* ---------- Front page: industries ---------- */
.bv-industries .card { height: 100%; }
.bv-industries .icon-round { background: #fde4f1 !important; }
.bv-industries .icon-round .icon { width: 28px; height: 28px; }
.bv-industries .icon-round svg path, .bv-industries .icon-round svg rect, .bv-industries .icon-round svg circle, .bv-industries .icon-round svg polygon { fill: #cd0a71 !important; }
.bv-industries__more { color: #fff; text-decoration: none; display: flex; flex-direction: column; }
.bv-industries__more:hover { color: #fff; text-decoration: none; }
.bv-industries .bv-industries__more .icon-round { background: #fff !important; }
.bv-industries__more .hover-arrow { color: #fff; font-weight: 700; }

/* ---------- Portfolio archive filter: horizontal chips on phones ---------- */
.bv-filter .nav-link { border-radius: 999px; padding: .35rem .9rem; }
.bv-filter .nav-link.active { background: #cd0a71; color: #fff; }
@media (max-width: 767.98px) {
  .bv-filter { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -15px; padding: 0 15px .25rem; }
  .bv-filter::-webkit-scrollbar { display: none; }
  .bv-filter .nav-item { flex: 0 0 auto; }
  .bv-filter .nav-link { white-space: nowrap; background: #eef3f9; margin-right: .4rem; }
}

/* ---------- Portfolio single ---------- */
.bv-back-link { display: inline-block; margin-bottom: 1rem; color: rgba(255, 255, 255, .85); font-weight: 600; font-size: .9rem; }
.bv-back-link:hover { color: #fff; }
.bv-video { position: relative; aspect-ratio: 16 / 9; border-radius: .5rem; overflow: hidden; box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .2); background: #000; }
.bv-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.wp-block-embed-youtube .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.wp-block-embed-youtube .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.bv-article { font-size: 1.0625rem; line-height: 1.7; color: #3c4650; }
.bv-article p { margin-bottom: 1.1rem; }
.bv-cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.75rem 2rem; border-radius: .75rem; background: #d3e9ff; }
.bv-cta-box__buttons { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 767.98px) {
  .bv-article { font-size: 1rem; }
  .bv-cta-box { padding: 1.5rem 1.25rem; }
  .bv-cta-box__buttons .btn { flex: 1 1 auto; }
}

/* ---------- Service detail ---------- */
.bv-sd-hero .lead { color: rgba(255, 255, 255, .92); }
.bv-sd-hero__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.bv-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.bv-facts li { display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .15); border-radius: .5rem; padding: 1rem; text-align: center; font-weight: 600; line-height: 1.35; }
.bv-rating { display: inline-flex; align-items: center; }
.bv-star { color: #ffc83d; margin-left: 2px; position: relative; top: -1px; }
@media (max-width: 991.98px) { .bv-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; } .bv-facts li { padding: .75rem .5rem; font-size: .9rem; } }
.bv-sd-text { font-size: 1.0625rem; line-height: 1.7; color: #3c4650; }
.bv-check-list { list-style: none; padding: 0; }
.bv-check-list li { position: relative; padding: .3rem 0 .3rem 1.9rem; line-height: 1.5; }
.bv-check-list li::before { content: ''; position: absolute; left: 0; top: .45rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #cd0a71 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") center / 70% no-repeat; }
.bv-sd-groups { display: grid; gap: 1rem; }
.bv-sd-group { border: 1px solid #e3e8ef; border-radius: .75rem; padding: 1.25rem 1.5rem; }
.bv-sd-group .h6 { color: #cd0a71; letter-spacing: .06em; }
.bv-sd-aside { position: sticky; top: 90px; border-radius: .75rem; padding: 1.75rem; background: #d3e9ff; }
.bv-sd-sibling { color: inherit; text-decoration: none; display: flex; flex-direction: column; }
.bv-sd-sibling:hover { color: #cd0a71; text-decoration: none; }

/* Comfortable side gutters on phones for the new sections */
@media (max-width: 575.98px) {
  .bv-gutter > .container { padding-left: 20px; padding-right: 20px; }
}
.bv-sd-aside .text-muted { color: #5f6b78 !important; }

/* ---------- About ---------- */
.bv-about-photo { width: 100%; height: auto; display: block; }
.bv-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.bv-chips li { padding: .55rem 1.1rem; border-radius: 999px; background: #fde4f1; color: #a5085b; font-weight: 600; }
.bv-about-conditions li { padding-top: .55rem; padding-bottom: .55rem; border-bottom: 1px solid #e9eef4; }
.bv-about-conditions li::before { top: .7rem; }
.bv-about-conditions li:last-child { border-bottom: 0; }

/* ---------- Contacts ---------- */
.bv-ct-reply { display: inline-block; padding: .3rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .18); font-weight: 600; font-size: .9rem; }
.bv-ct-reply::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: .5rem; border-radius: 50%; background: #3ddc84; vertical-align: middle; }
.bv-ct-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.bv-ct-action { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.25rem; border: 1px solid #e3e8ef; border-radius: .75rem; background: #fff; color: #212529; text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s; min-width: 0; }
.bv-ct-action:hover { color: #212529; text-decoration: none; border-color: #cd0a71; box-shadow: 0 .75rem 1.5rem rgba(0, 0, 0, .08); transform: translateY(-2px); }
.bv-ct-action__icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: #cd0a71; display: flex; align-items: center; justify-content: center; }
.bv-ct-action__icon .icon { width: 22px; height: 22px; }
.bv-ct-action__icon svg path, .bv-ct-action__icon svg rect, .bv-ct-action__icon svg circle, .bv-ct-action__icon svg polygon { fill: #fff !important; }
.bv-ct-action__text { display: flex; flex-direction: column; min-width: 0; }
.bv-ct-action__label { font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.bv-ct-action__value { font-size: .85rem; color: #5f6b78; }
.bv-ct-meta { color: #5f6b78; }
.bv-ct-meta span + span::before { content: '\00B7'; margin: 0 .6em; }
.bv-ct-form { background: #fff; border-radius: .75rem; overflow: hidden; box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .06); }
.bv-ct-form iframe { display: block; width: 100%; max-width: 100%; height: 900px; border: 0; }
@media (max-width: 991.98px) { .bv-ct-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
  .bv-ct-actions { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  .bv-ct-action { padding: .9rem 1rem; }
  .bv-ct-meta span { display: block; }
  .bv-ct-meta span + span::before { content: none; }
  .bv-ct-form { margin: 0 -8px; border-radius: .5rem; }
  .bv-ct-form iframe { height: 1150px; }
}

/* ---------- Desktop header: brand + menu + Reach out in one row ---------- */
@media (min-width: 992px) {
  .bv-navbar .container { flex-wrap: nowrap; }
  .bv-navbar .bv-brand { flex: 0 0 auto; }
  .bv-navbar .bv-brand img { height: 34px; }
  .bv-navbar .bv-brand img.bv-brand__text { height: 20px; }
  .bv-navbar .navbar-collapse.flex-fill:not(.justify-content-end) { flex: 1 1 auto; max-width: none; }
  .bv-navbar .navbar-collapse.justify-content-end { flex: 0 0 auto; max-width: none; width: auto; }
  .bv-navbar .navbar-nav { align-items: center; }
  .bv-navbar .navbar-nav .nav-link { white-space: nowrap; }
}
@media (min-width: 992px) {
  /* compact menu: ~20px between links */
  .bv-navbar .navbar-nav > li { padding-left: 0 !important; padding-right: 0 !important; }
  .bv-navbar .navbar-nav > li > .nav-link { padding-left: 10px; padding-right: 10px; }
  .bv-navbar .bv-brand { margin-right: 1.25rem !important; }
}
