/* ==========================================================================
   Antelope Addon Widgets - Training Program Dual Portal Cards CSS
   ========================================================================== */

.antelop-portal-section {
  position: relative;
  width: 100%;
  padding: 60px 0;
  overflow: hidden;
  box-sizing: border-box;
}

.antelop-portal-section *,
.antelop-portal-section *::before,
.antelop-portal-section *::after {
  box-sizing: border-box;
}

.antelop-portal-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Background Decor */
.antelop-hero-background-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.antelop-decor-glow-1 {
  position: absolute;
  top: -100px;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(215, 12, 12, 0.08) 0%, rgba(215, 12, 12, 0) 70%);
}

.antelop-decor-glow-2 {
  position: absolute;
  top: 100px;
  right: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0) 70%);
}

.antelop-decor-road-lines {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, #cbd5e1 0px, #cbd5e1 20px, transparent 20px, transparent 40px);
  opacity: 0.6;
}

/* Header Section */
.antelop-portal-intro-header {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 45px auto;
}

.antelop-portal-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.antelop-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 9999px;
  background: rgba(215, 12, 12, 0.08);
  color: #D70C0C;
  border: 1px solid rgba(215, 12, 12, 0.2);
}

.antelop-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: antelopPulseDot 2s infinite ease-in-out;
}

@keyframes antelopPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.antelop-portal-main-title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  color: #0f172a;
  letter-spacing: -0.03em;
  margin: 0 0 16px 0;
  word-break: break-word;
}

.antelop-portal-main-title .antelop-highlight-red {
  color: #D70C0C;
  display: inline;
}

.antelop-portal-lead-text {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: #475569;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

/* Grid Cards */
.antelop-portal-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  position: relative;
  z-index: 1;
}

.antelop-portal-card {
  background: #ffffff;
  border-radius: 28px;
  border: 1.5px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.antelop-portal-card:hover {
  transform: translateY(-8px);
}

.antelop-card-truck:hover {
  border-color: #D70C0C;
  box-shadow: 0 25px 50px -12px rgba(215, 12, 12, 0.22);
}

.antelop-card-car:hover {
  border-color: #2563eb;
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.22);
}

/* Media Frame */
.antelop-portal-media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}

.antelop-portal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.antelop-portal-card:hover .antelop-portal-img {
  transform: scale(1.05);
}

.antelop-portal-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.antelop-portal-category-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.antelop-portal-floating-stat {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.antelop-portal-floating-stat svg {
  color: #f59e0b;
}

/* Card Body */
.antelop-portal-card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.antelop-portal-head-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.antelop-portal-vehicle-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.antelop-icon-truck-bg {
  background: rgba(215, 12, 12, 0.1);
  color: #D70C0C;
}

.antelop-icon-car-bg {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.antelop-portal-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.antelop-portal-card-sub {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 2px;
}

.antelop-portal-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

/* Features List */
.antelop-portal-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.antelop-portal-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.45;
}

.antelop-feature-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.antelop-feature-check-truck {
  background: rgba(215, 12, 12, 0.12);
  color: #D70C0C;
}

.antelop-feature-check-car {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}

/* Action Group */
.antelop-portal-action-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
}

.antelop-btn-portal-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.antelop-btn-portal-primary svg {
  transition: transform 0.25s ease;
}

.antelop-btn-portal-primary:hover svg {
  transform: translateX(4px);
}

.antelop-btn-portal-truck {
  background: #D70C0C;
  box-shadow: 0 6px 20px rgba(215, 12, 12, 0.35);
}

.antelop-btn-portal-truck:hover {
  background: #b50909;
  box-shadow: 0 8px 24px rgba(215, 12, 12, 0.45);
  transform: translateY(-2px);
}

.antelop-btn-portal-car {
  background: #1e3a8a;
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.35);
}

.antelop-btn-portal-car:hover {
  background: #172554;
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.45);
  transform: translateY(-2px);
}

.antelop-btn-portal-secondary {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
  display: inline-block;
  padding: 4px;
}

.antelop-btn-portal-secondary:hover {
  color: #D70C0C !important;
  text-decoration: underline !important;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .antelop-portal-grid-wrapper {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .antelop-portal-section {
    padding: 40px 0;
  }
  .antelop-portal-container {
    padding: 0 16px;
  }
  .antelop-portal-card-body {
    padding: 24px 18px;
  }
  .antelop-portal-main-title {
    font-size: 1.8rem;
  }
}
