/* =====================
   Custom Theme Variables
===================== */
:root {
    --primary-color: #F6F6F6;
    --secondary-color: #727a65;
    --accent-color: #28a745;
    --font-family-base: 'Roboto', sans-serif;
    --blfg-button-bg: #506981;
    --blfg-button-hover: #40566b;
    --blfg-button-active: #2f3d4f;
    --blfg-button-text: #ffffff;
    --card-blue-bg: #506981;
    --card-blue-border: #506981;
    --card-blue-text: #ffffff;
    --badge-blue-bg: #90caf9;
}

/* =====================
   Bootstrap Overrides
===================== */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body, header, .navbar {
    font-size: 14px;
    margin: 0 !important;
    padding: 0 !important;
    font-family: var(--font-family-base);
    background-color: var(--primary-color);
    margin-bottom: 60px;
}

.navbar .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/* =====================
   General Styling
===================== */
.navbar {
    background-color: var(--secondary-color) !important;
}

.navbar .nav-link {
    color: #ffffff !important;
    font-weight: 600;
}

.navbar .nav-link:hover {
    text-decoration: underline;
    color: #f8f9fa !important;
}

.footer {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.footer a {
    color: #ffffff;
    text-decoration: underline;
}

.footer a:hover {
    color: #f8f9fa;
}

.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 var(--primary-color);
}

