/* Solutions Page Styling - Matching Website Brand Guidelines (#047ea8 / Clean White & Light Gray) */

/* Hero Banner Styling (Matching Index Hero Section) */
.solutions-hero-banner {
  padding: 140px 0 80px;
  width: 100%;
  max-width: 100%;
  background: #090d16;
  background-image:
    radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(168, 85, 247, 0.1) 0px, transparent 50%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
  text-transform: uppercase;
}

.solutions-hero-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: -1px;
}

.solutions-hero-title span {
  color: #38bdf8;
}

.solutions-hero-intro {
  font-size: 1.1rem;
  color: #e2e8f0;
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 400;
}

.solutions-page-wrapper {
  background-color: #f8f9fa;
  color: #212529;
  padding: 60px 0 100px 0;
  line-height: 1.6;
}

.solutions-section-block {
  margin-bottom: 60px;
}

.section-category-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid #047ea8;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

.section-category-title {
  font-size: 2.0rem;
  font-weight: 700;
  margin: 0;
  color: #047ea8;
}

.section-category-tags {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6c757d;
}

/* Solution Card Styling */
.solution-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(4, 126, 168, 0.12);
}

/* Video Placeholder Container */
.solution-video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #0b1320;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-btn {
  width: 56px;
  height: 56px;
  background-color: #047ea8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  padding-left: 3px;
}

.video-play-btn:hover {
  transform: scale(1.1);
  background-color: #036283;
}

.video-overlay-tag {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.video-overlay-duration {
  position: absolute;
  bottom: 12px;
  right: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #cbd5e1;
}

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

.solution-tags-wrapper {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.solution-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #047ea8;
  color: #047ea8;
  background-color: rgba(4, 126, 168, 0.06);
}

.solution-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
  line-height: 1.3;
}

.solution-description {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 16px;
  line-height: 1.6;
}

.solution-result {
  font-size: 0.92rem;
  color: #d97706;
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.5;
  background: #fffbe6;
  padding: 8px 12px;
  border-left: 3px solid #d97706;
  border-radius: 0 4px 4px 0;
}

