/* ==========================================================
   COLOR VARIABLES
   ========================================================== */
:root {
  --cod-green: #138a5b;
  --cod-green-soft: #0a8f55;
  --cod-green-dark: #0b3f2e;

  --cod-gold: #d4af37;
  --cod-gold-light: #f3d66b;

  --cod-white: #ffffff;
  --cod-dark: #111111;

  --cod-shadow-sm: 0 10px 25px rgba(0, 0, 0, 0.06);
  --cod-shadow-md: 0 14px 30px rgba(0, 0, 0, 0.15);
  --cod-shadow-lg: 0 18px 45px rgba(0, 0, 0, 0.15);
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.cod-hero {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--cod-green-dark) 25%, #0f5132 75%) 0%,
    color-mix(in srgb, var(--cod-green) 40%, #0f7450 60%) 50%,
    var(--cod-green-dark) 100%
  );
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

/* Fallback if color-mix not supported */
@supports not (background: color-mix(in srgb, #000 50%, #fff 50%)) {
  .cod-hero {
    background: linear-gradient(135deg, #0f5132 0%, #0f7450 50%, #0b3f2e 100%);
  }
}

.cod-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* Floating hero card (glass) */
.cod-hero-card {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* Fallback for browsers without backdrop-filter */
@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .cod-hero-card {
    background: rgba(255, 255, 255, 0.12);
  }
}

.cod-hero-logo {
  width: 85px;
  height: auto;
}

.cod-btn-glow {
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

/* Floating animation */
.cod-float {
  animation: codFloat 4s ease-in-out infinite;
}
@keyframes codFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Fade-up reveal */
.cod-fade-up {
  animation: codFadeUp 1s ease-out;
}
@keyframes codFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================
   UPDATED SECTION BACKGROUNDS — GREEN THEME
   ========================================================== */

/* Default green-soft section background */
.cod-section {
  background: linear-gradient(
    135deg,
    #f4fff9 0%,
    #e8f7ef 40%,
    #e1f3ea 100%
  );
}

/* Alternate section background */
.cod-section-alt {
  background: linear-gradient(
    135deg,
    #f1fff7 0%,
    #ddf5e8 35%,
    #d3efdf 100%
  );
}

/* Process section (works with or without bg-light class) */
section#process,
section#process.bg-light {
  background: linear-gradient(
    135deg,
    #f3fff8 0%,
    #e4f7eb 40%,
    #d8f0e2 100%
  ) !important;
}

/* FAQ section */
section#faq.cod-section,
section#faq {
  background: linear-gradient(
    135deg,
    #f5fff9 0%,
    #e7f6eb 35%,
    #dcf0e3 100%
  );
}

/* Contact */
.cod-contact-section {
  scroll-margin-top: 80px;
  background: linear-gradient(
    135deg,
    #f4fff9 0%,
    #e6f7ec 35%,
    #dff2e7 100%
  );
}

/* CTA strip */
.cod-cta-strip {
  background: linear-gradient(
    90deg,
    var(--cod-green-dark),
    var(--cod-green),
    var(--cod-green-soft)
  );
}

/* ==========================================================
   FEATURE CARDS / INFO CARDS / STEPS
   ========================================================== */
.cod-info-card,
.cod-feature-card,
.cod-step-card {
  background: rgba(255, 255, 255, 0.92);
  padding: 1.8rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--cod-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cod-info-card:hover,
.cod-feature-card:hover,
.cod-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--cod-shadow-md);
}

/* Icon circles */
.cod-icon-circle,
.cod-feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(19, 138, 91, 0.08);
  color: var(--cod-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto;
}

/* ==========================================================
   STATS PILLS UNDER HERO
   ========================================================== */
.cod-stats-row {
  position: relative;
  z-index: 2;
}

.cod-pill {
  background: rgba(0, 0, 0, 0.45);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  border: 1px solid rgba(243, 214, 107, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.cod-pill-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.cod-pill-value {
  font-weight: 700;
  font-size: 1rem;
}

/* ==========================================================
   CONTACT SECTION – GLASSMORPHISM CARDS
   ========================================================== */
.cod-contact-card {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 1.1rem;
  padding: 1.75rem 1.6rem;
  border: 1px solid rgba(227, 234, 240, 0.7);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cod-contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--cod-shadow-lg);
  border-color: rgba(5, 73, 36, 0.5);
}

.cod-contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 73, 36, 0.08);
  color: var(--cod-green);
  font-size: 1.25rem;
}

/* Map card */
.cod-map-card {
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(227, 234, 240, 0.7);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cod-map-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cod-shadow-lg);
  border-color: rgba(212, 175, 55, 0.8);
}

