/* this is section  */
.footer-section {
  background: #fff;
  /* top, left/right, bottom */
  padding: 15px 15px 15px;
  border-top: 1px solid #eaeaea;
}
/* div content class */
.footer-content {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr 0.5fr 1fr;
  /* grid-template-columns: repeat(5, minmax(0, 1fr)); */
  grid-template-rows: auto auto;
  gap: 5px 20px;
  text-align: left;
}
/* logo class  and logo images */
.footer-logo {
  grid-column: 1 / 2;
  grid-row: 1;
}
.footer-logo img {
  display: block;
  height: 50px;
  width: auto;
  object-fit: contain;
  margin: 0;
}

/* seperate the part */
.company-info {
  grid-column: 1 / 2;
  grid-row: 2;
  width: 80%;
}
.footer-info {
  grid-column: 2 / 3;
  grid-row: 2;
}
.footer-hours{
  grid-column: 3 / 4;
  grid-row: 2;
}
.footer-links {
  grid-column: 4 / 5;
  grid-row: 2;
  display: flex;
  flex-direction: column;
}
.certification-badges {
  grid-column: 5 / 6;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.company-info {
  padding: 10px 15px;
}

.footer-info {
  padding: 10px 15px;
}

.footer-hours {
  padding: 10px 15px;
}

.footer-links {
  padding: 10px 15px;
}

.certification-badges {
  padding: 10px 15px;
}

/* Column 1: logo + company */
/* .footer-logo{ grid-column: 1; grid-row: 1; } */
/* .company-info{ grid-column: 1; grid-row: 2; width: 80%; } */

/* Column 2: contact */
/* .footer-info{ grid-column: 2; grid-row: 2; } */

/* ✅ Column 3: operating hours */
/* .footer-hours{ grid-column: 3; grid-row: 2; } */

/* Column 4: links */
/* .footer-links{ grid-column: 4; grid-row: 2; } */

/* Column 5: badges */
/* .certification-badges{ grid-column: 5; grid-row: 2; } */

/* badge and the badge size */
.badge-container {
  display: flex;
  align-items: center;
  gap: 15px;
}
.badge-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

/* company, footer info text */
.company-info p,
.footer-info p,
.address-algin-main {
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #001776;
}
.footer-info a {
  display: block;
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #001776;
  text-decoration: none;
  cursor: pointer;
}

.footer-info a:hover {
  color: #1a0066;
  text-decoration: underline;
}

.footer-info a:active {
  color: #1a0066;
  text-decoration: underline;
  font-weight: 700;
}

.address-align {
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #001776;
  padding-left: 15px;
}

.company-info strong,
.footer-info strong {
  font-weight: 600;
  color: #001776;
}
.footer-links a {
  display: block;
  font-weight: 600;
  text-decoration: none;
  color: #001776;
  margin-bottom: 15px;
}

.footer-links a:hover {
  color: #1a0066;
  text-decoration: underline;
}

.footer-links a:active {
  color: #1a0066;
  text-decoration: underline;
  font-weight: 700;
}

.copyright {
  display: flex;
  justify-content: flex-end;
  text-align: center;
  font-size: 13px;
  color: #001776;
  padding-top: 5px;
  margin-left: auto;
  margin-right: auto;
}

/* icon size for address*/
.icon-footer {
    width: 11px;
}

.map-icons{
  display: flex;
  justify-content: flex-start;
  /* justify-content: center; */
  /* align-items: center; */
  gap: 25px;
  margin-top: 10px;
  width: 100%;
}

#maps-google,
#maps-waze{
  width: 24px;
  height: auto;
}

.map-icons a{
  text-decoration: none;
  color: #001776;
  font-weight: 600;
  font-size: 14px;
}

.map-icons a:hover{
  color: #1a0066;
  text-decoration: underline;
}

.map-icons a:active{
  color:#1a0066;
  text-decoration: underline;
  font-weight: 700;
}

#address-link{
  text-decoration: none;
  color: #001776;
}

#maps-mobile {
  display: none;
}

/* This ensures all text in the hours section matches your theme blue */
.footer-hours p {
    color: #001776;
    font-size: 14px; 
    margin: 10px 0; /*Keeps spacing consistent with .footer-info p*/
 }

.footer-hours h4 {
  color: #001776;
  font-weight: 600;
  font-size: 16px;
  margin: 10px 0; /* Keeps spacing consistent with .footer-info p */
}

/* Specifically for the "Excluding Public Holiday" text */
.footer-hours .small {
  color: #001776; 
  opacity: 0.8; /*Optional: slightly lighter but same color*/
}




/* @media (max-width: 1100px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 30px;
  }
  .footer-logo {
    grid-column: 1 / 3;
    grid-row: 1;
    text-align: center;
    display: flex;
    justify-content: center;
  }
} */



@media (max-width: 1200px) {
    .footer-logo {
    grid-column: 1 / 3;
    grid-row: 1;
    text-align: center;
    display: flex;
    justify-content: center;
    }
      
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 16px;
    width: 100%;
  }

  .footer-content > div {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    text-align: center;
  }

  .footer-info,
  .footer-hours,
  .footer-links,
  .company-info,
  .certification-badges {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .footer-info p,
  .footer-info span,
  .footer-hours p,
  .company-info p,
  .footer-links a {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .badge-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
  }

  .badge-img {
    width: 120px;
    max-width: 45%;
    height: auto;
    display: block;
  }

    .map-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  #maps-mobile {
    display: block;
    width: 300px;
    height: 180px;
  }

  #maps-google,
  #maps-waze,
  #maps-google-link,
  #maps-waze-link {
    display: none;
  }

}


@media (max-width: 768px) {
  .footer-section {
    padding: 40px 15px 20px;
  }
  .footer-content {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
    gap: 0px;
    text-align: center;
  }
  .footer-logo {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    justify-content: center;
  }
  .company-info {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
  }
  .footer-info {
    grid-column: 1;
    grid-row: 3;
  }
  .footer-hours{
    grid-column: 1;
    grid-row: 4;
  }
  .footer-links {
    grid-column: 1;
    grid-row: 5;
    align-items: center;
  }
  .certification-badges {
    grid-column: 1;
    grid-row: 6;
    align-items: center;
  }
  .badge-container {
    justify-content: center;
  }
  .footer-logo img {
    display: block;
    height: 50px;
    width: auto;
    max-height: 50px;
    max-width: 100%;
    margin: 0 auto 10px;
    object-fit: contain;
  }
  .copyright {
    padding-top: 15px;
    font-size: 12px;
  }
}