/* Define primary theme color */
:root {
  --primary-color: #EA9435;
}

/* Active nav-pill styling */
.nav-pills .nav-link.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}


.brand-heading {
  color: var(--primary-color) !important;
}

.dropdown-item {
    color: var(--bs-link-color);
}

.dropdown-menu {
    --bs-dropdown-link-hover-color: var(--primary-color);
}

/* Feature icon container size */
.feature-icon-small {
  width: 3rem;
  height: 3rem;
}


/* Solid primary background for primary utilities */
.text-bg-primary {
  background-color: var(--primary-color) !important;
  background-image: none !important;
}

.modern-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(108, 92, 231, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3436;
    text-decoration: none;
}

.footer-title {
    color: #2d3436;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #EA9435, transparent);
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d3436;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.social-icon:hover {
    transform: translateY(-3px);
    color: #6c5ce7;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.2);
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0;
    list-style: none;
}

.quick-links a {
    color: #2d3436;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.quick-links a:hover {
    color: #6c5ce7;
    transform: translateX(5px);
}

.quick-links a::before {
    content: '→';
    opacity: 0;
    transition: all 0.3s ease;
}

.quick-links a:hover::before {
    opacity: 1;
}

.newsletter-input {
    border: none;
    padding: 0.8rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.btn-subscribe {
    background: linear-gradient(45deg, #6c5ce7, #a363d9);
    border: none;
    box-shadow: 0 2px 10px rgba(108, 92, 231, 0.2);
    padding: 0.8rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.footer-bottom {
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-bottom p {
    margin: 0;
    color: #6c757d;
}

.footer-bottom a {
    color: #6c5ce7;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .quick-links {
        grid-template-columns: 1fr;
    }
}


/* Product section: use custom primary color */
#custom-cards .text-primary {
    color: var(--primary-color) !important;
  }

  .breadcrumb-chevron {
  --bs-breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  gap: .5rem;
}
.breadcrumb-chevron .breadcrumb-item {
  display: flex;
  gap: inherit;
  align-items: center;
  padding-left: 0;
  line-height: 1;
}
.breadcrumb-chevron .breadcrumb-item::before {
  gap: inherit;
  float: none;
  width: 1rem;
  height: 1rem;
}

.breadcrumb-custom .breadcrumb-item {
  position: relative;
  flex-grow: 1;
  padding: .75rem 3rem;
}
.breadcrumb-custom .breadcrumb-item::before {
  display: none;
}
.breadcrumb-custom .breadcrumb-item::after {
  position: absolute;
  top: 50%;
  right: -25px;
  z-index: 1;
  display: inline-block;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  content: "";
  background-color: var(--bs-tertiary-bg);
  border-top-right-radius: .5rem;
  box-shadow: 1px -1px var(--bs-border-color);
  transform: scale(.707) rotate(45deg);
}
.breadcrumb-custom .breadcrumb-item:first-child {
  padding-left: 1.5rem;
}
.breadcrumb-custom .breadcrumb-item:last-child {
  padding-right: 1.5rem;
}
.breadcrumb-custom .breadcrumb-item:last-child::after {
  display: none;
}

/* Make table box lines visible */
.tg-wrap table,
.tg-wrap table th,
.tg-wrap table td {
  border: 1px solid #ccc;
}

.tg-wrap table th {
    background-color: var(--primary-color);
}


.gridjs-table th:nth-child(1),
.gridjs-table td:nth-child(1) {
  font-weight: bold;
}

/* Hidden by default */
.details-pane { display: none; }
#rings-radio:checked ~ #rings { display: block; }
#rollers-radio:checked ~ #rollers { display: block; }

.details-pane { 
  border-top: 1px solid var(--bs-border-color);
}

/* --- ISO Card Grid Theming (consistent with site) --- */
.section-title {
  font-weight: 700;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
}

.themed-card {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.themed-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  border-color: var(--primary-color);
}
.themed-card .card-title {
  color: #2d3436;
  font-weight: 600;
}
.themed-card .card-text {
  color: #6c757d;
}

.iso-card-img {
  height: 260px;               /* bigger by default */
  object-fit: contain;         /* preserve certificate proportions */
  width: 100%;
  background: #fff;
  padding: 1rem;               /* a bit more breathing room */
  border-bottom: 1px solid rgba(0,0,0,0.05);
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
@media (min-width: 576px) {  /* ≥ sm */
  .iso-card-img { height: 500px; }
}
@media (min-width: 768px) {  /* ≥ md */
  .iso-card-img { height: 540px; }
}
@media (min-width: 1200px) { /* ≥ xl */
  .iso-card-img { height: 580px; }
}