/* CSS styles for Footer Component */

.site-footer {
  background-color: #f7f9fa;
  width: 100%;
  padding-top: 60px;
  font-family: var(--font-nav);
  color: var(--color-text-dark);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

/* --- COLUMN 1: BRANDING & QR CODE --- */
.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand-logo {
  height: 52px;
  width: auto;
  max-width: fit-content;
  margin-bottom: 15px;
}

.footer-tagline {
  font-size: 12px;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
  max-width: 280px;
}

/* Social links styling */
.footer-socials {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--color-accent-green);
  background-color: rgba(19, 163, 74, 0.08);
  font-size: 15px;
  text-decoration: none;
  transition: all var(--transition-speed);
}

.footer-social-link:hover {
  background-color: var(--color-accent-green);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(19, 163, 74, 0.2);
}

/* Bank Details Card box */
.footer-bank-card {
  background-color: #ffffff;
  border: 1px solid #1b5182; /* Primary blue border */
  border-radius: 4px;
  padding: 12px 15px;
  width: 250px;
  box-sizing: border-box;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.footer-bank-title {
  font-size: 10.5px;
  font-weight: 700;
  color: #1b5182;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
  border-bottom: 1px solid #eef2f5;
  padding-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-bank-details {
  font-size: 11px;
  color: #555555;
  line-height: 1.5;
}

.footer-bank-details div {
  margin-bottom: 4px;
}

.footer-bank-details div:last-child {
  margin-bottom: 0;
}

.footer-bank-details div span {
  color: #2d3748;
  font-weight: 600;
}


/* --- COLUMNS 2, 3, 4: NAVIGATION LISTS --- */
.footer-nav-col {
  display: flex;
  flex-direction: column;
}

.footer-nav-col h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #333333;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

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

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-link {
  font-size: 12px;
  color: #666666;
  text-decoration: none;
  transition: color var(--transition-speed);
  font-weight: 500;
}

.footer-link:hover {
  color: var(--color-primary);
  padding-left: 2px;
}

/* Secondary header within columns (e.g. GET IN TOUCH, GET INVOLVED) */
.footer-nav-col h3.sub-heading {
  margin-top: 25px;
}


/* --- COLUMN 5: CERTIFICATIONS & QR CODE --- */
.footer-certifications {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.gptw-logo-img {
  width: 110px;
  height: auto;
  display: block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

/* Footer QR Code Card */
.footer-qr-card {
  margin-top: 18px;
  background-color: #ffffff;
  border: 1px solid #1b5182;
  border-radius: 6px;
  padding: 8px 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  width: 115px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-qr-header {
  font-size: 10px;
  font-weight: 700;
  color: #1b5182;
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-qr-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  transition: transform var(--transition-speed);
}

.footer-qr-img:hover {
  transform: scale(1.03);
}

.footer-qr-subtext {
  font-size: 8.5px;
  font-weight: 600;
  color: #4a5568;
  margin-top: 5px;
  word-break: break-all;
}


/* --- COPYRIGHT & CHARITY INFO SECTION --- */
.footer-info-bar {
  border-top: 1px solid #e2e6e9;
  padding: 20px 0;
  font-size: 11.5px;
  color: #888888;
  font-weight: 500;
}

.footer-info-bar .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-visitor-counter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #555555;
  font-weight: 600;
  font-size: 11.5px;
  background: #ffffff;
  padding: 3px 12px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.footer-visitor-counter i {
  color: #1b5182;
}

.footer-visitor-counter strong {
  color: #13a34a;
  font-weight: 700;
}


/* --- SILHOUETTE STRIP & WHATSAPP --- */
.footer-silhouette {
  width: 100%;
  height: 180px;
  background-image: url('../footer_bg.png'); /* Relative to assets/css/ */
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  position: relative;
  border-top: 1px solid rgba(27, 81, 130, 0.08);
}

/* WhatsApp Floating Button (Global fixed contact helper) */
.whatsapp-float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  z-index: 999;
  text-decoration: none;
  transition: all var(--transition-speed) ease-in-out;
}

.whatsapp-float-btn:hover {
  transform: scale(1.08) rotate(8deg);
  background-color: #20ba59;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}


/* ----------------------------------------------------
   RESPONSIVE DESIGN BREAKPOINTS
---------------------------------------------------- */

/* Large Tablets & Medium Laptops */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 20px;
  }
  /* Push GPTW badge to a full-width row or position cleanly */
  .footer-certifications {
    grid-column: span 4;
    align-items: flex-start;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #e2e6e9;
  }
  .gptw-logo-img {
    width: 90px;
  }
}

/* Medium Tablets */
@media (max-width: 768px) {
  .site-footer {
    padding-top: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-brand {
    grid-column: span 2;
    margin-bottom: 20px;
  }
  .footer-certifications {
    grid-column: span 2;
    align-items: flex-start;
  }
  .footer-info-bar .header-container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .footer-silhouette {
    height: 120px;
  }
  .whatsapp-float-btn {
    width: 48px;
    height: 48px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }
}

/* Small Mobile Screens */
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .footer-brand,
  .footer-nav-col,
  .footer-certifications {
    grid-column: span 1;
  }
  .footer-tagline {
    max-width: 100%;
  }
  .footer-silhouette {
    height: 90px;
  }
}
