/* =========================================
   CPHT1 FOOTER – Clean & Professional
   ========================================= */

:root {
  --cpht1-blue: #0B2A52;
  --cpht1-dark-blue: #0A2342;
  --cpht1-beige: #f5ede3;
  --text-dark: #222;
  --text-light: #777;
  --border: rgba(0, 0, 0, 0.08);
}

/* Footer base */
.footer {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  padding: clamp(60px, 8vw, 100px) clamp(20px, 3vw, 40px) clamp(40px, 5vw, 60px);
  font-size: 15px;
  color: #e5e5e5;
  position: relative;
  z-index: 5;
  overflow: visible;
}



/* Grid layout */
.footer__container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  max-width: 1400px;
  margin: 0 auto;
}

.footer__brand {
  position: relative;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 20px;
}

.footer__logo img {
  height: 60px;
  width: auto;
  display: block;
}

.footer__tagline {
  color: #fff;
  line-height: 1.6;
  font-size: 15px;
  max-width: 320px;
}

/* Columns */
.footer__col h3 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
}

.footer__col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--cpht1-blue);
}

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

.footer__col li {
  margin-bottom: 12px;
  color: #fff;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
}

.footer__col a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.footer__col a:hover {
  color: var(--cpht1-blue);
}

/* Brand accents removed - all items consistent */

/* Bottom bar */
.footer__bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: #fff;
}

.footer__bottom p {
  margin: 0;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  color: #fff;
  font-size: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.footer__social a:hover {
  background: var(--cpht1-blue);
  color: #fff;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 980px) {
  .footer__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__logo p {
    max-width: 100%;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Accessibility */
.footer a:focus {
  outline: 2px solid var(--cpht1-blue);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .footer *,
  .footer *::before,
  .footer *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
