/* Address + footer — ported from aritmali-sebil-landing */

/* ---- Address section ---- */
.adress-field {
  padding: 20px;
  text-align: center;
}

@media (max-width: 480px) {
  .adress-field {
    padding: 0;
  }
}

.adress-field > .container {
  overflow: hidden;
  isolation: isolate;
  border-radius: 20px;
  background: linear-gradient(105deg, #ffffff 0%, #f6f6f6 97.66%);
  padding: 20px 20px;
}

@media (max-width: 1024px) {
  .adress-field > .container {
    padding: 20px 20px;
  }
}

@media (max-width: 480px) {
  .adress-field > .container {
    border-radius: 0;
    padding: 15px 15px;
  }
}

.sebil-address-logo {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 30px;
}

.sebil-address-logo__link {
  display: block;
  width: min(100%, 240px);
  margin: 0 auto;
}

.sebil-address-logo__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70px;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 480px) {
  .sebil-address-logo__link {
    width: min(100%, 200px);
  }

  .sebil-address-logo__img {
    max-height: 56px;
  }
}

.adress-field .sebil-prose {
  margin-top: 10px;
}

.adress-field .sebil-t-body--address {
  margin: 0;
  color: rgba(50, 68, 103, 0.75);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
}

.adress-field .sebil-t-body--address .sebil-t-emphasis,
.adress-field .sebil-t-body--address strong {
  font-weight: 600;
  color: inherit;
}

@media (max-width: 480px) {
  .adress-field .sebil-t-body--address {
    font-size: 17px;
  }
}

.adress-field .button-field {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 20px auto 0;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  position: relative;
  z-index: 2;
}

@media (max-width: 480px) {
  .adress-field .button-field {
    width: 100%;
  }
}

.sebil-directions-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: max-content;
  min-width: 290px;
  height: 65px;
  padding: 0 50px;
  gap: 15px;
  border-radius: 999px;
  background-color: #0e76bc;
  border: 1px solid #0e76bc;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    border-color 0.35s ease,
    background-color 0.35s ease;
  text-decoration: none;
}

@media (max-width: 480px) {
  .sebil-directions-btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
}

.sebil-directions-btn::before {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transition: left 0.45s ease;
  z-index: 1;
}

.sebil-directions-btn:hover {
  background-color: #0e76bc;
  border-color: #0e76bc;
}

.sebil-directions-btn:hover::before {
  left: 0;
}

.sebil-directions-btn .icon,
.sebil-directions-btn .text {
  position: relative;
  z-index: 2;
  color: #fff;
  transition: color 0.4s ease;
  display: flex;
  align-items: center;
}

.sebil-directions-btn .text {
  font-size: 16px;
  font-weight: 400;
}

.sebil-directions-btn:hover .icon,
.sebil-directions-btn:hover .text {
  color: #0e76bc;
}

/* ---- Footer ---- */
.footer {
  position: relative;
  background: #fff;
}

.footer > .fixed-field {
  display: none !important;
}

.footer > .container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* Certificate logos */
.sebil-footer-certs {
  position: relative;
  margin: 60px 0;
}

