body {
  color: #1E3A8A;
  background: #F8FAFC;
  font-weight: 400;
  line-height: 1.75;
  font-size: 1.125rem;
}
p{
  color: #1E3A8A;
  font-weight: 400;
  line-height: 1.75;
  font-size: 18px;   
}

label{
  color: #1E3A8A;
  font-weight: 400;
  line-height: 1.75;
  font-size: 18px;   
}

a{
    color: #4B5768;
    font-weight: 700;
}
a.hover{
    color: #4B5768;
    font-weight: 900;
    font-style: italic;
}

.row{
     width:90%; 
     margin: 20px auto 20px auto;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1E3A8A;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1E3A8A;
    width: 100%;
    margin-top: 0;
    padding-top: 1rem;
    border-top: 2px solid #444444;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E293B;
}

h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1E293B;
}

.CTA{
    color: #FFFF00;
    background:  #AA3113;
    font-weight: 900;
}
.custom-navbar {
    background-color: #1E3A8A !important;
    padding: 1rem 0;
}

.navbar-brand, .nav-link {
    color: #FFFFFF !important;
    font-weight: 500;
}

.nav-link:hover, .nav-link:focus {
    color: #EA580C !important;
}

.nav-link.active {
    background-color: #EA580C !important;
    color: #FFFFFF !important;
    border-radius: 0.375rem;
}

.navbar-toggler {
    border-color: #FFFFFF;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.cta-button {
    background-color: #AA3113;
    border: none;
    color: #FFFF00;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #C2410C;
    transform: translateY(-2px);
}
.footer{
  background: #1E3A8A;
  color: #F8FAFC;
  font-weight: 400;
  line-height: 1.75;
  font-size: 1.125rem;
}

p.footer{
  color: #F8FAFC;
  font-weight: 400;
  line-height: 1.75;
  font-size: 18px;     
  text-align: center;
}
 a.bottom{
    color: #EA580C;
    font-weight: 900;
    font-style: italic;    
 }


.notice {
    background-color: #e3f2fd;
    border-left: 4px solid #1E3A8A;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}

@media (prefers-color-scheme: dark) {
    .notice {
        background-color: #0d2b4e;
    }
}


.counties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.county-card {
    border: 2px solid #1E3A8A;
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.2s ease;
    margin: 20px auto 20px auto;
}

.county-card h3 {
    color: #1E3A8A;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #1E3A8A;
    padding-bottom: 0.5rem;
}


.cities-list li::before {
    font-size: 18px;
    color: #228B22;
    font-weight: 900;
    margin-right: 0.5rem;
    content: "✓";
}

.cities-list li{
    list-style-type: none;
    border-bottom: 2px solid #1E3ABA;
}

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  max-width:  1200px;
  margin:  32px auto 64px auto;
}

.image-gallery > li {
  height: 60px;
  cursor: pointer;
  position: relative;
  list-style-type:  none;
}

.image-gallery li img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  vertical-align: middle;
  border-radius: 5px;
}

.masonry-container {
    
    column-gap: 1rem;
}

.masonry-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 1rem;
    break-inside: avoid;
}

.masonry-img {
    height: 48px;
    width: auto;
    object-fit: cover;
    border-radius: 0.375rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .masonry-container {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .masonry-container {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .masonry-container {
        column-count: 1;
    }
}
