:root {
  --primary: #138a78;
  --secondary: #4d98d9;
  --dark: #0f2f52;
  --text: #223a52;
  --muted: #657d95;
  --soft-bg: #edf8f4;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef8f4 0%, #f7fbff 32%, #eef8f4 100%);
}

.top-strip {
  background: #0f2f52;
  color: #eaf5ff;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(63, 140, 255, 0.22);
}

.top-strip a {
  color: #99f0d0;
  text-decoration: none;
}

.navbar {
  background: #ffffff !important;
  border-bottom: 1px solid #dbe8f4 !important;
}

.navbar-brand {
  font-weight: 700;
  color: var(--dark) !important;
  letter-spacing: 0.4px;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.brand-logo {
  display: block;
  width: auto;
  height: 76px;
  max-height: 76px;
  max-width: min(320px, 72vw);
  object-fit: contain;
}

@media (max-width: 575.98px) {
  .brand-logo {
    height: 58px;
    max-height: 58px;
    max-width: min(260px, 78vw);
  }
}

.nav-link {
  font-weight: 500;
  color: #335272;
  position: relative;
  margin: 0 6px;
}

.nav-link:not(.dropdown-toggle)::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.2rem;
  height: 2px;
  background: linear-gradient(90deg, #1fae8a, #3f8cff);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-link:hover:not(.dropdown-toggle)::after,
.nav-link.active:not(.dropdown-toggle)::after {
  transform: scaleX(1);
}

.navbar .dropdown-menu {
  border: 1px solid #dbe8f4;
  box-shadow: 0 10px 28px rgba(15, 47, 82, 0.12);
  border-radius: 10px;
  padding: 0.45rem 0;
  margin-top: 6px !important;
}

.navbar .dropdown-item {
  font-weight: 500;
  color: #335272;
  padding: 0.55rem 1.35rem;
  font-size: 0.95rem;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background: rgba(19, 138, 120, 0.09);
  color: #173c60;
}

.navbar .nav-link.dropdown-toggle {
  color: #335272;
}

.navbar .nav-link.dropdown-toggle:hover,
.navbar .nav-link.dropdown-toggle:focus,
.navbar .nav-link.dropdown-toggle.show {
  color: #173c60;
}

.navbar .nav-link.dropdown-toggle:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(77, 152, 217, 0.45);
  border-radius: 6px;
}

.nav-link:hover,
.nav-link.active {
  color: #173c60;
}

.btn-brand {
  background: linear-gradient(135deg, #1fae8a, #3f8cff);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 500;
}

.btn-brand:hover {
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 174, 138, 0.28);
}

.hero {
  padding: 0;
}

.hero h1 {
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.hero .muted-text {
  color: rgba(255, 255, 255, 0.92);
}

.hero .carousel-item img {
  height: 590px;
  width: 100%;
  object-fit: cover;
}

.hero-carousel {
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  background: linear-gradient(88deg, rgba(15, 47, 82, 0.86) 0%, rgba(15, 47, 82, 0.55) 45%, rgba(15, 47, 82, 0.18) 100%);
  pointer-events: none;
}

.hero-content {
  max-width: 640px;
  pointer-events: auto;
}

.hero-badge {
  display: inline-flex;
  background: rgba(31, 174, 138, 0.22);
  border: 1px solid rgba(176, 248, 218, 0.55);
  color: #f4fffb;
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(15, 47, 82, 0.55);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  background-size: 50%;
}

.section-title {
  font-weight: 700;
  color: #11385d;
  margin-bottom: 14px;
}

.section-subtitle,
.muted-text {
  color: var(--muted);
}

.section-subtitle {
  max-width: 760px;
  margin: 0 auto 40px;
}

.card-clean {
  border: 1px solid rgba(63, 140, 255, 0.16);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(17, 56, 93, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  background: #ffffff;
  animation: fadeUpSoft 0.8s ease both;
}

.card-clean:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(17, 56, 93, 0.14);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(31, 174, 138, 0.16), rgba(63, 140, 255, 0.18));
  color: #1a6a85;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.card-img {
  height: 230px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.page-hero {
  padding: 72px 0 62px;
  background: linear-gradient(180deg, #e6f6f1 0%, #eef8ff 100%);
  border-bottom: 1px solid #dbe9f5;
}

.section-img {
  border-radius: 14px;
  width: 100%;
  object-fit: cover;
  min-height: 320px;
  box-shadow: 0 14px 30px rgba(17, 56, 93, 0.16);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.section-img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 32px rgba(17, 56, 93, 0.2);
}

.stats-box {
  background: #ffffff;
  border-radius: 12px;
  text-align: center;
  padding: 20px 10px;
  box-shadow: 0 8px 20px rgba(17, 56, 93, 0.08);
  border: 1px solid rgba(63, 140, 255, 0.16);
  animation: fadeUpSoft 0.8s ease both;
}

.stats-box h4 {
  margin: 0;
  color: var(--primary);
  font-weight: 700;
}

.contact-box {
  background: linear-gradient(145deg, #11406b, #1a6a85);
  color: #fff;
  border-radius: 14px;
  padding: 36px;
}

.contact-box p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.94);
}

.info-strip {
  border-radius: 14px;
  padding: 30px;
  background: linear-gradient(135deg, #e5f5ef 0%, #edf5ff 100%);
  border: 1px solid rgba(31, 174, 138, 0.2);
  animation: fadeUpSoft 0.9s ease both;
}

.section-alt {
  background: linear-gradient(180deg, #e9f7f1 0%, #eff7ff 100%) !important;
}

.section-dark {
  background: linear-gradient(140deg, #0d5a4d 0%, #138a78 100%) !important;
}

.section-dark .section-title,
.section-dark h3,
.section-dark h5,
.section-dark h6 {
  color: #eef7ff;
}

.section-dark .muted-text,
.section-dark p,
.section-dark li,
.section-dark .section-subtitle {
  color: #c8daee !important;
}

.section-dark .card-clean {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(173, 214, 255, 0.2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

footer {
  background: #0f2f52;
  color: #d6e6f6;
  padding: 22px 0;
  font-size: 0.95rem;
}

.site-footer {
  background: linear-gradient(145deg, #0b2a48, #113b63);
  color: #d8e7f7;
  padding: 56px 0 20px;
  margin-top: 20px;
}

.site-footer h6 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.footer-logo {
  width: auto;
  height: 52px;
  max-width: 220px;
  object-fit: contain;
}

.footer-text {
  color: #c8dbee;
  margin-bottom: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #c8dbee;
  text-decoration: none;
}

.footer-links a:hover {
  color: #a6f3de;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 10px;
  color: #c8dbee;
}

.footer-contact a {
  color: #c8dbee;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #a6f3de;
}

.footer-bottom {
  border-top: 1px solid rgba(180, 212, 242, 0.2);
  margin-top: 28px;
  padding-top: 14px;
  font-size: 0.9rem;
  color: #bed5ec;
}

.footer-bottom .footer-credit {
  font-size: 0.85rem;
  color: #9bb9d6;
}

.footer-bottom .footer-credit a {
  color: #c4ddf4;
  text-decoration: none;
}

.footer-bottom .footer-credit a:hover {
  color: #e8f2ff;
  text-decoration: underline;
}

.bg-light {
  background: linear-gradient(180deg, #e9f7f1 0%, #eff7ff 100%) !important;
}

.text-muted {
  color: #657d95 !important;
}

.form-control {
  background: #ffffff;
  border: 1px solid rgba(63, 140, 255, 0.28);
  color: #264665;
}

.form-control:focus {
  background: #ffffff;
  color: #264665;
  border-color: #3f8cff;
  box-shadow: 0 0 0 0.2rem rgba(63, 140, 255, 0.25);
}

.form-label {
  color: #315575;
}

.animate-fade-up {
  animation: fadeUp 0.8s ease forwards;
}

.animate-delay-1 {
  animation-delay: 0.15s;
}

.animate-delay-2 {
  animation-delay: 0.3s;
}

.animate-delay-3 {
  animation-delay: 0.45s;
}

.animate-fade-up,
.animate-pulse {
  opacity: 0;
}

.animate-pulse {
  animation: pulseIn 1.2s ease forwards;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseIn {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeUpSoft {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.25rem;
  }
  .hero .carousel-item img {
    height: 520px;
  }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(15, 47, 82, 0.86) 0%, rgba(15, 47, 82, 0.58) 58%, rgba(15, 47, 82, 0.28) 100%);
  }
}

@media (max-width: 576px) {
  .hero .carousel-item img {
    height: 500px;
  }
}

.product-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.product-filter-bar .btn-filter {
  border: 1px solid rgba(19, 138, 120, 0.35);
  background: #fff;
  color: var(--dark);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.92rem;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.product-filter-bar .btn-filter:hover {
  background: rgba(31, 174, 138, 0.12);
  color: var(--dark);
}

.product-filter-bar .btn-filter.active {
  background: linear-gradient(135deg, #1fae8a, #3f8cff);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(31, 174, 138, 0.25);
}

.category-card-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.category-card-link:hover {
  text-decoration: underline;
  color: #0f5c4f;
}
