.site-footer {
  background: #0f245a;
  color: #fff;
  padding: 50px 24px 24px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  /* IMPORTANT: keep this as a normal container (not flex) */
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 60px;
}

.footer-brand p {
  max-width: 320px;
  line-height: 1.6;
  color: #dbe2ff;
  margin: 20px 0;
}

.footer-logo {
  height: 42px;
}

/* Social icons */
.footer-socials {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-socials a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: 0.3s;
}

.footer-socials a:hover {
  color: #00bcd4;
}

/* Newsletter */
.newsletter h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.newsletter-box {
  display: flex;
  background: #1b2f6a;
  border-radius: 12px;
  padding: 8px;
  gap: 8px;
}

.newsletter-box input {
  flex: 1;
  background: transparent;
  border: 1px solid #4d5f99;
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
}

.newsletter-box button {
  background: #fff;
  color: #0f245a;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 600;
}

/* Footer columns */
.footer-col h4 {
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #dbe2ff;
  text-decoration: none;
}

/* ✅ Center footer brand logos (THIS is the section in your screenshot) */
.footer-brands {
 margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
}

.footer-brands a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-brands img {
  height: 45px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

#site-footer {
  margin-bottom: 0;
}
/* Center copyright text */
.footer-bottom,
.footer-copyright {
  text-align: center;
  width: 100%;
  margin-top: 20px;
  color: #dbe2ff;
  font-size: 14px;
}

/* =========================================
   FOOTER BASE
========================================= */

.site-footer {
  background: #0f245a;
  color: #fff;
  padding: 50px 24px 24px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 60px;
}

/* =========================================
   BRAND SECTION
========================================= */

.footer-logo {
  height: 42px;
}

.footer-brand p {
  max-width: 320px;
  line-height: 1.6;
  color: #dbe2ff;
  margin: 20px 0;
}

/* Social */
.footer-socials {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-socials a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: 0.3s;
}

.footer-socials a:hover {
  color: #00bcd4;
}

/* =========================================
   NEWSLETTER
========================================= */

.newsletter h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.newsletter-box {
  display: flex;
  background: #1b2f6a;
  border-radius: 12px;
  padding: 8px;
  gap: 8px;
}

.newsletter-box input {
  flex: 1;
  background: transparent;
  border: 1px solid #4d5f99;
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
}

.newsletter-box button {
  background: #fff;
  color: #0f245a;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
}

/* =========================================
   FOOTER COLUMNS
========================================= */

.footer-col h4 {
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #dbe2ff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #fff;
}

/* =========================================
   BRAND STRIP
========================================= */

.footer-brands {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.footer-brands img {
  height: 45px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

/* =========================================
   BOTTOM
========================================= */

.footer-bottom {
  text-align: center;
  width: 100%;
  margin-top: 20px;
  color: #dbe2ff;
  font-size: 14px;
}

/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 1024px){
  .footer-grid{
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
  }
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 768px){

  .site-footer{
    padding: 40px 20px 20px;
  }

  /* 2x2 Layout */
  .footer-grid{
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }

  /* Brand full width on top */
  .footer-brand{
    grid-column: 1 / -1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo{
    margin-bottom: 14px;
  }

  .footer-brand p{
    max-width: 90%;
    margin: 0 auto 18px;
  }

  .footer-socials{
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Newsletter stacked */
  .newsletter{
    width: 100%;
    max-width: 380px;
  }

  .newsletter h4{
    text-align: center;
  }

  .newsletter-box{
    flex-direction: column;
    gap: 10px;
  }

  .newsletter-box input,
  .newsletter-box button{
    width: 100%;
  }

  /* Column spacing */
  .footer-col h4{
    font-size: 15px;
    margin-bottom: 10px;
  }

  .footer-col a{
    font-size: 14px;
  }

  /* Brand strip */
  .footer-brands{
    margin-top: 40px;
    gap: 24px;
  }

  .footer-brands img{
    height: 34px;
    max-width: 120px;
  }

  .footer-bottom{
    margin-top: 30px;
    font-size: 13px;
  }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px){

  .footer-grid{
    grid-template-columns: 1fr;
  }

  .footer-col{
    text-align: center;
  }

  .footer-brands img{
    height: 28px;
    max-width: 100px;
  }

  .footer-bottom{
    font-size: 12px;
  }
}