/*-----------------------------------------------------------------------------------
    Custom styles: Business Systems Consultant portfolio
    (Hero badge/CTA, tabbed Projects cards, Services cards)
    Uses the template's CSS variables so light + dark themes both work.
-----------------------------------------------------------------------------------*/

/* ---------- Page background (dark blue top band) ---------- */
/* Replaces the old page-bg image. Mobile: solid dark-blue band at the top. */
.page-wrapper.home-1 {
  background-color: transparent;
  background-image: linear-gradient(
    to bottom,
    #0a1f44 0,
    #0a1f44 320px,
    transparent 320px
  );
  background-repeat: no-repeat;
}

/* Desktop: dark blue runs across the top half of the screen. */
@media (min-width: 992px) {
  .page-wrapper.home-1 {
    background-image: linear-gradient(
      to bottom,
      #0a1f44 0,
      #0a1f44 50%,
      transparent 50%,
      transparent 100%
    );
    background-attachment: fixed;
    background-size: 100% 100%;
  }
}

/* ---------- Header logo (theme-aware swap) ---------- */
/* Light mode shows .site-logo-light, dark mode shows .site-logo-dark. */
.site-logo .site-logo-dark {
  display: none;
}
.dark-theme .site-logo .site-logo-light {
  display: none;
}
.dark-theme .site-logo .site-logo-dark {
  display: inline-block;
}

/* ---------- MAX messenger social icon ---------- */
/* Center the image button so it aligns with the font-glyph icons. */
.bostami-parsonal-info-social-link .max {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  padding: 0;
}
.bostami-parsonal-info-social-link .max img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* ---------- Sidebar languages ---------- */
.bostami-info-languages-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--common-black);
  margin-bottom: 16px;
}
.bostami-info-language-item + .bostami-info-language-item {
  margin-top: 16px;
}
.bostami-info-language-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}
.bostami-info-language-head .name {
  font-size: 14px;
  font-weight: 600;
  color: var(--common-black);
}
.bostami-info-language-head .level {
  font-size: 12px;
  color: var(--body-text);
}
.bostami-info-language-bar {
  height: 6px;
  border-radius: 999px;
  background-color: rgba(37, 99, 235, 0.12);
  overflow: hidden;
}
.bostami-info-language-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background-color: var(--theme-primary);
}
.dark-theme .bostami-info-languages-title,
.dark-theme .bostami-info-language-head .name {
  color: #ffffff;
}
.dark-theme .bostami-info-language-bar {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ---------- Hero / About ---------- */
.bostami-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-transform: capitalize;
  color: var(--theme-primary);
  background-color: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 7px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
}
.bostami-hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--theme-primary);
}

.bostami-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 28px;
}
.bostami-hero-actions .btn-1.btn-outline {
  background-color: transparent;
  border: 1px solid var(--theme-primary);
  color: var(--theme-primary);
}
.bostami-hero-actions .btn-1.btn-outline:hover {
  background-color: var(--theme-primary);
  color: var(--common-white);
}

/* ---------- Section subtitle ---------- */
.bostami-section-subtitle {
  color: var(--body-text);
  font-size: 15px;
  margin-top: -8px;
  margin-bottom: 30px;
}

/* ---------- Project cards (tabbed portfolio) ---------- */
.bostami-project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--common-white);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.bostami-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border-color: rgba(37, 99, 235, 0.35);
}

.bostami-project-card-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: var(--catkrill);
}
.bostami-project-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.bostami-project-card:hover .bostami-project-card-thumb img {
  transform: scale(1.06);
}

.bostami-project-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 24px;
}

.bostami-project-card-title {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
}
.bostami-project-card-title a {
  color: var(--common-black);
  transition: color 0.2s ease;
}
.bostami-project-card-title a:hover {
  color: var(--theme-primary);
}

.bostami-project-card-text {
  color: var(--body-text);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bostami-project-card-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--body-text);
  margin: 0 0 14px;
}
.bostami-project-card-location .fi {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.bostami-project-card-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 22px;
}
.bostami-project-card-badges li {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--theme-primary);
  background-color: rgba(37, 99, 235, 0.06);
  border: none;
  padding: 4px 10px;
  border-radius: 6px;
}

.bostami-project-card-btn,
.bostami-service-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--theme-primary);
  align-self: flex-start;
}
.bostami-project-card-btn i,
.bostami-service-card-btn i {
  transition: transform 0.2s ease;
}
.bostami-project-card-btn:hover,
.bostami-service-card-btn:hover {
  color: var(--theme-primary);
}
.bostami-project-card-btn:hover i,
.bostami-service-card-btn:hover i {
  transform: translateX(4px);
}

