/* =================== */
/* Footer Styles */
/* =================== */

:root {
  --primary-color: #00A3FF;
  --btn-hover-text: #1f1f1f;
  --nav-bg-hover: #111;
  --nav-link-default: #ddd;
  --nav-link-hover: #fff;
}

/* Footer Base */
.footer {
  background: #1f1f1f;
  color: white;
  padding: 20px 0;
  font-size: medium;
}

.footer p {
  font-size: 1em !important;
}

.footer a {
  text-decoration: none;
  color: var(--nav-link-default);
  transition: color 0.3s ease;
}

.footer a:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

/* Footer Menu */
.footer-menu {
  padding-left: 20px;
}

.footer-menu li {
  list-style: square;
  padding-left: 1px;
}

.footer-menu li::marker {
  color: white;
}

.footer-menu li:hover::marker {
  color: var(--primary-color);
}

/* Newsletter Flexbox Layout */
.newsletter-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0;
  align-items: center;
}

.newsletter-input {
  flex: 1 1 0;
  min-width: 150px;
  padding: 0 0 0 15px;
  height: 54px !important;
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.newsletter-button {
  flex-shrink: 0;
  white-space: nowrap;
  height: 54px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

/* Footer Copyright */
.footer-copy-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.footer-copy-menu li {
  display: flex;
  align-items: center;
  color: #707070;
}

.footer-copy-menu li a {
  text-decoration: none;
  font-size: 0.9rem;
  color: #808080 !important;
  transition: color 0.3s ease;
}

.footer-copy-menu li a:hover {
  color: var(--primary-color) !important;
}

.footer-copy-menu li small {
  font-size: 0.8rem;
  color: #707070;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #2c2c2c;
  padding: 12px 20px;
  border-radius: 0.5rem;
  font-size: 1rem;
  color: white;
  cursor: pointer;
  z-index: 1000;
  user-select: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.back-to-top.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.back-to-top span {
  color: var(--primary-color);
}

.back-to-top:hover {
  transform: scale(1.05) translateY(0);
  background-color: #383838;
}

/* =================== */
/* Responsive Footer */
/* =================== */

@media (max-width: 1200px) {
  .newsletter-flex {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-input {
    border-radius: 0.375rem;
    min-height: 54px;
    padding-left: 20px;
  }

  .newsletter-button {
    width: 100%;
    border-radius: 0.375rem;
  }
}

@media (max-width: 992px) {
  section {
    padding-top: 20px;
  }
}

@media (max-width: 768px) {
  .footer-copy-menu {
    display: block;
    margin-left: 15px;
  }

  .footer-copy-menu li {
    padding: 3px 0;
  }

  .icon-square-div {
    margin-top: 60px;
  }

  .side-fill {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .table-responsive table {
    font-size: 0.85rem !important;
  }

  .table-responsive th,
  .table-responsive td {
    padding: 0.5rem;
  }

  h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 600;
  }

  h2 {
    font-size: clamp(1.9rem, 5vw, 3.5rem);
    font-weight: 600;
  }

  h3 {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 500;
  }

  h3.Billy {
    font-family: "Sue Ellen Francisco", serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
  }

  h4 {
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    font-weight: 700;
  }
}
