/* Temporary fix for text visibility issues */

/* Ensure hero section text is visible */
.bg-gradient {
    color: white !important;
}

.bg-gradient h1,
.bg-gradient .display-4,
.bg-gradient p,
.bg-gradient .lead {
    color: white !important;
}

/* Force white text in hero section */
.text-white {
    color: white !important;
}

/* Specific fix for hero section */
section.bg-gradient * {
    color: white !important;
}

/* Make the main heading green */
section.bg-gradient h1,
section.bg-gradient .display-4 {
    color: #198754 !important; /* Bootstrap success green */
    /* text-shadow removed for cleaner look */
}

/* Except for form elements */
section.bg-gradient .form-control,
section.bg-gradient input {
    color: #212529 !important;
}

/* Ensure card text is visible */
.card {
    background-color: white !important;
    color: #212529 !important;
}

.card-body {
    color: #212529 !important;
}

.card-text {
    color: #6c757d !important;
}

/* Ensure all body text is dark */
body {
    color: #212529 !important;
    background-color: white !important;
}

/* Ensure section backgrounds */
section {
    background-color: white;
}

section.bg-light {
    background-color: #f8f9fa !important;
}

/* Fix any potential Bootstrap overrides */
.text-white {
    color: white !important;
}

.text-dark {
    color: #212529 !important;
}

.text-muted {
    color: #6c757d !important;
}

/* Ensure links are visible */
a {
    color: #0d6efd;
}

a:hover {
    color: #0a58ca;
}

/* Debug - add borders to see elements */
.debug-borders * {
    border: 1px solid red !important;
}

/* Fix search box clickability */
.form-control,
.form-control-lg,
input[type="text"],
input[name="search"] {
    position: relative !important;
    z-index: 10 !important;
    pointer-events: auto !important;
}

/* Ensure search form is clickable */
form[method="get"] {
    position: relative !important;
    z-index: 10 !important;
}

/* Fix any potential overlay issues */
.bg-gradient::before,
.bg-gradient::after {
    pointer-events: none !important;
    z-index: 0 !important;
}

/* Ensure search button is clickable */
.btn,
button[type="submit"] {
    position: relative !important;
    z-index: 10 !important;
    pointer-events: auto !important;
}

/* Fix container positioning */
.container {
    position: relative !important;
    z-index: 1 !important;
}

/* Prevent navbar brand from breaking */
.navbar-brand {
    white-space: nowrap !important;
}