/* ===============================
   BRANDORYX PORTFOLIO STYLES
   Prefix: bxp-
================================ */
body {
  background: #0a0f28;
}

.bxp-hero {
  padding: 8rem 5% 6rem;
  background: radial-gradient(circle at top, rgba(99,102,241,0.2), transparent 60%);
  text-align: center;
}

.bxp-badge {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.3);
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: #0a0f28;
  margin-bottom: 2rem;
}

.bxp-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.bxp-title span {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bxp-subtitle {
  max-width: 750px;
  margin: 0 auto;
  font-size: 1.25rem;
  color: #b4b8d4;
}

/* Filters */
.bxp-filter-section {
  padding: 2rem 5%;
  display: flex;
  justify-content: center;
}

.bxp-filters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.bxp-filter-btn {
  background: transparent;
  border: 1px solid rgba(99,102,241,0.3);
  color: #b4b8d4;
  padding: 0.6rem 1.4rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bxp-filter-btn:hover,
.bxp-filter-btn.active {
  background: #6366f1;
  color: #fff;
}

/* Grid */
.bxp-grid-section {
  padding: 4rem 5% 6rem;
}

.bxp-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.bxp-card {
  background: rgba(20,25,50,0.65);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 22px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.bxp-card:hover {
  transform: translateY(-12px);
  border-color: #6366f1;
  box-shadow: 0 25px 60px rgba(99,102,241,0.35);
}

.bxp-card-media {
  height: 200px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  opacity: 0.85;
}

.bxp-card-content {
  padding: 2rem;
}

.bxp-card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.bxp-card-content p {
  font-size: 1rem;
  color: #b4b8d4;
  margin-bottom: 1.2rem;
}

.bxp-tag {
  font-size: 0.75rem;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  background: rgba(99,102,241,0.2);
  color: #dfe1ff;
}

.bxp-card-media {
  width: 100%;
  height: 200px; /* Adjust this height to match your design */
  overflow: hidden;
  position: relative;
}

.bxp-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This ensures the video fills the area like a background image */
  display: block;
}

.bxp-card-media img {
  width: 100%;      /* Makes image span the full width */
  height: 200px;    /* Set a fixed height for consistency */
  object-fit: cover; /* Crops the image to fit the height without stretching */
  display: block;   /* Removes unwanted whitespace at the bottom */
}

/* CTA */
.bxp-cta {
  text-align: center;
  padding: 6rem 5%;
  background: linear-gradient(180deg, transparent, rgba(99,102,241,0.15));
}

.bxp-cta h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.bxp-cta p {
  color: #b4b8d4;
  margin-bottom: 2rem;
}

.bxp-cta-btn {
  display: inline-block;
  background: #6366f1;
  padding: 0.9rem 2.2rem;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.bxp-cta-btn:hover {
  background: #5558e3;
  transform: translateY(-3px);
}
