/* footer.css - Footer */

#footer {
  background: linear-gradient(180deg, #07133d 0%, #060e2e 100%);
}

/* Top border */
.footer-top-border {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(99, 149, 255, 0.3) 40%, rgba(99, 149, 255, 0.3) 60%, transparent);
}

/* Main grid */
.footer-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 640px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-main {
    padding: 56px 40px;
    grid-template-columns: 1.5fr 1px 1fr 1px 1fr 1px 1fr;
    gap: 0;
  }
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 640px) {
  .footer-brand {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .footer-brand {
    grid-column: span 1;
    padding-right: 40px;
  }
}

.footer-logo-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #ffffff;
  overflow: hidden;
  padding: 6px;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.footer-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.footer-brand-accent {
  width: 32px;
  height: 2px;
  border-radius: 9999px;
  background-color: #3B82F6;
}

.footer-brand-desc {
  max-width: 288px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

/* Parent company box */
.footer-parent-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  width: fit-content;
}

.footer-parent-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  overflow: hidden;
  flex-shrink: 0;
}

.footer-parent-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-parent-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

/* Certification badges */
.footer-badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.footer-badge-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  overflow: hidden;
  flex-shrink: 0;
}

.footer-badge-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-badge-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

/* Column separators */
.footer-sep {
  display: none;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  align-self: stretch;
}

@media (min-width: 1024px) {
  .footer-sep {
    display: block;
  }
}

/* Nav columns */
.footer-nav-col {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .footer-nav-col {
    padding: 0 32px;
  }
}

.footer-nav-col-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-nav-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav-col-divider {
  height: 2px;
  width: 24px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

/* Nav links */
.footer-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: color 0.2s ease;
  group: true;
}

.footer-nav-link:last-child {
  border-bottom: none;
}

.footer-nav-link-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease, transform 0.2s ease;
  display: block;
}

.footer-nav-link:hover .footer-nav-link-text {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-nav-link-icon {
  color: rgba(255, 255, 255, 0.25);
  transition: color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.footer-nav-link:hover .footer-nav-link-icon {
  color: rgba(255, 255, 255, 0.6);
  transform: translateX(4px);
}

/* Bottom bar */
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 1024px) {
  .footer-bottom {
    padding: 24px 40px;
  }
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-website {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-globe-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(99, 149, 255, 0.25);
  background: radial-gradient(circle, rgba(99, 149, 255, 0.12) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
}

.footer-website-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}

.footer-website:hover .footer-website-text {
  color: #ffffff;
}
