/* Footer Styles */
.footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 4rem 0 0;
  font-size: 0.95rem;
}

/* Hide the duplicate contact info */
.footer-contact {
  display: none;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.5fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: start;
}

@media (max-width: 1400px) {
  .regulatory-links {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
  }
}

@media (max-width: 1200px) {
  .footer-content {
    grid-template-columns: 1fr 1fr 1.5fr;
  }
  
  .footer-regulatory {
    grid-column: span 2;
  }
  
  .regulatory-links {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
  }
  
  .footer-links:last-child {
    grid-column: span 3;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
  }
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-regulatory {
    grid-column: span 2;
    max-width: 100%;
  }
  
  .regulatory-links {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-links:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-regulatory {
    grid-column: span 2;
  }
  
  .regulatory-links {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
  }
  
  .footer-links:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-regulatory {
    grid-column: span 1;
  }
  
  .regulatory-links {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

.footer-about {
  max-width: 350px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer p {
  color: #b3b3b3;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #333333;
  color: #ffffff;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
}

.footer h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: #0056b3;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.8rem;
}

.footer-links a,
.footer-contact a {
  color: #b3b3b3;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-about .contact-info {
  margin: 1.5rem 0;
  color: #b3b3b3;
  font-size: 0.9rem;
}

.footer-about .contact-info p {
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
}

.footer-about .contact-info i {
  width: 20px;
  margin-right: 10px;
  color: #0056b3;
}

.footer-about .contact-info a {
  color: #b3b3b3;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-about .contact-info a:hover {
  color: #ffffff;
}

/* Regulatory Links */
.footer-regulatory h4 {
  margin-bottom: 1.5rem;
}

.regulatory-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 1.2rem;
  width: 100%;
}

.regulatory-link {
  display: flex;
  align-items: center;
  color: #b3b3b3;
  text-decoration: none;
  padding: 1rem;
  border-radius: 6px;
  background-color: #2a2a2a;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  min-height: 80px;
}

.regulatory-link:hover {
  background-color: #333;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.regulatory-logo {
  width: 50px;
  height: 50px;
  margin-right: 1rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 6px;
  padding: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.regulatory-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.regulatory-link span {
  line-height: 1.3;
  font-weight: 500;
  color: #e0e0e0;
}

.regulatory-link:hover span {
  color: #ffffff;
}

/* Quick Links */
.footer-links {
  min-width: 150px;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: #0056b3;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #b3b3b3;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  padding: 0.2rem 0;
  white-space: nowrap;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
}

/* Footer Bottom */
.footer-bottom {
  background-color: #111111;
  padding: 1.5rem 0;
  text-align: center;
  border-top: 1px solid #2a2a2a;
}

.footer-bottom p {
  margin: 0;
  color: #808080;
  font-size: 0.85rem;
}

.footer-legal {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: #b3b3b3;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #ffffff;
}

.footer-legal span {
  color: #4d4d4d;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-about {
    max-width: 100%;
  }
  
  .regulatory-links {
    grid-template-columns: 1fr;
  }
}