/* ---------- Service cards ---------- */
.bostami-service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.bostami-service-card .text {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.bostami-service-card .text p {
  margin-bottom: 18px;
}
.bostami-service-card-btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 20px;
  color: var(--theme-primary);
  background-color: var(--common-white);
  border: 1px solid var(--theme-primary);
  border-radius: 10px;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease,
    transform 0.2s ease;
}
.bostami-service-card-btn:hover {
  color: #fff;
  background-color: var(--theme-primary);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
  transform: translateY(-2px);
}

/* ---------- Dark theme surfaces ---------- */
.dark-theme .bostami-project-card {
  background-color: #14141a;
  border-color: rgba(255, 255, 255, 0.08);
}
.dark-theme .bostami-project-card:hover {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.dark-theme .bostami-project-card-title a {
  color: #ffffff;
}

/* ---------- Responsive ---------- */
@media (max-width: 575px) {
  .bostami-project-card-body {
    padding: 20px;
  }
  .bostami-hero-actions .btn-1 {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Portfolio filter pills carousel ---------- */
.portfolio-filter-carousel {
  width: 100%;
  overflow: hidden;
  padding: 4px 2px;
}
.portfolio-filter-carousel .fillter-btn-wrap {
  text-align: left;
  margin: 0;
  padding: 0;
  list-style: none;
}
.portfolio-filter-carousel .swiper-slide.fillter-btn {
  width: auto;
  height: auto;
  flex-shrink: 0;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-primary, #e6e6e6);
  background-color: transparent;
  color: var(--body-text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease;
  -webkit-user-select: none;
  user-select: none;
}
.portfolio-filter-carousel .swiper-slide.fillter-btn:hover {
  color: var(--theme-primary);
  border-color: var(--theme-primary);
}
.portfolio-filter-carousel .swiper-slide.fillter-btn.is-checked {
  background-color: var(--theme-primary);
  border-color: var(--theme-primary);
  color: var(--common-white, #ffffff);
}
.dark-theme .portfolio-filter-carousel .swiper-slide.fillter-btn {
  border-color: rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .75);
}
.dark-theme .portfolio-filter-carousel .swiper-slide.fillter-btn:hover,
.dark-theme .portfolio-filter-carousel .swiper-slide.fillter-btn.is-checked {
  color: #ffffff;
}
/* ---------- Service page: Call-to-action banner ---------- */
.bostami-service-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  background-color: #0a1f44;
  background-image: radial-gradient(
      circle at 100% 0%,
      rgba(37, 99, 235, 0.45) 0,
      rgba(37, 99, 235, 0) 55%
    ),
    linear-gradient(120deg, #0a1f44 0%, #0e2a5c 100%);
  border-radius: 20px;
  padding: 40px 44px;
}
.bostami-service-cta-content {
  flex: 1 1 340px;
}
.bostami-service-cta-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #93b4ff;
  margin-bottom: 12px;
}
.bostami-service-cta-title {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 12px;
}
.bostami-service-cta-text {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  max-width: 520px;
}
.bostami-service-cta-btn {
  flex-shrink: 0;
}
.bostami-service-cta-btn .btn-1 {
  background-color: var(--theme-primary);
  color: #ffffff;
}
@media (max-width: 767px) {
  .bostami-service-cta {
    padding: 32px 24px;
  }
  .bostami-service-cta-title {
    font-size: 22px;
  }
}

/* -- Booking page ------------------------------------------------------ */
/* Back to home link */
.bostami-back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 500;
  color: var(--common-black);
  transition: color 0.25s ease, gap 0.25s ease;
}
.bostami-back-link i {
  font-size: 14px;
  color: #2563eb;
  transition: transform 0.25s ease;
}
.bostami-back-link:hover {
  color: #2563eb;
}
.bostami-back-link:hover i {
  transform: translateX(-3px);
}

/* "What to expect" points row */
.bostami-booking-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
  background-color: var(--common-white, #fff);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 0 12px 30px rgba(10, 31, 68, 0.06);
}
.bostami-booking-point .icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 20px;
  color: #2563eb;
  background-color: rgba(37, 99, 235, 0.1);
}
.bostami-booking-point .text h4 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--common-black);
}
.bostami-booking-point .text p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: rgba(10, 31, 68, 0.62);
}

/* Widget card */
.bostami-booking-wrap {
  background-color: var(--common-white, #fff);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(10, 31, 68, 0.08);
}
.bostami-booking-head {
  margin-bottom: 24px;
}
.bostami-booking-title {
  font-size: 22px;
  font-weight: 600;
  font-family: "Roboto Slab", serif;
  color: var(--common-black);
  margin: 0 0 6px;
}
.bostami-booking-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(10, 31, 68, 0.62);
  margin: 0;
}
.bostami-booking-embed {
  border-radius: 14px;
  overflow: hidden;
  min-height: 560px;
}

@media (max-width: 767px) {
  .bostami-booking-wrap {
    padding: 18px;
  }
}
