:root {
  --primary-green: #16a34a;
  --secondary-orange: #f97316;
  --dark-blue: #003d82;
  --dark-gray: #374151;
  --light-gray: #f3f4f6;
  --white: #ffffff;
  --border-radius: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--dark-gray);
  background-color: var(--white);
  line-height: 1.6;
}

a {
  color: var(--dark-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-orange);
  text-decoration: underline;
}

.navbar {
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.navbar-brand {
  color: var(--dark-blue) !important;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.nav-link {
  color: var(--dark-gray) !important;
  font-weight: 500;
  margin-left: 1.5rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--dark-blue) !important;
}

.hero-section {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

.hero-content {
  color: var(--white);
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--dark-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #002c5f;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,61,130,0.3);
  color: var(--white);
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--secondary-orange);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #e25a0f;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(249,115,22,0.3);
  color: var(--white);
  text-decoration: none;
}

.btn-success {
  background-color: var(--primary-green);
  color: var(--white);
}

.btn-success:hover {
  background-color: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(22,163,74,0.3);
  color: var(--white);
  text-decoration: none;
}

.btn-block {
  display: block;
  width: 100%;
}

h2 {
  color: var(--dark-blue);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

h3 {
  color: var(--dark-blue);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

h4 {
  color: var(--dark-blue);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

section {
  padding: 3rem 0;
}

section.py-5 {
  padding: 3rem 0;
}

section.bg-light {
  background-color: var(--light-gray);
}

.step-card {
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-color: var(--dark-blue);
}

.step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  background-color: var(--dark-blue);
  color: var(--white);
  border-radius: 50%;
  line-height: 50px;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-list {
  list-style: none;
  text-align: left;
  font-size: 0.95rem;
  margin: 1rem 0;
}

.step-list li {
  padding: 0.5rem 0;
  color: var(--dark-gray);
}

.step-list li:before {
  content: "→ ";
  color: var(--primary-green);
  font-weight: 700;
  margin-right: 0.5rem;
}

.step-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--dark-blue);
  font-weight: 600;
  transition: all 0.3s ease;
}

.step-link:hover {
  color: var(--secondary-orange);
  transform: translateX(4px);
}

.check-box {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.check-box:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.check-box strong {
  color: var(--dark-blue);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.check-box p {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.product-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.product-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-card h4 {
  padding: 1rem 1rem 0 1rem;
  color: var(--dark-blue);
}

.product-desc {
  padding: 0 1rem;
  color: var(--dark-gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

.product-meta {
  padding: 1rem;
  background-color: var(--light-gray);
  font-size: 0.9rem;
}

.product-meta p {
  margin-bottom: 0.5rem;
  color: var(--dark-gray);
}

.product-footer {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
}

.price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-green);
}

.badge {
  margin: 0.5rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  border-radius: 20px;
  position: absolute;
  top: 1rem;
  background-color: var(--primary-green);
  color: var(--white);
}

.badge-primary {
  background-color: var(--dark-blue);
}

.badge-secondary {
  background-color: var(--light-gray);
  color: var(--dark-gray);
}

.badge-warning {
  background-color: var(--secondary-orange);
}

.badge-info {
  background-color: #0891b2;
}

.bg-section {
  position: relative;
  background-attachment: fixed;
}

.bg-overlay {
  background: rgba(255, 255, 255, 0.92);
  padding: 3rem 0;
  position: relative;
}

.bg-overlay h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.bg-item {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.bg-item h4 {
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.split-section {
  background: var(--light-gray);
}

.split-list {
  padding-left: 2rem;
}

.split-list li {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--dark-gray);
}

.chips-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.chip {
  display: inline-block;
  background: var(--white);
  border: 2px solid var(--dark-blue);
  color: var(--dark-blue);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.chip:hover {
  background: var(--dark-blue);
  color: var(--white);
}

.table {
  margin-bottom: 0;
}

.table thead th {
  background-color: var(--dark-gray);
  color: var(--white);
  border: none;
  font-weight: 700;
}

.table tbody tr {
  border-bottom: 1px solid var(--light-gray);
}

.table tbody tr:hover {
  background-color: var(--light-gray);
}

.table-responsive {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  margin: 0;
}

.faq-card {
  background: var(--white);
  border-left: 4px solid var(--dark-blue);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.faq-card:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transform: translateX(4px);
}

.faq-card h4 {
  color: var(--primary-green);
  margin-bottom: 0.75rem;
}

.faq-card p {
  color: var(--dark-gray);
  font-size: 0.95rem;
}

.mini-reminder {
  background: var(--light-gray);
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--primary-green);
  font-size: 0.95rem;
  color: var(--dark-gray);
}

.category-btn {
  background: var(--white);
  border: 2px solid var(--light-gray);
  color: var(--dark-gray);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
  background: var(--dark-blue);
  color: var(--white);
  border-color: var(--dark-blue);
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info-box {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-info-box:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.contact-info-box a {
  color: var(--dark-blue);
  font-weight: 600;
}

.form-control {
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.95rem;
}

.form-control:focus {
  border-color: var(--dark-blue);
  box-shadow: 0 0 0 3px rgba(0,61,130,0.1);
  outline: none;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label {
  color: var(--dark-gray);
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
}

.thank-you-box {
  text-align: center;
  padding: 3rem;
  background: var(--light-gray);
  border-radius: var(--border-radius);
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-box h1 {
  color: var(--primary-green);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.thank-you-box p {
  color: var(--dark-gray);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.about-rule {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border-left: 4px solid var(--primary-green);
}

.about-rule h4 {
  color: var(--primary-green);
}

.scenario-box {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border-top: 3px solid var(--dark-blue);
}

.scenario-box h4 {
  color: var(--dark-blue);
  margin-bottom: 0.75rem;
}

.rule-box {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.rule-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--dark-blue);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0;
}

.rule-box p {
  margin-bottom: 0;
  color: var(--dark-gray);
}

.info-banner {
  background: var(--light-gray);
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius);
  color: var(--dark-gray);
}

.footer {
  background-color: #1f2937;
  color: var(--white);
  margin-top: 3rem;
}

.footer h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1rem;
}

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

.footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer hr {
  border-color: rgba(255,255,255,0.1);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-gray);
  color: var(--white);
  padding: 1rem;
  display: none;
  z-index: 1000;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

.cookie-banner.active {
  display: flex;
}

.cookie-banner p {
  margin-bottom: 0;
  margin-right: 1rem;
  font-size: 0.9rem;
}

.cookie-banner button {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .product-card {
    margin-bottom: 1rem;
  }

  .split-section .row {
    flex-direction: column;
  }

  .split-section img {
    order: -1;
    margin-bottom: 1.5rem;
  }

  .table-responsive {
    font-size: 0.85rem;
  }

  .cookie-banner {
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-banner p {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  .cookies-banner button {
    width: 100%;
  }
}
