
/* =========================================
   1. CONTAINER & GLOBAL
   ========================================= */
.loyarya-footer {
  background-color: #ffffff;
  border-top: 1px solid #eaeaea;
  padding: 60px 0 30px 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #555555;
  font-size: 15px;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================
   2. TOP SECTION GRID
   ========================================= */
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.5fr; /* Increased Brand Col width */
  gap: 40px;
  margin-bottom: 50px;
}

/* =========================================
   3. COLUMN 1: BRAND
   ========================================= */
.brand-logo-wrapper { margin-bottom: 25px; }
.footer-logo { display: block; max-width: 220px; height: auto; }
.footer-logo-fallback { color: #f59e0b; margin: 0; }

/* Contact Info Styling */
.brand-desc {
  margin-bottom: 25px;
}
.info-block {
  margin-bottom: 15px;
}
.info-block strong {
  display: block;
  font-size: 13px;
  color: #1d1d1f;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.info-block p, .brand-desc p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  color: #555555;
}
.info-block a {
  text-decoration: none;
  color: #555555;
  transition: color 0.2s;
}
.info-block a:hover {
  color: #FF2B00;
}

/* Social Icons */
.social-links { display: flex; gap: 12px; }
.social-links a {
  color: #1d1d1f; background: #F5F5F7; width: 36px; height: 36px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.social-links a:hover {
  background: #FF2B00; color: #ffffff; transform: translateY(-2px);
}

/* =========================================
   4. COLUMNS 2 & 3: MENUS
   ========================================= */
.footer-heading {
  font-size: 15px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: 14px; }
.footer-menu a {
  text-decoration: none; color: #555555; font-size: 15px; transition: color 0.2s;
}
.footer-menu a:hover { color: #FF2B00; padding-left: 3px; }

/* Special Green Link */
.special-link a {
  color: #27ae60 !important; font-weight: 600; display: flex; align-items: center; gap: 8px;
}

/* =========================================
   5. COLUMN 4: NEWSLETTER
   ========================================= */
.newsletter-col {
  background: #F9F9F9; padding: 30px; border-radius: 16px;
}
.newsletter-desc p {
  font-size: 14px; color: #555555; line-height: 1.5; margin: 0 0 20px 0;
}

/* Form Styles */
.loyarya-newsletter-form .newsletter-form { margin-bottom: 10px; display:flex; flex-direction:column; gap:10px; }
.loyarya-newsletter-form .newsletter-input {
  width: 100%; padding: 12px 16px; border: 1px solid #e0e0e0;
  border-radius: 8px; font-size: 14px; box-sizing: border-box;
  font-family: inherit;
}
.loyarya-newsletter-form .newsletter-input:focus {
  border-color: #FF2B00; outline: 3px solid rgba(255, 43, 0, 0.25); outline-offset: 2px;
}
.loyarya-newsletter-form .newsletter-button {
  width: 100%; background: linear-gradient(90deg, #FF2B00 0%, #FFD900 100%);
  border: none; color: #ffffff; font-weight: 700; padding: 12px;
  border-radius: 50px; cursor: pointer; font-size: 15px; margin-top: 5px;
  font-family: inherit;
  transition: opacity 0.2s;
}
.loyarya-newsletter-form .newsletter-button:hover { opacity: 0.95; }

/* Form status messages */
.newsletter-form-success {
  font-size: 14px;
  color: #10b981;
  margin-bottom: 15px;
}
.newsletter-form-error {
  font-size: 14px;
  color: #ef4444;
  margin-bottom: 15px;
}

/* =========================================
   BOTTOM SECTION & CREDIT
   ========================================= */
.footer-bottom {
  border-top: 1px solid #eaeaea;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end; /* Align bottom */
  flex-wrap: wrap;
  gap: 20px;
}

/* Wrapper for Copyright & Credit */
.copyright-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px; /* Space between copyright and powered by */
}

.copyright p {
  margin: 0;
  font-size: 13px;
  color: #555555;
  font-weight: 500;
}

/* Agency Credit Styling */
.agency-credit {
  font-size: 12px;
  color: #999;
}

.agency-credit a {
  color: #999;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.agency-credit a:hover {
  color: #FF2B00;
  text-decoration: underline;
}

/* Legal Menu */
.legal-menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 24px;
}

.legal-menu a {
  text-decoration: none;
  color: #999;
  font-size: 13px;
  transition: color 0.2s;
}

.legal-menu a:hover {
  color: #111;
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column-reverse; /* Stack vertically */
    align-items: center;
    text-align: center;
  }
  
  .copyright-wrapper {
    align-items: center;
  }
  
  .legal-menu {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
}
