:root {
  --primary-color: #0d3c78;
  --accent-color: #567c9c;
  --secondary-color: #595959;
}

body, h1, h2, h3, h4, h5, h6, p, span, a, li, button, .sitename, .logo h1, .btn-get-started, .btn-register-hero {
  font-family: 'Montserrat', sans-serif !important;
}

.header .logo img {
  max-height: 40px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.hero {
  background: url("../assets/FlexStart/assets/img/hero-bg.png") center center no-repeat;
  background-size: cover;
}

.hero h1 {
  color: var(--primary-color);
}

.btn-get-started {
  background: var(--primary-color) !important;
  color: #fff !important;
  border-radius: 4px;
  padding: 10px 28px 11px 28px;
  transition: 0.5s;
}

.btn-get-started:hover {
  background: var(--accent-color) !important;
  color: var(--primary-color) !important;
}

.btn-register-hero {
  background: transparent !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  border-radius: 4px;
  padding: 10px 28px 11px 28px;
  font-weight: 500;
  margin-left: 15px;
  transition: 0.5s;
}

.btn-register-hero:hover {
  background: var(--primary-color) !important;
  color: #fff !important;
}

.section-title h2 {
  color: var(--primary-color) !important;
}

.about .content {
  background-color: #f6f9ff;
  padding: 40px;
  border-radius: 15px;
}

.about .content h3 {
  color: var(--secondary-color);
}

.about .content h2 {
  color: var(--primary-color);
  font-weight: 700;
}

.stats {
  background: linear-gradient(135deg, var(--primary-color) 0%, #051329 100%);
  color: #fff;
  padding: 60px 0;
}

.stats .stats-item i {
  color: var(--accent-color) !important;
}

.stats .stats-item span {
  color: #fff;
}

.stats .stats-item p {
  color: rgba(255,255,255,0.7) !important;
}

/* Catalog Card Styles */
.asset-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.05);
  padding: 0;
  overflow: hidden;
  height: 100%;
  border: 1px solid #eee;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.asset-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
}

.asset-img-container {
  width: 100%;
  height: 200px;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
  overflow: hidden;
}

.asset-img-container img {
  max-height: 80%;
  max-width: 80%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.asset-card:hover .asset-img-container img {
  transform: scale(1.08);
}

.category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-color);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 2;
}

.condition-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-color);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 2;
}

.asset-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.asset-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
  line-height: 1.4;
}

.asset-desc {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.asset-meta {
  border-top: 1px solid #f0f0f0;
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stock-info {
  font-size: 0.85rem;
  font-weight: 500;
  color: #444;
}

.stock-number {
  font-weight: 700;
  color: var(--secondary-color);
}

.btn-detail {
  background: var(--primary-color);
  color: #fff;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 15px;
  border: none;
  transition: 0.3s;
}

.btn-detail:hover {
  background: var(--accent-color);
  color: var(--primary-color);
}

/* FAQ Styles */
.faq .faq-container .faq-item {
  background-color: #fff;
  border: 1px solid #eef2f5;
}

.faq .faq-container .faq-item.faq-active {
  border-color: var(--accent-color);
}

.faq .faq-container .faq-item.faq-active h3 {
  color: var(--secondary-color);
}

/* Modal Styling */
.modal-content-custom {
  border-radius: 20px;
  border: none;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  overflow: hidden;
}

.modal-header-custom {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 20px 30px;
}

.modal-header-custom .modal-title {
  font-weight: 700;
  color: #fff;
}

.modal-header-custom .btn-close {
  filter: invert(1);
}

.modal-body-custom {
  padding: 30px;
}

.modal-asset-img {
  max-height: 250px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ── Catalog Carousel ───────────────────────────────── */
.catalog-swiper-wrap {
  position: relative;
  padding: 0 48px;
}

.catalog-swiper {
  overflow: hidden;
  border-radius: 16px;
}

.catalog-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.catalog-swiper .asset-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: transform .3s ease, box-shadow .3s ease;
  background: #fff;
  overflow: hidden;
}

.catalog-swiper .asset-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.14);
}

.catalog-swiper .asset-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.catalog-swiper .asset-meta {
  margin-top: auto;
}

/* Navigation arrows */
.catalog-swiper-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color, #0d3c78);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  transition: background .2s, transform .2s;
}

.catalog-swiper-btn:hover {
  background: var(--accent-color, #567c9c);
  transform: translateY(-50%) scale(1.08);
}

.catalog-swiper-btn.prev { left: 0; }
.catalog-swiper-btn.next { right: 0; }

.catalog-swiper-btn.swiper-button-disabled {
  opacity: .35;
  cursor: not-allowed;
}

/* Pagination dots */
.catalog-swiper-pagination {
  margin-top: 24px;
  text-align: center;
}

.catalog-swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #c5cfe6;
  opacity: 1;
  transition: all .3s;
}

.catalog-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--primary-color, #0d3c78);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 576px) {
  .catalog-swiper-wrap { padding: 0 36px; }
}
