/* m100 colors */
.m100c {
  color: #54b9b5;
}

.m100g {
  color: #c4be4c;
}

.bg-m100g {
  background-color: #c4be4c;
}

.alert-m100g {
  background-color: #c4be4c;
  border-color: #b3a943;
  color: #2d2924;
}

.alert-m100g .alert-link {
  color: #2d2924;
  text-decoration: underline;
  font-weight: 600;
}

.alert-m100g .alert-link:hover {
  color: #1a1611;
  text-decoration: underline;
}

.download-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.download-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.m100b {
  color: #37506c;
}

.m100bl {
  color: #231f20;
}

.btn-m100c {
  background-color: #54b9b5;
  border-color: #54b9b5;
  color: white;
}

.btn-m100c:hover,
.btn-m100c:focus,
.btn-m100c:active {
  background-color: #4a9e9a;
  border-color: #4a9e9a;
  color: white;
}

.btn-m100g {
  background-color: #c4be4c;
  border-color: #c4be4c;
  color: white;
}

.btn-m100g:hover,
.btn-m100g:focus,
.btn-m100g:active {
  background-color: #b3a943;
  border-color: #b3a943;
  color: white;
}

.btn-m100b {
  background-color: #37506c;
  border-color: #37506c;
  color: white;
}

.btn-m100b:hover,
.btn-m100b:focus,
.btn-m100b:active {
  background-color: #2d4255;
  border-color: #2d4255;
  color: white;
}

.btn-m100bl {
  background-color: #231f20;
  border-color: #231f20;
  color: white;
}

.btn-m100bl:hover,
.btn-m100bl:focus,
.btn-m100bl:active {
  background-color: #1a1718;
  border-color: #1a1718;
  color: white;
}

/* Custom card styles */
.card-custom {
  border: none;
  border-left: 4px solid;
  border-right: 4px solid;
  border-image: linear-gradient(to bottom, #c4be4c, #54b9b5) 1;
}

/* Alternative approach using pseudo-elements for better browser support */
.card-gradient-borders {
  border: none;
  position: relative;
}

.card-gradient-borders .card-body {
  position: relative;
}

.card-gradient-borders .card-body::before,
.card-gradient-borders .card-body::after {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 15px;
  width: 4px;
  background: linear-gradient(to bottom, #c4be4c, #54b9b5);
}

.card-gradient-borders .card-body::before {
  left: -4px;
}

.card-gradient-borders .card-body::after {
  right: -4px;
}


/* Logo styles */
.logo-m100 {
  display: inline-block;
}

.logo-svg {
  display: inline-block;
}

.logo-m100-svg {
  width: 100%;
  height: auto;
}

/* Logo SVG styling */

.logo-tagline {
  font-weight: 600;
  line-height: 1.1;
  margin-top: 0.2em;
  text-align: left;
}

/* Size variants with proportional scaling */
.logo-small .logo-svg {
  width: 120px;
}

.logo-small .logo-tagline {
  font-size: 1.35rem;
  /* proportional scaling */
}

.logo-normal .logo-svg {
  width: 180px;
}

.logo-normal .logo-tagline {
  font-size: 1.55rem;
  /* proportional scaling */
}

.logo-large .logo-svg {
  width: 240px;
}

.logo-large .logo-tagline {
  font-size: 1.9rem;
  /* proportional scaling */
}

.logo-xl .logo-svg {
  width: 300px;
}

.logo-xl .logo-tagline {
  font-size: 2.3rem;
  /* proportional scaling */
}

/* Horizontal Bar Chart Styles */

.horizontal-bar-chart-info {
  padding: 20px;
  max-width: 100%;
  background: linear-gradient(135deg, rgba(55, 80, 108, 0.295), rgba(55, 80, 108, 0.15));
  border-radius: 8px;
  border: 1px solid rgba(84, 185, 181, 0.2);
}

.horizontal-bar-chart {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  max-width: 100%;
  background: linear-gradient(135deg, rgba(79, 165, 162, 0.295), rgba(84, 185, 181, 0.15));
  border-radius: 8px;
  border: 1px solid rgba(84, 185, 181, 0.2);
}


.chart-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 60px;
  flex-shrink: 0;
}

.chart-icon {
  background-color: #54b9b5;
  border-radius: 8px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.chart-icon svg {
  width: 48px;
  height: 48px;
  fill: white;
}

.chart-bar-container {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  position: relative;
}

.chart-label {
  position: absolute;
  top: -10px;
  left: 10px;
  background: #37506c;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.5px;
  z-index: 2;
}

.chart-bar {
  position: relative;
  height: 80px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: white;
  font-weight: bold;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
  min-width: 120px;
  transition: all 0.3s ease;
}

.chart-bar:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.chart-content {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.chart-percentage {
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  margin-right: auto;
}

.chart-value {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: right;
}

/* Tablet responsive styles */
@media (max-width: 992px) and (min-width: 769px) {
  .chart-icon {
    width: 40px;
    height: 40px;
    padding: 6px;
  }

  .chart-icon svg {
    width: 28px;
    height: 28px;
  }

  .chart-bar {
    height: 70px;
  }

  .horizontal-bar-chart-info {
    padding: 15px;
  }

  .horizontal-bar-chart-info img {
    width: 40px !important;
    height: 40px !important;
  }
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .horizontal-bar-chart {
    gap: 10px;
    padding: 15px;
    max-width: 100% !important;
  }

  .chart-bar-container {
    gap: 8px;
  }

  .chart-info {
    min-width: 40px;
    gap: 5px;
  }

  .chart-icon {
    width: 32px;
    height: 32px;
    padding: 4px;
  }

  .chart-icon svg {
    width: 20px !important;
    height: 20px !important;
  }

  .chart-bar {
    height: 60px;
    padding: 0 12px;
    min-width: 80px;
  }

  .chart-content {
    gap: 8px;
  }

  .chart-percentage {
    font-size: 1.5rem;
  }

  .chart-value {
    font-size: 0.8rem;
  }

  .chart-label {
    font-size: 0.6rem;
    padding: 3px 8px;
    top: -8px;
    left: 8px;
  }

  .horizontal-bar-chart-info {
    padding: 12px;
    gap: 2px !important;
  }

  .horizontal-bar-chart-info img {
    width: 32px !important;
    height: 32px !important;
  }

  .horizontal-bar-chart-info div {
    font-size: 0.9rem;
  }
}

/* Footer Gallery Styles */
.footer-gallery {
  padding: 20px 0;
}

.footer-gallery-img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.footer-gallery-img:hover {
  transform: scale(1.05);
}

/* Mobile footer gallery */
@media (max-width: 768px) {
  .footer-gallery {
    padding: 15px 0;
  }

  .footer-gallery-img {
    height: 60px;
  }
}