/* --------------------  GLOBAL ELEMENTS  -------------------- */
.logo img {
  width: 150px;
  height: 150px;
  border-radius: 5px;
}

/* Headings that appear below the fold */
h3, h4, h5, h6 {
  color: #000;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

/* --------------------  CONTACT BOX  -------------------- */
.contact-info {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  margin: 20px auto;
  text-align: center;
}

.contact-info p {
  font-size: 18px;
  color: #333;
  margin: 10px 0;
}

.contact-info a {
  color: rgba(13,62,239,0.9);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-info a:hover {
  color: #ee0a0a;
  text-decoration: underline;
}

/* --------------------  NAVIGATION  -------------------- */
.navigation li {
  background: #fff;
  border: 1px solid #000;
  padding: 10px 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navigation li:not(:last-child) {
  border-right: none;
}

.navigation a {
  text-decoration: none;
  color: #0d4bf7;
  font-weight: bold;
  transition: color 0.3s;
}

.navigation a:hover {
  color: #ee0a0a;
}

/* --------------------  FOOTER (shared site-wide)  -------------------- */
footer {
  width: calc(100% + 40px);  /* extend past side padding */
  margin: 20px -20px -20px;
  background: #EBF3FD;
  padding: 20px 10px;
  border-top: 3px solid #0d4bf7;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  text-align: center;
  border-radius: 0;
  color: #333;
}

footer p {
  margin: 5px 0;
  font-size: 16px;
}

footer a {
  color: #0d4bf7;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  color: #ee0a0a;
}
/* Keep nav + footer consistent site-wide */
.navigation, .navigation *, footer, footer * { font-family: inherit; }

.navigation a, footer a { 
  font-weight: 700; 
  text-decoration: none; 
}

/* Prevent purple visited links */
.navigation a:link,
.navigation a:visited,
footer a:link,
footer a:visited {
  color: #0d4bf7;
}

.navigation a:hover,
footer a:hover { color: #ee0a0a; }

/* Optional: visible active link */
.navigation a[aria-current="page"] { text-decoration: underline; outline-offset: 2px; }


/* --------------------  MISC. UTILITY & COMPONENTS  -------------------- */
/* Buttons, highlight text, cards, etc., copied from your original inline block */

.highlight-text {
  color: #f40b0b;
  font-weight: bold;
  text-align: center;
}

/* Cards / boxes */
.card-box {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  margin: 20px 0;
  text-align: left;
}

.card-box p,
.card-box li {
  font-size: 16px;
  color: #333;
}

/* Image gallery frames (if used outside the critical area) */
.image-frame {
  background: #fff;
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.image-gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px 0;
}

/* --------------------  IMAGE CARDS (shared)  -------------------- */
.image-card{
  background:#fff;
  border-radius:8px;
  padding:15px;
  margin:20px auto;
  max-width:800px;
  box-shadow:0 2px 4px rgba(0,0,0,.1);
}
.image-card img{
  width:100%;
  height:auto;
  border-radius:5px;
  cursor:pointer;
}

/* --------------------  MODAL (shared)  -------------------- */
.modal{
  display:none;
  position:fixed;
  z-index:999;
  padding-top:60px;
  left:0;top:0;width:100%;height:100%;
  overflow:auto;
  background:rgba(0,0,0,.9);
}
.modal-content{
  margin:auto;
  display:block;
  max-width:90%;
  max-height:80%;
  animation:zoom .3s;
}
@keyframes zoom{
  from{transform:scale(.7);opacity:0;}
  to  {transform:scale(1);opacity:1;}
}
.modal-close{
  position:absolute;top:20px;right:35px;
  color:#fff;font-size:40px;font-weight:bold;
  cursor:pointer;
}
.modal-close:hover{color:#f00;}


/* --------------------  RESPONSIVE TWEAKS  -------------------- */
@media (max-width: 600px) {
  .container {
    padding: 15px;
  }

  /* stacked nav on mobile */
  .navigation ul {
    flex-direction: column;
    align-items: stretch;
  }

  .navigation li {
    border-right: 1px solid #000;
    border-radius: 5px;
    margin-bottom: 5px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .navigation li:not(:last-child) {
    border-bottom: 1px solid #000;
  }

  .contact-info p {
    font-size: 16px;
  }
}

