/* --- Responsive Modern Menu --- */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: #000;
  box-shadow: 0 2px 12px #0001;
  flex-wrap: wrap;
  position: relative;
}
.nav-logo img {
  height: 54px;
  background: #000;
  border-radius: 10px;
  padding: 6px;
}
nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  transition: max-height 0.3s;
  position: relative;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
nav ul li {
  position: relative;
}
nav ul li a,
nav ul li .dropbtn {
  padding: 12px 18px;
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 1em;
  background: none;
  border: none;
  outline: none;
  transition: color 0.2s;
}
nav ul li a:hover,
nav ul li .dropbtn:hover {
  color: #ec2427;
}
nav ul li.dropdown .dropdown-content {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 260px;
  box-shadow: 0 4px 24px #0002;
  z-index: 100;
  left: 0;
  top: 100%;
  border-radius: 0 0 10px 10px;
  padding: 0;
  flex-direction: column;
  align-items: stretch;
}
nav ul li.dropdown.open .dropdown-content,
nav ul li.dropdown:hover .dropdown-content,
nav ul li.dropdown:focus-within .dropdown-content {
  display: flex;
}
nav ul li .fas.fa-caret-down {
  margin-left: 6px;
  cursor: pointer;
}
nav ul li.dropdown .dropdown-content a {
  display: block;
  color: #0d2235;
  padding: 12px 24px;
  text-decoration: none;
  font-size: 1em;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s, color 0.2s;
  background: #fff;
  white-space: nowrap;
}
nav ul li.dropdown .dropdown-content a:last-child {
  border-bottom: none;
}
nav ul li.dropdown .dropdown-content a:hover {
  background: #ec2427;
  color: #fff;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 12px;
  z-index: 101;
}
@media (max-width: 900px) {
  .nav-container {
    flex-direction: row;
    align-items: center;
    padding: 0 8px;
  }
  .nav-logo {
    margin: 8px 0;
  }
  .nav-toggle {
    display: block;
  }
  nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: #000;
    width: 220px;
    max-width: 90vw;
    box-shadow: 0 4px 24px #0002;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s;
    margin-left: 0;
    z-index: 200;
    display: block;
  }
  nav.open {
    max-height: 600px;
    transition: max-height 0.5s;
  }
  nav ul {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
  }
  nav ul li {
    width: 100%;
  }
  nav ul li a,
  nav ul li .dropbtn {
    width: 100%;
    text-align: left;
    padding: 14px 18px;
  }
  nav ul li.dropdown .dropdown-content {
    min-width: 100%;
    left: 0;
    position: static;
    box-shadow: none;
    border-radius: 0;
  }
}

/* --- Modern Responsive Footer --- */
.footer-flex {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: 0 24px;
}
.footer-block {
  flex: 1 1 220px;
  min-width: 220px;
  margin-bottom: 24px;
  background: rgba(255,255,255,0.01);
  border-radius: 14px;
  padding: 18px 16px 10px 16px;
  box-sizing: border-box;
  box-shadow: 0 2px 12px #0001;
  transition: box-shadow 0.2s;
}
.footer-block:not(:first-child) {
  border-left: 1px solid #1a2a3a;
}
.footer-heading {
  color: #ec2427;
  margin-bottom: 14px;
  font-size: 1.13em;
  letter-spacing: 0.01em;
  text-align: left;
  font-weight: 700;
}
.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
  font-size: 1em;
  text-align: left;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
  border-radius: 4px;
  padding: 2px 0;
  display: inline-block;
}
.footer-links a:hover {
  color: #ec2427;
  background: #fff1f1;
  text-decoration: underline;
}
.footer-contact i {
  color: #ec2427;
  margin-right: 8px;
  font-size: 1.1em;
  width: 18px;
  text-align: center;
}
.footer-contact a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-contact a:hover {
  color: #ec2427;
  text-decoration: underline;
}
.footer-social {
  margin-top: 18px;
}
.footer-social a {
  display: inline-block;
  margin-right: 14px;
  color: #fff;
  font-size: 1.7em;
  transition: color 0.2s, transform 0.2s;
}
.footer-social a:hover {
  color: #ec2427;
  transform: scale(1.15);
}
.footer-bottom {
  text-align: center;
  color: #b0b0b0;
  font-size: 0.98em;
  margin-top: 32px;
  padding: 12px 0 8px 0;
  border-top: 1px solid #223;
  background: transparent;
}
@media (max-width: 900px) {
  .footer-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 8px;
  }
  .footer-block {
    min-width: 0;
    width: 100%;
    margin-bottom: 18px;
    border-left: none !important;
    border-top: 1px solid #1a2a3a;
    box-shadow: 0 1px 6px #0001;
  }
  .footer-block:first-child {
    border-top: none;
  }
  .footer-heading {
    text-align: left;
    margin-top: 18px;
  }
}
@media (max-width: 700px) {
  .footer-flex {
    padding: 0 2vw !important;
  }
  .footer-block {
    padding: 12px 6px 8px 6px;
    border-radius: 8px;
  }
  .footer-heading {
    font-size: 1em;
    margin-top: 12px;
  }
  .footer-bottom {
    font-size: 0.93em;
    margin-top: 18px;
    padding: 10px 0 6px 0;
  }
}