@media (max-width: 768px) {
  .sebil-footer-certs {
    margin: 30px 0;
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 480px) {
  .sebil-footer-certs {
    margin-top: 20px;
    margin-bottom: 0;
    padding-left: 16px;
    padding-right: 16px;
  }
}

.sebil-footer-certs .sebil-cert-slot {
  height: 110px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 640px) {
  .sebil-footer-certs .sebil-cert-slot {
    height: 88px;
  }
}

@media (max-width: 768px) {
  .sebil-footer-certs .feature {
    max-width: none;
    padding: 0;
  }

  .sebil-footer-certs .sebil-cert-slot {
    height: 72px;
  }
}

@media (max-width: 480px) {
  .sebil-footer-certs .sebil-cert-slot {
    height: 60px;
  }
}

.sebil-footer-certs .feature {
  padding: 15px;
  max-width: 180px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 12;
}

@media (max-width: 480px) {
  .sebil-footer-certs .feature {
    padding: 0;
  }
}

.sebil-footer-certs .sebil-cert-logo {
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.sebil-footer-certs .sebil-cert-logo--nsf {
  height: 104px;
  max-width: 104px;
}

.sebil-footer-certs .sebil-cert-logo--wqa {
  height: 104px;
  max-width: 120px;
}

.sebil-footer-certs .sebil-cert-logo--ce {
  height: 72px;
  max-width: 88px;
}

.sebil-footer-certs .sebil-cert-logo--iso {
  height: 104px;
  max-width: 130px;
}

@media (max-width: 768px) {
  .sebil-footer-certs .sebil-cert-logo--nsf,
  .sebil-footer-certs .sebil-cert-logo--wqa,
  .sebil-footer-certs .sebil-cert-logo--iso {
    height: 56px;
    max-width: 62px;
  }

  .sebil-footer-certs .sebil-cert-logo--ce {
    height: 40px;
    max-width: 46px;
  }
}

@media (max-width: 480px) {
  .sebil-footer-certs .sebil-cert-logo--nsf,
  .sebil-footer-certs .sebil-cert-logo--wqa,
  .sebil-footer-certs .sebil-cert-logo--iso {
    height: 46px;
    max-width: 52px;
  }

  .sebil-footer-certs .sebil-cert-logo--ce {
    height: 32px;
    max-width: 38px;
  }
}

.footer > .container > .split {
  width: 100%;
  height: 3px;
  background: rgba(50, 68, 103, 0.1);
  margin: 10px 0;
  flex-shrink: 0;
  align-self: stretch;
}

@media (max-width: 640px) {
  .footer > .container > .split {
    height: 1px;
  }
}

@media (max-width: 480px) {
  .footer > .container > .split {
    display: none;
  }
}

.footer > .container > .wrapper {
  display: grid;
  grid-template-columns: 4fr 5fr 4fr;
  gap: 100px;
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .footer > .container > .wrapper {
    gap: 75px;
  }
}

@media (max-width: 768px) {
  .footer > .container > .wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer > .container > .wrapper {
    gap: 40px;
    margin-top: 20px;
  }
}

.footer .page-title {
  color: #41416e;
  font-size: 17px;
  font-weight: 500;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 40px;
}

.footer .contact .page-title {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .footer .page-title {
    margin-bottom: 20px;
  }
}

.footer-socials .wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  width: max-content;
}

@media (max-width: 768px) {
  .footer-socials .wrapper {
    justify-content: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

.footer-social-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition: transform 0.45s ease;
  text-decoration: none;
}

.footer-social-item:hover {
  transform: translateY(-8px);
}

.footer-social-item path {
  fill: rgba(50, 68, 103, 0.2);
  transition: fill 0.45s ease;
}

.footer-social-item:hover path {
  fill: #0e76bc;
}

.footer .contact .button-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media (max-width: 768px) {
  .footer .contact .button-content {
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

.footer .contact .button-field {
  display: flex;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  position: relative;
  z-index: 2;
}

@media (max-width: 480px) {
  .footer .contact .button-field {
    width: 100%;
  }
}

.footer .contact .button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 70px;
  padding: 0 30px;
  gap: 15px;
  border-radius: 5px;
  background: #0e76bc;
  border: 1px solid #0e76bc;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: all 0.5s ease;
  text-decoration: none;
}

@media (max-width: 768px) {
  .footer .contact .button {
    width: max-content;
  }
}

.footer .contact .button::before {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transition: left 0.5s ease;
  z-index: 1;
}

.footer .contact .button:hover {
  transform: translateY(-3px);
  box-shadow:
  0 0 0 5px #0e76bc4f, 0 0 0 10px #0e76bc3b;
}

.footer .contact .button:hover::before {
  left: 0;
}

.footer .contact .button .icon,
.footer .contact .button .text {
  position: relative;
  z-index: 2;
  transition: color 0.45s ease, fill 0.45s ease;
}

.footer .contact .button .icon {
  display: flex;
  align-items: center;
}

.footer .contact .button .icon path {
  fill: #fff;
  transition: fill 0.45s ease;
}

.footer .contact .button .text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.footer .contact .button .text span {
  font-size: 10px;
  font-weight: 500;
  color: #fff;
  transition: color 0.45s ease;
}

.footer .contact .button .text p {
  margin: 0;
}

.footer .contact .button:hover .icon path {
  fill: #0e76bc;
}

.footer .contact .button:hover .text,
.footer .contact .button:hover .text span {
  color: #0e76bc;
}

/* Footer bottom */
.footer-bottom {
  position: relative;
  z-index: 10;
  background: #ffffff;
}

.footer-bottom > .container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 25px;
  padding-right: 25px;
}

@media (max-width: 640px) {
  .footer-bottom > .container {
    padding-bottom: 50px;
  }
}

.footer-bottom .split {
  width: 100%;
  height: 3px;
  background: rgba(50, 68, 103, 0.1);
  margin: 25px 0;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .footer-bottom .split {
    height: 1px;
  }
}

.footer-bottom > .container > .wrapper {
  display: flex;
  gap: 60px;
  margin-bottom: 30px;
  align-items: center;
}

.footer-bottom .copyright-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

@media (max-width: 768px) {
  .footer-bottom .copyright-field {
    align-items: center;
  }
}

.footer-bottom .footer-socials .wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  width: max-content;
}

@media (max-width: 768px) {
  .footer-bottom .footer-socials .wrapper {
    justify-content: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

.footer-bottom .copyright {
  color: rgba(50, 68, 103, 0.65);
  line-height: 1.25;
  font-size: 15px;
  font-weight: 400;
}

.footer-bottom .copyright a {
  color: rgba(50, 68, 103, 0.65);
  text-decoration: none;
  transition: color 0.5s ease;
}

.footer-bottom .copyright a:hover {
  color: #272727;
}

@media (max-width: 640px) {
  .footer-bottom .copyright {
    text-align: center;
  }
}

.footer-bottom .signature {
  display: flex;
  justify-content: flex-end;
  width: max-content;
}

@media (max-width: 768px) {
  .footer-bottom .signature {
    justify-content: center;
  }
}

.sebil-aora-signature {
  display: block;
  opacity: 0.65;
  transition: opacity 0.35s ease;
}

.sebil-aora-signature:hover {
  opacity: 1;
}

.sebil-aora-signature img {
  display: block;
  height: 28px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 640px) {
  .footer-bottom > .container > .wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
  }
}
