html,
body {
  margin: 0;
  padding: 0;
}

.section-title {
  border-left: 4px solid #e95420; /* United accent */
  padding-left: 0.75rem;
  margin-bottom: 1.5rem;
}

section {
  scroll-margin-top: 90px;
}

/* Section heading accent */
.section-title {
  border-left: 4px solid #e95420;
  padding-left: 0.75rem;
  margin-bottom: 1.5rem;
}

/* hero section style */
/* NuGet Button Styling */
.nuget-btn {
  border-radius: 6px;
  min-height: 44px;
}

/* Make header a flex container */
header.bg-light {
  display: flex;
  flex-direction: column;
  min-height: 0; /* Override any min-height */
}

/* FluentConsoleTable Banner */

.header_hero_container{
  padding-bottom: 0px !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.header_hero_banner_advtable{
  margin-top: 16px !important;
}


.fluent-banner {
  border-top: 1px solid #495057;
}

.fluent-banner a:hover {
  color: #f8f9fa !important;
  text-decoration: underline !important;
  opacity: 0.9;
}

.fluent-banner-content {
  font-size: 1.05rem;
}

.advanced-text,.contact-label{
  color: #fff !important;
}

/* Desktop layout - everything in one line with nice spacing */
@media (min-width: 768px) {
  .fluent-banner-content {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 2.5rem;           
  }
  
  .advanced-text {
    display: inline;
    color: #adb5bd;
    font-weight: 400;
  }
  
  .contact-label {
    color: #ced4da;
  }
}

/* Mobile - two clean lines */
@media (max-width: 767.98px) {
  .fluent-banner-content {
    flex-direction: column;
    gap: 0.6rem;
  }
  
  .contact-part {
    margin-top: 0.25rem;
  }
  
  /* Hide advanced text on mobile */
  .advanced-text {
    display: none;
  }
  
  /* Optional: make contact label visible only on mobile */
  .contact-label {
    display: inline;
  }
  
  /* Slightly smaller text on very small screens */
  @media (max-width: 400px) {
    .fluent-banner-content {
      font-size: 0.97rem;
    }
  }
}

/* Make sure advanced text is hidden on mobile */
.advanced-text {
  display: none;           /* default mobile */
}

@media (min-width: 769px) {
  .advanced-text {
    display: inline;       /* show only on desktop/tablet */
  }
}

/* Fine-tuning spacing on very small screens */
@media (max-width: 400px) {
  .fluent-banner-content {
    gap: 0.5rem;
  }
  
  .line-1 {
    font-size: 0.95rem;
  }
  
  .contact-line {
    font-size: 0.95rem;
  }
}


/* Carousel height consistency */



.carousel-dark .carousel-control-prev-icon,
.carousel-dark .carousel-control-next-icon {
  filter: invert(1) grayscale(100);
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #666;
  opacity: 0.5;
  margin: 0 6px;
}

.carousel-indicators .active {
  opacity: 1;
  background-color: #0d6efd;
}

/* Better mobile experience */
@media (max-width: 576px) {
  .carousel-control-prev,
  .carousel-control-next {
    width: 15%;
  }
  
  .carousel-indicators {
    margin-bottom: 1rem !important;
  }
}

/* Prevent image stretching on very wide screens */
.ratio-21x9 img {
  object-position: top center;
}



/* Code blocks */
.code-block {
  background-color: #1e1e1e;
  color: #e6edf3;
  border-radius: 8px;
  padding: 1.25rem;
  overflow-x: auto;
  font-size: 0.9rem;
}

.comparison-table th {
  white-space: nowrap;
}

.comparison-table td {
  vertical-align: middle;
}

.badge-feature {
  background-color: #f8f9fa;
  color: #2c3e50;
  border: 1px solid #dee2e6;
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
}

/* Base badge style */
.badge-feature {
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
}

.badge-unicode {
  background-color: #eef4ff;
  color: #1f3b73;
  border-color: #d6e4ff;
}

.badge-pagination {
  background-color: #f4f9f6;
  color: #1e6f43;
  border-color: #d8efe2;
}

.badge-live {
  background-color: #fff4ec;
  color: #a3471f;
  border-color: #ffe0cc;
}

.badge-data {
  background-color: #f3f0ff;
  color: #4b3fbf;
  border-color: #e0dbff;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler:focus-visible {
  outline: 2px solid rgba(13, 110, 253, 0.5);
  outline-offset: 2px;
}


.navbar-toggler i.fa-solid {
  color: #fff !important;
}


/* badge styling capability badges */
.badge-platform {
  background-color: #f0f2f5;
  color: #2c2f33;
  border-color: #d6d9dd;
}

/* section comparison styling desktop */

#comparison table tbody tr:not(:last-child) {
  border-bottom: 1px solid #e9ecef;
}





