
:root {
    /* Example: Bootstrap sets these; if not present you can set defaults */
    /* --bs-body-color: #212529;
     --bs-body-color-rgb: 33, 37, 41;
     --bs-body-bg: #fff;
  */
    /* Fallback colors (used when color-mix not supported) */
    --card-bg-color-fallback: rgba(var(--bs-body-color-rgb, 33, 37, 41), 0.04);
    --header-footer-bg-color-fallback: rgba(var(--bs-body-color-rgb, 33, 37, 41), 0.06);
    /*
    Preferred (modern) values:
    - For light themes: mix a little of the body text color into white to produce
      a subtle off-white card background.
    - For header/footer we mix even less (lighter).
  */
    --card-bg-color: color-mix(in srgb, white 92%, var(--bs-body-color) 8%);
    --header-footer-bg-color: color-mix(in srgb, white 96%, var(--bs-body-color) 4%);
    --hero-bg: linear-gradient(90deg, rgba(127,127,127,0.06), rgba(127,127,127,0.03))
}

/* Dark theme override: make card/header slightly darker than page background */
[data-bs-theme="dark"] {
    --card-bg-color-fallback: rgba(var(--bs-body-color-rgb, 233, 236, 239), 0.06);
    --header-footer-bg-color-fallback: rgba(var(--bs-body-color-rgb, 233, 236, 239), 0.08);
    /* Mix text color into black to produce a subtle dark card background */
    --card-bg-color: color-mix(in srgb, black 92%, var(--bs-body-color) 8%);
    --header-footer-bg-color: color-mix(in srgb, black 88%, var(--bs-body-color) 12%);
    
   
}



html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}


body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 1 auto; /* grow to fill remaining space */
}

footer {
    margin-top: auto;
}

.home-card {
    background-color: var(--card-bg);
    color: var(--card-text);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    backdrop-filter: blur(10px) saturate(120%);
    border-radius: 1rem;
    border: 1px solid var(--card-border);
    box-shadow: rgb(0, 0, 0, 0.075) 0px 2px 4px 0px;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.content-wrapper {
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    backdrop-filter: blur(10px) saturate(120%);
    border-radius: 1rem;
    border: 1px solid var(--bs-border-color-translucent);
    box-shadow: rgb(0, 0, 0, 0.075) 0px 2px 4px 0px;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
    padding-bottom: 1.5rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 0 rgba(255, 165, 0, 0);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 165, 0, 0.7);
    }

    100% {
        box-shadow: 0 0 0 rgba(255, 165, 0, 0);
    }
}

.pulse-anim {
    animation: pulse 0.4s ease-in-out;
}

.glow-anim {
    animation: glowPulse 0.8s ease-out;
}
