/* General Body & Typography */
body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #4f4f4f;
    background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    color: #000349; /* Main brand color */
}

h2.text-center {
    text-transform: uppercase;
}

.text-sc {
    font-variant: small-caps;
}

.embed-responsive {
    border-radius: .5rem;
}

.lead {
    font-weight: 300;
    color: #6c757d;
}

/* Hero Section */
.hero-section h1 {
    font-weight: 500;
    font-size: 2.2rem;
    line-height: 1.4;
}

/* Benefits Section */
.benefits-section h2 {
    font-weight: 500;
    margin-bottom: 2.5rem !important;
}


.row.benefits-row {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.row.benefits-row > .benefits-container {
    padding: 2em 0;
}

.benefits-section .list-group-item {
    cursor: default;
    border: none;
    padding-left: 2.5rem;
    font-size: 1.1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f1f1;
    position: relative;
    transition: all 0.3s ease-in-out;
    background: inherit !important;
}

.benefits-section .list-group-item:hover {
    color: #000349;
}

.benefits-section .list-group-item:last-child {
    border-bottom: none;
}

.benefits-section .list-group-item::before {
    content: "\2713";
    color: #000349; /* Main brand color */
    font-weight: bold;
    position: absolute;
    left: 0.5rem;
    top: 1rem;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    border-radius: .5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.card .card-title {
    font-size: 1em;
    font-weight: 500;
    color: #343a40;
    min-height: 6em;
}

/* Buttons */
.btn-primary-custom {
    color: #f0f0f0 !important;
    background-color: #000349 !important; /* Main brand color */
    border-color: #000349 !important; /* Main brand color */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 3, 73, 0.2) !important;
}

.btn-primary-custom:hover {
    background-color: #00045e !important; /* Slightly lighter shade for hover */
    border-color: #00045e !important;
    box-shadow: 0 6px 15px rgba(0, 3, 73, 0.3) !important;
    transform: translateY(-2px);
}

/* Horizontal Rule */
hr {
    border-top: 1px solid #e9ecef;
}

/* Hero Banner with Text Overlay */
.hero-banner-container {
    background-image: url('/media/img/banner.jpg');
    background-size: cover;
    background-position: center center;
    padding: 5rem 0;
    position: relative;
    object-fit: cover;
    background-attachment: fixed;
}

.hero-banner-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 3, 73, 0.1);
}

.hero-text-box {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: .5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.hero-text-box h1 {
    font-size: 1.8rem;
    color: #000349;
}

.hero-text-box .lead {
    color: #4f4f4f;
    font-size: 1rem;
    font-weight: 400;
}


/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    padding: 1rem 0 !important;
}

img.avatar {
    max-width: 250px;
    height: auto;
}

@media all and (max-width: 979px) {
    .navbar-brand {
        padding-left: 1em;
    }

    .hero-banner-container {
        min-height: 600px;
    }
}

.navbar-brand {
    text-align: center;
    font-variant: small-caps;
    /* font-weight: bold; */
}

.navbar-brand img {
    max-height: 65px;
}

.navbar .nav-item {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.navbar .nav-link {
    color: #4f4f4f;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease, border-color 0.3s ease;
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
}

.navbar .nav-link:hover {
    color: #000349;
    border-bottom-color: #000349;
}

.navbar .nav-link.active {
    color: #000349;
    font-weight: 700;
    border-bottom-color: #000349;
}

.navbar-nav {
    text-align: right;
}

/* Footer */
.site-footer {
    background-color: #f4f4f4;
    color: #4f4f4f;
    font-size: 0.9rem;
    padding-top: 3rem;
}

.site-footer h5 {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000349;
}

.site-footer a {
    color: #4f4f4f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #000349;
}

.site-footer address {
    line-height: 1.8;
}

.footer-nav-header {
    font-weight: 500;
    color: #6c757d;
}

.footer-bottom-bar {
    background-color: rgba(0, 0, 0, 0.04);
    color: #6c757d;
    padding: 1.4rem 0;
}

.list-unstyled {
    padding-left: 0;
    list-style: none;
}

/* Form Styles */
.form-group .invalid-feedback {
    display: block; /* Override Bootstrap's default hidden state for JS validation */
    font-size: 0.875em;
    color: #dc3545; /* Bootstrap's danger color */
    margin-top: 0.25rem;
}

/* Ensure form elements are responsive */
@media (max-width: 767.98px) {
    .card {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

/* Styles for insurance coverage tables */
.table td, .table th {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    background-color: #f8f9fa;
}

.table-bordered {
    border: 1px solid #dee2e6;
}

.table-bordered td, .table-bordered th {
    border: 1px solid #dee2e6;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

