body {
  background-color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

main {
  position: relative;
  min-height: 966px;
}

main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/50px_logo_blueworld.svg');
  background-repeat: no-repeat;
  background-position: 50% 0;
  background-size: 875px auto;
  opacity: 0.2;
  z-index: -1;
  pointer-events: none;
}

.site-header {
  padding: 12px 0;
}

.header-spacer {
  width: 30px;
  flex-shrink: 0;
}

.navbar-brand-logo {
  height: 65px;
  width: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-radius: 12px;
}

.navbar-brand-logo:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand-logo img {
  height: 100% !important;
  width: 100% !important;
  max-height: 65px;
  max-width: 65px;
  display: block;
}

.navbar-wordmark {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  color: #000000;
  font-size: 44px;
  line-height: 1;
  text-decoration: none;
  display: block;
}

.navbar-wordmark:hover {
  color: #000000;
  text-decoration: none;
}


.brand-name {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
}

.nav-tabs-custom .nav-link {
  background-color: transparent;
  color: #000000;
  border: none;
  border-radius: 50px;
  font-weight: 500;
  padding: 8px 18px;
  margin-right: 4px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.nav-tabs-custom .nav-link i {
  font-size: 1rem;
  opacity: 0.85;
}

.nav-tabs-custom .nav-link:hover {
  background-color: #333333;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.nav-tabs-custom .nav-link.active {
  background-color: #000000;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

.nav-tabs-custom .nav-link.active i {
  opacity: 1;
}


.carousel-card {
  display: flex;
  align-items: stretch;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  min-height: 220px;
  margin: 12px 8px 20px;
  box-shadow: 0 12px 18px -6px rgba(0, 0, 0, 0.35), 0 -8px 18px -6px rgba(0, 0, 0, 0.25);
}

.carousel-card .card-image {
  flex: 0 0 40%;
  max-width: 40%;
  background-color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carousel-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-card .card-image .placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #6c757d;
  background-color: #dee2e6;
}

.carousel-card .card-content {
  flex: 1;
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.carousel-card .card-content h5 {
  font-weight: 600;
  margin-bottom: 10px;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-card .card-content h5 i {
  font-size: 1rem;
  color: #000000;
}

.carousel-card .card-content p {
  color: #444444;
  margin-bottom: 0;
  line-height: 1.6;
}

main h1 i,
main h2 i,
main h3 i,
.card-title i {
  margin-right: 10px;
  font-size: 0.85em;
  color: #000000;
}

/* Products page cards */
.products-grid .card {
  border-radius: 16px;
  border: 1px solid #dee2e6;
  box-shadow: 0 16px 24px -8px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.products-grid .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 40px -12px rgba(0, 0, 0, 0.4);
}

.products-grid .card-title strong {
  font-family: "Times New Roman", Times, serif;
}

footer {
  background-color: #1a1a1a;
  color: #cccccc;
  padding: 40px 0 20px;
  margin-top: 60px;
}

footer h5 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 16px;
}

footer h5 i {
  margin-right: 8px;
  font-size: 0.9em;
  color: #ffffff;
}

footer a {
  color: #cccccc;
  text-decoration: none;
}

footer a:hover {
  color: #ffffff;
}

footer .footer-bottom {
  border-top: 1px solid #333333;
  padding-top: 20px;
  margin-top: 30px;
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 991px) {
  .site-header .container {
    flex-wrap: wrap;
  }
  .navbar-brand-logo {
    height: 32.5px;
    width: 32.5px;
    margin-right: 12px;
  }
  .header-spacer {
    width: 8px;
  }
  .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
  }
  .nav-tabs-custom {
    flex-direction: column;
    width: 100%;
    padding-top: 12px;
  }
  .nav-tabs-custom .nav-item {
    width: 100%;
  }
  .nav-tabs-custom .nav-link {
    width: 100%;
    margin-right: 0;
    margin-bottom: 8px;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .carousel-card {
    flex-direction: column;
  }
  .carousel-card .card-image {
    flex: none;
    max-width: 100%;
    height: 200px;
  }
  .nav-tabs-custom .nav-link {
    padding: 8px 14px;
    font-size: 0.9rem;
  }
  .navbar-wordmark {
    font-size: 34px;
  }
}