/* ==========================================================
   RESPONSIVE FIXES (GENERAL)
   ========================================================== */
@media (max-width: 991.98px) {
  .navbar-nav .nav-link {
    padding-left: 0;
    padding-right: 0;
  }
  .cod-hero {
    padding: 90px 0;
  }
}

/* ==========================================================
   BUTTON SYSTEM – GREEN + GOLD THEME
   ========================================================== */

/* Primary Gold Button */
.btn-gold {
  background: linear-gradient(135deg, var(--cod-gold), var(--cod-gold-light));
  color: #1b1b1b;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.6rem;
  transition: all 0.25s ease;
}

.btn-gold:hover,
.btn-gold:focus {
  background: linear-gradient(135deg, var(--cod-gold-light), var(--cod-gold));
  color: #000;
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.45);
  transform: translateY(-2px);
}

/* Glow effect (Hero CTA) */
.cod-btn-glow {
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.65);
}

/* Outline Light (Hero QR Scan button) */
.btn-outline-light {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  transition: all 0.25s ease;
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Outline Green (WhatsApp etc.) */
.btn-outline-success {
  color: var(--cod-green);
  border: 1px solid rgba(19,138,91,0.4);
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  transition: all 0.25s ease;
}

.btn-outline-success:hover {
  background: rgba(19,138,91,0.08);
  border-color: var(--cod-green);
  box-shadow: 0 8px 22px rgba(19,138,91,0.25);
}

/* Light Button (CTA strip) */
.btn-light {
  background: #ffffff;
  color: var(--cod-green-dark);
  border-radius: 999px;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  transition: all 0.25s ease;
}

.btn-light:hover {
  background: #f9fafb;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}

/* ==========================================================
   BADGES
   ========================================================== */
.cod-badge {
  background: rgba(212, 175, 55, 0.15);
  color: var(--cod-gold-light);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ==========================================================
   LINKS (CONTACT / INLINE)
   ========================================================== */
a {
  transition: color 0.2s ease;
}

a.text-dark:hover {
  color: var(--cod-green);
}

a.text-decoration-none:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================
   ICON COLOR TUNING
   ========================================================== */
.text-gold {
  color: var(--cod-gold);
}

.bi {
  vertical-align: -0.12em;
}

/* ==========================================================
   BUTTON SIZING FIXES (MOBILE)
   ========================================================== */
@media (max-width: 576px) {
  .btn-lg {
    padding: 0.6rem 1.4rem;
    font-size: 0.95rem;
  }
}

/* ==========================================================
   NAVBAR (REFRACTORED) – consistent on real mobile
   Uses Bootstrap Icons hamburger (bi-list)
   ========================================================== */

.cod-navbar{
  background: linear-gradient(90deg, var(--cod-green-dark), var(--cod-green), var(--cod-green-soft));
}

/* Brand (logo + text) */
.cod-navbar .navbar-brand{
  display: flex;
  align-items: center;
  gap: .5rem;
  padding-top: .35rem;
  padding-bottom: .35rem;
  max-width: calc(100% - 76px); /* reserve space for toggle */
}

.cod-navbar .cod-logo{
  height: 36px;
  width: auto;
  max-height: 36px;
  object-fit: contain;
  display: block;
}

/* Avoid wrapping / overlap */
.cod-navbar .navbar-brand span{
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Toggler */
.cod-navbar .cod-nav-toggle{
  border: 1px solid rgba(243, 214, 107, 0.55);
  background: rgba(0,0,0,0.15);
  border-radius: .85rem;
  padding: .45rem .65rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.cod-navbar .cod-nav-toggle:focus{
  box-shadow: 0 0 0 .2rem rgba(212,175,55,0.28);
}

.cod-navbar .cod-nav-toggle i{
  color: #fff;              /* change to var(--cod-gold) if you want gold */
  font-size: 1.85rem;
  line-height: 1;
}

/* Ensure Bootstrap default SVG icon never interferes */
.cod-navbar .navbar-toggler-icon{ display: none !important; }

/* Collapsed menu spacing */
@media (max-width: 991.98px){
  .cod-navbar .navbar-collapse{
    padding-top: .75rem;
    padding-bottom: .75rem;
  }
  .cod-navbar .navbar-nav .nav-link{
    padding: .65rem 0;
  }
}

/* Very small screens: shrink logo + hide brand text */
@media (max-width: 420px){
  .cod-navbar .cod-logo{
    height: 32px;
    max-height: 32px;
  }
  .cod-navbar .navbar-brand span{
    display: none;
  }
  .cod-navbar .navbar-brand span{
    display: inline !important;      /* override old hide */
    font-size: 0.85rem;
    max-width: 160px;               /* prevents collision */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }




}