/* ===============================
   Mobile Typography Tuning
   Bootstrap-first, minimal
================================ */

@media (max-width: 576px) {
  /* Section spacing */
  section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  /* Section titles (h2) */
  section h2 {
    font-size: 1.35rem;
  }

  /* Subsection titles (h4) */
  section h4 {
    font-size: 1.05rem;
  }

  /* Body text */
  section p {
    font-size: 0.9rem;
  }

  /* Small helper text */
  section p.small,
  section .small {
    font-size: 0.8rem;
  }
}

/* Mobile-first improvement */
@media (max-width: 576px) {
  .badges-container {
    flex-direction: column;
    align-items: stretch;
  }

  .badge-feature {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
  }

  .badge-feature i {
    font-size: 1rem;
  }

  .small-md {
    font-size: 0.95rem;
  }
}

/* section comparison styling mobile */

@media (min-width: 992px) {
  .bg-lg-light {
    background-color: #f8f9fa;
  }
}

@media (min-width: 992px) {
  #comparison table tbody tr:not(:last-child) {
    border-bottom: 2px solid #f8f9fa;
  }
}

/* section comparison styling mobile */

@media (max-width: 575.98px) {  
  footer small {
    font-size: 0.75rem;     
    opacity: 0.65;           
  }
}


/* hero section style Mobile optimization nuget button */
@media (max-width: 576px) {
  .nuget-btn {
    min-height: 48px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .nuget-subtitle {
    font-size: 0.75rem;
  }
}


/* Equal width buttons for desktop and mobile */
.equal-width-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.equal-width-buttons .button-wrapper {
  flex: 1 1 0;
  min-width: 250px; /* Minimum width before wrapping */
  max-width: 300px; /* Maximum width to prevent too wide on desktop */
  display: flex;
  flex-direction: column;
}

.equal-width-buttons .nuget-btn {
  width: 100%; /* Make button fill the wrapper */
  height: 100%; /* Make button fill wrapper height */
  min-height: 85px; /* Minimum height for consistency */
  justify-content: space-between; /* Spread content */
  align-items: center;
  display: flex;
}

.equal-width-buttons .nuget-btn .text-start {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.equal-width-buttons .nuget-btn .fw-bold {
  white-space: nowrap; /* Prevent product name from wrapping on desktop */
}

.equal-width-buttons .nuget-btn .small {
  white-space: nowrap; /* Prevent description from wrapping on desktop */
}

/* Mobile optimization */
@media (max-width: 768px) {
  .equal-width-buttons .button-wrapper {
    min-width: 280px; /* Slightly larger minimum on mobile */
    max-width: 100%; /* Allow full width if needed */
  }
  
  .equal-width-buttons .nuget-btn {
    min-height: 80px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  /* Allow text to wrap on mobile */
  .equal-width-buttons .nuget-btn .fw-bold,
  .equal-width-buttons .nuget-btn .small {
    white-space: normal;
  }
}

/* Very small screens */
@media (max-width: 400px) {
  .equal-width-buttons .button-wrapper {
    min-width: 100%; /* Full width on very small screens */
  }
  
  .equal-width-buttons .nuget-btn {
    min-height: 70px;
  }
}