/* Pricing Section Inside Card */
.solution-pricing-box {
  margin-top: auto;
  border-top: 1px solid #e2e8f0;
  padding-top: 18px;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.pricing-label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

.pricing-timeline {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

.pricing-amount {
  font-size: 2.2rem;
  font-weight: 700;
  color: #047ea8;
  line-height: 1;
}

.pricing-custom {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 4px;
}

.btn-add-project {
  width: 100%;
  margin-top: 18px;
  padding: 12px 20px;
  background-color: #047ea8;
  border: 1px solid #047ea8;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
  text-align: center;
}

.btn-add-project:hover {
  background-color: #036283;
  border-color: #036283;
  color: #ffffff;
}

.btn-add-project.added {
  background-color: #1b4d4f;
  border-color: #1b4d4f;
  color: #ffffff;
}

.btn-add-project.added:hover {
  background-color: #143b3d;
  border-color: #143b3d;
}

.solution-card.selected {
  border-color: #1b4d4f;
  box-shadow: 0 0 0 2px #1b4d4f;
}

/* Sticky Selection Bar */
.solutions-sticky-bar {
  position: fixed;
  bottom: -100px;
  left: 0;
  right: 0;
  background-color: #0d1520;
  color: #ffffff;
  padding: 16px 0;
  z-index: 1040;
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.4);
  transition: bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.solutions-sticky-bar.active {
  bottom: 0;
}

.sticky-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.sticky-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sticky-count {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.sticky-items-names {
  font-size: 0.85rem;
  color: #94a3b8;
  max-width: 450px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-total-box {
  display: flex;
  align-items: center;
}

.sticky-total-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
}

.sticky-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-sticky-custom {
  padding: 12px 24px;
  border: 1px solid #334155;
  background: transparent;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-sticky-custom:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #64748b;
  color: #ffffff;
}

.btn-sticky-bundle {
  padding: 12px 24px;
  background-color: #d97706;
  border: 1px solid #d97706;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-sticky-bundle:hover {
  background-color: #b45309;
  border-color: #b45309;
  color: #ffffff;
}

/* Add-on Banner Card */
.addon-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.addon-info h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #047ea8;
  margin-bottom: 6px;
}

.addon-info p {
  color: #475569;
  font-size: 1rem;
  margin: 0;
}

.addon-pricing {
  text-align: right;
}

.addon-price {
  font-size: 2.2rem;
  font-weight: 700;
  color: #047ea8;
}

.addon-timeline {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

/* Custom Scope Footer Banner */
.custom-scope-banner {
  border-top: 1px solid #e2e8f0;
  padding-top: 40px;
  margin-top: 30px;
}

.custom-scope-banner h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 14px;
}

.custom-scope-banner p {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.7;
  max-width: 900px;
}

.custom-scope-highlight {
  background-color: #e0f2fe;
  border-left: 4px solid #047ea8;
  padding: 18px 22px;
  border-radius: 0 6px 6px 0;
  margin-top: 25px;
  font-size: 1rem;
  color: #036283;
}

.custom-scope-highlight a {
  color: #047ea8;
  text-decoration: underline;
  font-weight: 700;
}

.solutions-footer-note {
  margin-top: 35px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Modal Custom Styling */
.selected-summary-box {
  background-color: #f1f5f9;
}

.btn-bundle-submit {
  background-color: #047ea8;
  border-color: #047ea8;
}

.btn-bundle-submit:hover,
.btn-bundle-submit:focus,
.btn-bundle-submit:active {
  background-color: #036283;
  border-color: #036283;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .solutions-hero-banner {
    padding: 120px 0 50px 0;
  }

  .solutions-hero-title {
    font-size: 2.3rem;
  }

  .section-category-header {
    flex-direction: column;
    gap: 6px;
  }

  .addon-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .addon-pricing {
    text-align: left;
  }

  .sticky-bar-content {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .sticky-actions {
    width: 100%;
  }
}

/* ==========================================================================
   New Solutions Catalog Grid & Card Styling
   ========================================================================== */
.solutions-filter-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tab-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 22px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab-btn:hover,
.filter-tab-btn.active {
  background: #091a3c;
  color: #ffffff;
  border-color: #091a3c;
}

.solution-card-new {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  position: relative;
}

.solution-card-new:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.card-badge-tag {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.solution-card-new .card-title {
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 12px;
}

.solution-card-new .card-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 10px;
}

.solution-card-new .card-highlight {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.5;
  margin-bottom: 24px;
}

.solution-card-new .card-price {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
  margin-top: auto;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.card-actions .btn-add-project {
  width: auto !important;
  margin-top: 0 !important;
}

.btn-dark-action {
  background: #091a3c !important;
  color: #ffffff !important;
  border: 1px solid #091a3c !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-dark-action:hover,
.btn-dark-action.added {
  background: #007da5 !important;
  border-color: #007da5 !important;
  color: #ffffff !important;
}

.btn-outline-action {
  background: transparent !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1 !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline-action:hover,
.btn-outline-action.added {
  border-color: #091a3c !important;
  color: #ffffff !important;
  background: #091a3c !important;
}

.pill-badge-updated {
  background: #091a3c;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  display: inline-block;
}

/* ==========================================================================
   Implementation & Product Catalog Styling
   ========================================================================== */

.section-eyebrow-text {
  color: #0284c7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.offer-page-pill {
  background: #e0f2fe;
  color: #0284c7;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.pricing-badge-wrapper {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 20px;
}

.price-main {
  font-size: 32px;
  font-weight: 700;
  color: #0284c7;
  line-height: 1.1;
}

.price-sub {
  font-size: 16px;
  font-weight: 700;
  color: #64748b;
  margin-left: 6px;
}

.price-meta {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  margin-top: 6px;
}

.featured-bundle-card {
  background: linear-gradient(135deg, #071e3d 0%, #0284c7 100%) !important;
  border: 2px solid #38bdf8 !important;
  box-shadow: 0 16px 35px rgba(2, 132, 199, 0.25), 0 0 25px rgba(56, 189, 248, 0.2) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.featured-bundle-card:hover {
  transform: translateY(-6px) !important;
  border-color: #7dd3fc !important;
  box-shadow: 0 22px 45px rgba(2, 132, 199, 0.35), 0 0 35px rgba(56, 189, 248, 0.35) !important;
}

.featured-bundle-card .pricing-badge-wrapper {
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 14px;
  padding: 18px 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.bundle-featured-tag {
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.border-white-20 {
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.btn-bundle-action {
  background: #ffffff !important;
  color: #0284c7 !important;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Solution Card Image Styling */
.solution-card-image {
  overflow: hidden;
  border-radius: 12px;
  background: #0f172a;
  height: 250px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.solution-card-image::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  opacity: 0.85;
  transition: all 0.3s ease;
  pointer-events: none;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.solution-card-image:hover::after {
  opacity: 1;
  transform: scale(1.1);
  background: #0284c7;
}

.solution-card-image img,
img.solution-lightbox {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
  cursor: pointer;
}

@media (max-width: 767px) {
  .solution-card-image {
    height: 200px;
  }
}

.solution-card-new:hover .solution-card-image img {
  transform: scale(1.03);
}

.featured-bundle-card .solution-card-image {
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-bundle-action:hover {
  background: #f8fafc !important;
  color: #0369a1 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Product Site Cards */
.product-site-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.product-site-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(2, 132, 199, 0.12);
  border-color: #0284c7;
}

.product-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.product-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.product-card-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 10px;
}

.btn-product-link {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0f172a !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.btn-product-link:hover {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff !important;
}

.consult-card {
  border: 2px solid #fdba74;
  background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
}