/* =====================
   Custom Components
===================== */
.btn-theme {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

/* =====================
   Form Styling
===================== */
.page-secondary-bg {
    background-color: var(--secondary-color);
    min-height: 100vh;
    padding: 2rem 0;
}

.custom-primary-bg {
    background-color: var(--primary-color);
    color: black;
}

.custom-primary-link {
    color: black;
    text-decoration: underline;
}

.custom-primary-link:hover {
    color: var(--accent-color);
}

.card-primary {
    background-color: var(--primary-color);
    color: white;
    border-radius: 0.375rem;
}

.card-primary .form-label,
.card-primary .form-control,
.card-primary select,
.card-primary .text-danger {
    color: #fff;
}

.card-primary .form-control,
.card-primary select {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #fff;
}

/* =====================
   Button Styling
===================== */
.btn,
input[type="submit"].btn,
input[type="button"].btn,
input[type="reset"].btn {
    background-color: var(--blfg-button-bg);
    color: var(--blfg-button-text);
    border: none;
    border-radius: 0.375rem;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.btn:hover,
input[type="submit"].btn:hover,
input[type="button"].btn:hover,
input[type="reset"].btn:hover {
    background-color: var(--blfg-button-hover);
}

.btn:active,
.btn:focus,
.btn:active:focus,
input[type="submit"].btn:active,
input[type="submit"].btn:focus,
input[type="submit"].btn:active:focus,
input[type="button"].btn:active,
input[type="button"].btn:focus,
input[type="button"].btn:active:focus,
input[type="reset"].btn:active,
input[type="reset"].btn:focus,
input[type="reset"].btn:active:focus {
    background-color: var(--blfg-button-active);
    box-shadow: 0 0 0 0.2rem rgba(80, 105, 129, 0.5);
    outline: none;
}

/* =====================
   Card & Dashboard Styling
===================== */
.agent-progress-card {
    background-color: var(--card-blue-bg);
    border: 1px solid var(--card-blue-border);
    color: var(--card-blue-text);
    width: 150px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.agent-progress-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.agent-progress-card .card-title,
.agent-progress-card .badge {
    color: var(--card-blue-text) !important;
}

.agent-progress-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0.5rem 0.25rem;
}

.agent-progress-title {
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.2;
}

.dashboard-card {
    background-color: #fff;
    border: none;
    border-radius: 1rem;
}

.dashboard-card .card-body {
    padding: 1.25rem;
}

.dashboard-heading {
    color: var(--secondary-color);
}

.report-icon {
    color: var(--card-blue-text);
}

.report-card {
    padding: 1rem;
    min-height: 100px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.report-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/* =====================
   Miscellaneous
===================== */
.hover-zoom {
    transition: transform 0.2s;
}

.hover-zoom:hover {
    transform: scale(1.03);
}

.badge-custom {
    background-color: var(--badge-blue-bg);
    color: white;
    font-size: 0.85rem;
    padding: 0.4em 0.6em;
}

.blfg-button {
    background-color: var(--blfg-button-bg);
    color: var(--blfg-button-text);
    border: none;
    font-size: 0.9rem;
    padding: 0.75rem;
    transition: background-color 0.2s ease-in-out;
}

.blfg-button:hover {
    background-color: var(--blfg-button-hover);
}

.blfg-button:active {
    background-color: var(--blfg-button-active);
}

/* =====================
   Dropdown Styling
===================== */
.custom-select-wrapper {
    position: relative;
    display: inline-block;
    width: auto;
}

.compact-select {
    padding-right: 2rem;
    min-width: 200px;
    width: auto;
}

#loadingSpinner {
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

.bg-custom {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.text-accent {
    color: var(--accent-color);
}

.hover-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.hover-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.08);
}

.card .fs-3 {
    font-size: 1.75rem !important;
}

.card .small {
    font-size: 0.875rem;
}


/* =====================
   Landing CSS
===================== */

/* Landing page wrapper to namespace all styles */
.landing-page {
    padding-left: 4rem;
    padding-right: 4rem;
}

@media (max-width: 768px) {
    .landing-page {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Hero section with gradient background */
.landing-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #cfe0ff 100%);
    border-radius: 0.75rem;
    padding: 4rem 2rem;
    margin-bottom: 4rem;
    text-align: center;
}

    .landing-hero h1 {
        font-weight: 700;
    }

    .landing-hero p {
        font-size: 1.25rem;
    }

    .landing-hero .btn {
        border-radius: 0.5rem;
        font-weight: 600;
        padding: 0.75rem 2.5rem;
    }

/* Cards for each section */
.landing-card {
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

    .landing-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

/* Bold card titles */
.landing-card-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* Section headers and subtext */
.landing-section-header {
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
}

.landing-section-subtext {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #555;
}

/* CTA button at the bottom */
.landing-cta {
    text-align: center;
    margin: 4rem 0;
}

    .landing-cta .btn {
        border-radius: 0.5rem;
        font-weight: 600;
        padding: 0.75rem 2.5rem;
    }

.landing-how-img {
    max-width: 90%;
    border-radius: 3rem;
}

/* Public Index Page Styles (unique selectors to avoid conflicts) */
.public-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.public-hero-subtext {
    font-size: 1.25rem;
    color: #555;
}

.public-hero {
    background-color: var(--secondary-color);
    color: white;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
}

    .public-hero h1,
    .public-hero p {
        color: white;
    }


.public-section-header {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
}

.public-section-text,
.public-section-subtext {
    font-size: 1.1rem;
    color: #444;
}

.public-card {
    border-radius: 1rem;
}

.public-card-title {
    font-weight: 600;
}

.public-providers-img {
    max-height: 150px;
    object-fit: contain;
}

/* Public Enhance Life Alternating Layout */
.public-section-subheader {
    font-size: 1.75rem;
    font-weight: 600;
    color: #222;
}

.public-enhance-img {
    max-height: 350px;
    object-fit: cover;
}

.public-section-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

.public-secure-img {
    max-width: 85%;
    border-radius: 2rem; /* Increase this for more rounding */
    object-fit: cover;
}
/* Fix buttons to use your green as text and border, white background */
.custom-contact-btn {
    background-color: white;
    color: var(--secondary-color) !important;
    border: 2px solid var(--secondary-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

    .custom-contact-btn:hover {
        background-color: var(--secondary-color);
        color: white !important;
        outline: 2px solid white;
    }

/* Optional: remove default Bootstrap blue links globally */
.nav-link {
    color: white !important;
    font-size: 1.1rem;
    font-weight: 600;
}


