/**
 * Aakriti New — modern footer
 */

:root {
  --footer-accent: #acb087;
  --footer-text: rgba(255, 255, 255, 0.94);
  --footer-text-muted: rgba(255, 255, 255, 0.72);
  --footer-border: rgba(255, 255, 255, 0.14);
  --footer-radius-top: clamp(24px, 4vw, 40px);
}

/* ------------------------------------------------------------------ */
/* Shell                                                              */
/* ------------------------------------------------------------------ */

.footer-wrapper.aakriti-footer {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  background: linear-gradient(
    165deg,
    var(--color-primary-light) 0%,
    var(--color-primary) 48%,
    var(--color-primary-dark) 100%
  );
  border-radius: var(--footer-radius-top) var(--footer-radius-top) 0 0;
  box-shadow: 0 -12px 40px rgba(31, 51, 33, 0.12);
}

.footer-wrapper.aakriti-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  pointer-events: none;
}

.footer-wrapper.aakriti-footer::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.aakriti-footer .footer-top {
  position: relative;
  z-index: 1;
  padding: clamp(2.75rem, 5vw, 4.25rem) 0 clamp(1.75rem, 3vw, 2.5rem);
  color: var(--footer-text);
  line-height: 1.6;
}

.aakriti-footer .footer.container {
  max-width: min(1630px, 100%);
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
}

.aakriti-footer .footer .row {
  display: grid !important;
  grid-template-columns: minmax(200px, 1.1fr) minmax(180px, 1fr) minmax(200px, 1.15fr) minmax(160px, 0.9fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  justify-content: unset;
}

.aakriti-footer .ftcol {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  padding: 0 !important;
}

.aakriti-footer .ftcol3 {
  min-width: 0 !important;
}

/* ------------------------------------------------------------------ */
/* Brand column                                                       */
/* ------------------------------------------------------------------ */

.aakriti-footer .footer-infoBox {
  text-align: center;
}

.aakriti-footer .footlogo {
  margin-bottom: 1.5rem;
}

.aakriti-footer .footlogo img {
  display: block;
  max-width: min(170px, 72%);
  height: auto;
  margin: 0 auto;
  transition: transform var(--duration-base) var(--ease-out);
}

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

.aakriti-footer .footer-tagline {
  margin: 0.65rem 0 0;
  text-align: center;
  font-size: 0.9375rem;
  font-style: italic;
  letter-spacing: 0.03em;
  color: var(--footer-text-muted);
}

/* ------------------------------------------------------------------ */
/* Section headings                                                   */
/* ------------------------------------------------------------------ */

.aakriti-footer .footer-head {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding-bottom: 0.65rem;
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: 0.02em;
  border-bottom: 2px solid rgba(172, 176, 135, 0.55);
}

/* ------------------------------------------------------------------ */
/* Contact                                                            */
/* ------------------------------------------------------------------ */

.aakriti-footer .footer-contact-info-box {
  display: grid;
  gap: 0.85rem;
}

.aakriti-footer .footer-location,
.aakriti-footer .footer-phone-number,
.aakriti-footer .footer-email-address {
  max-width: none;
  margin: 0;
  padding: 0.15rem 0 0.15rem 2rem;
  color: var(--footer-text);
  transition: color var(--duration-fast) var(--ease-out);
}

.aakriti-footer .footer-contact-info-box a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.aakriti-footer .footer-contact-info-box a:hover,
.aakriti-footer .footer-contact-info-box a:focus-visible {
  color: var(--footer-accent);
  text-decoration: underline;
}

.aakriti-footer .footer-contact-info-box .footer-location i,
.aakriti-footer .footer-contact-info-box .footer-phone-number i,
.aakriti-footer .footer-contact-info-box .footer-email-address i {
  top: 0.2rem;
  left: 0;
  width: 1.35rem;
  font-size: 0.95rem;
  color: var(--footer-accent);
  text-align: center;
}

/* ------------------------------------------------------------------ */
/* Navigation                                                         */
/* ------------------------------------------------------------------ */

.aakriti-footer ul.footer-nav {
  margin: 0;
}

.aakriti-footer ul.footer-nav.twoCol {
  column-count: 2;
  column-gap: 1.25rem;
  margin: 0;
}

.aakriti-footer ul.footer-nav li {
  margin: 0 0 0.65rem;
  break-inside: avoid;
}

.aakriti-footer ul.footer-nav.twoCol li {
  padding: 0;
}

.aakriti-footer ul.footer-nav li a {
  display: inline-block;
  color: var(--footer-text);
  text-decoration: none;
  padding: 0.1rem 0;
  transition: color var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

.aakriti-footer ul.footer-nav li a:hover,
.aakriti-footer ul.footer-nav li a:focus-visible,
.aakriti-footer ul.footer-nav li.selected a {
  color: var(--footer-accent);
  transform: translateX(4px);
}

/* ------------------------------------------------------------------ */
/* Social                                                             */
/* ------------------------------------------------------------------ */

.aakriti-footer .footer-social-media {
  margin-top: 0.25rem;
}

.aakriti-footer .footer-social-media ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.aakriti-footer .footer-social-media ul li {
  display: block;
  padding: 0;
}

.aakriti-footer .footer-social-media ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 1rem;
  line-height: 1;
  color: var(--color-primary);
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform var(--duration-fast) var(--ease-out),
    background var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
}

.aakriti-footer .footer-social-media ul li a:hover,
.aakriti-footer .footer-social-media ul li a:focus-visible {
  color: #ffffff;
  background: var(--footer-accent);
  border-color: var(--footer-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

/* ------------------------------------------------------------------ */
/* Bottom bar                                                         */
/* ------------------------------------------------------------------ */

.aakriti-footer .footer-bottom {
  position: relative;
  z-index: 1;
  padding: 1rem 0 1.15rem;
  background: rgba(15, 28, 17, 0.35);
  border-top: 1px solid var(--footer-border);
  backdrop-filter: blur(6px);
  opacity: 1;
  transform: none;
}

.aakriti-footer .footer-bottom .row {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.aakriti-footer .copyright {
  font-size: 0.875rem;
  color: var(--footer-text-muted);
  line-height: 1.5;
}

.aakriti-footer .copyright a {
  color: #ffffff;
  text-decoration: none;
}

.aakriti-footer .copyright a:hover,
.aakriti-footer .copyright a:focus-visible {
  color: var(--footer-accent);
  text-decoration: underline;
}

.aakriti-footer ul.footer-payment-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.aakriti-footer ul.footer-payment-options li {
  display: block;
  margin: 0;
  padding: 0;
}

.aakriti-footer ul.footer-payment-options li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 34px;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
}

.aakriti-footer ul.footer-payment-options li a:hover,
.aakriti-footer ul.footer-payment-options li a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.aakriti-footer ul.footer-payment-options li img {
  display: block;
  max-height: 22px;
  width: auto;
  opacity: 0.95;
}

/* ------------------------------------------------------------------ */
/* WhatsApp float — align with new footer                             */
/* ------------------------------------------------------------------ */

.aakriti-footer ~ .floating-whatsapp a {
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
}

.aakriti-footer ~ .floating-whatsapp a:hover,
.aakriti-footer ~ .floating-whatsapp a:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

/* ------------------------------------------------------------------ */
/* Responsive                                                         */
/* ------------------------------------------------------------------ */

@media (max-width: 1299.98px) {
  .aakriti-footer .footer-bottom {
    padding-bottom: calc(
      var(--mobile-bottom-nav-height, 62px) + 0.75rem + env(safe-area-inset-bottom, 0px)
    );
  }

  #toTop {
    bottom: calc(
      var(--mobile-bottom-nav-height, 62px) + 4.5rem + env(safe-area-inset-bottom, 0px)
    ) !important;
    z-index: 989 !important;
  }
}

@media (max-width: 1199.98px) {
  .aakriti-footer .footer .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aakriti-footer .ftcol.ftcol1 {
    grid-column: 1 / -1;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 991.98px) {
  .footer-wrapper.aakriti-footer {
    margin-top: 0 !important;
    border-radius: 0;
    max-width: 100%;
    width: 100%;
  }

  .aakriti-footer .footer-top {
    padding: 2.25rem 0 1.5rem;
  }

  .aakriti-footer .ftcol,
  .aakriti-footer .ftcol.ftcol1,
  .aakriti-footer .ftcol.ftcol2,
  .aakriti-footer .ftcol.ftcol3,
  .aakriti-footer .ftcol.ftcol4 {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
  }

  .aakriti-footer .footer-bottom .row .col,
  .aakriti-footer .footer-bottom .row .col-auto {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .aakriti-footer ul.footer-payment-options {
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .footer-wrapper.aakriti-footer {
    margin-top: 0 !important;
    border-radius: 0;
    max-width: 100%;
    width: 100%;
  }

  .aakriti-footer .footer-top {
    padding: 1.75rem 0 1rem;
  }

  .aakriti-footer .footer.container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .aakriti-footer .footer .row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "contact contact"
      "sitemap helpful";
    gap: 1rem;
  }

  .aakriti-footer .ftcol.ftcol1 {
    grid-area: brand;
  }

  .aakriti-footer .ftcol.ftcol2 {
    grid-area: contact;
  }

  .aakriti-footer .ftcol.ftcol3 {
    grid-area: sitemap;
  }

  .aakriti-footer .ftcol.ftcol4 {
    grid-area: helpful;
  }

  .aakriti-footer .ftcol.ftcol1 {
    margin-bottom: 0;
    padding-bottom: 0.25rem;
  }

  .aakriti-footer .footlogo {
    margin-bottom: 0.75rem;
  }

  .aakriti-footer .footlogo img {
    max-width: min(140px, 58%);
  }

  .aakriti-footer .footer-tagline {
    font-size: 0.875rem;
    margin-top: 0.5rem;
  }

  .aakriti-footer .footer-social-media ul li a {
    width: 40px;
    height: 40px;
  }

  .aakriti-footer .ftcol.ftcol2,
  .aakriti-footer .ftcol.ftcol3,
  .aakriti-footer .ftcol.ftcol4 {
    padding: 1rem 1.1rem !important;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .aakriti-footer .footer-head {
    display: block;
    width: 100%;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    font-size: 1.0625rem;
    text-align: center;
    border-bottom-width: 1px;
  }

  .aakriti-footer ul.footer-nav.twoCol {
    display: block;
    column-count: unset;
    column-gap: unset;
    gap: unset;
    margin: 0;
  }

  .aakriti-footer .ftcol.ftcol4 ul.footer-nav {
    margin: 0;
  }

  .aakriti-footer ul.footer-nav li {
    margin: 0;
  }

  .aakriti-footer ul.footer-nav li a {
    display: block;
    padding: 0.45rem 0;
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .aakriti-footer ul.footer-nav li a:hover,
  .aakriti-footer ul.footer-nav li a:focus-visible,
  .aakriti-footer ul.footer-nav li.selected a {
    transform: none;
  }

  .aakriti-footer .footer-contact-info-box {
    gap: 0.65rem;
  }

  .aakriti-footer .footer-location,
  .aakriti-footer .footer-phone-number,
  .aakriti-footer .footer-email-address {
    max-width: 100% !important;
    padding-left: 1.55rem;
    font-size: 0.875rem;
    line-height: 1.45;
    word-break: break-word;
  }

  .aakriti-footer .footer-bottom {
    padding: 0.75rem 0 calc(
      var(--mobile-bottom-nav-height, 62px) + 0.75rem + env(safe-area-inset-bottom, 0px)
    );
  }

  .aakriti-footer .footer-bottom .row {
    flex-direction: column;
    gap: 0.65rem;
  }

  .aakriti-footer .copyright {
    font-size: 0.75rem;
    line-height: 1.45;
  }

  .aakriti-footer ul.footer-payment-options {
    gap: 0.35rem;
  }

  .aakriti-footer ul.footer-payment-options li a {
    min-width: 44px;
    min-height: 28px;
    padding: 0.2rem 0.35rem;
  }

  .aakriti-footer ul.footer-payment-options li img {
    max-height: 16px;
  }

  .aakriti-footer ~ .floating-whatsapp {
    right: 0.75rem;
    bottom: calc(
      var(--mobile-bottom-nav-height, 62px) + 0.75rem + env(safe-area-inset-bottom, 0px)
    );
    z-index: 990;
  }

  .aakriti-footer ~ .floating-whatsapp a {
    width: 52px;
    height: 52px;
    padding: 11px;
    line-height: 30px;
    font-size: 26px;
  }

  #toTop {
    right: 0.75rem !important;
    bottom: calc(
      var(--mobile-bottom-nav-height, 62px) + 4.5rem + env(safe-area-inset-bottom, 0px)
    ) !important;
    width: 44px !important;
    height: 44px !important;
    background-size: 44px auto !important;
    z-index: 989 !important;
  }

  #toTopHover {
    width: 44px !important;
    height: 44px !important;
    background-size: 44px auto !important;
  }
}

@media (max-width: 575.98px) {
  .aakriti-footer .footer-top {
    padding: 1.5rem 0 0.85rem;
  }

  .aakriti-footer ul.footer-nav.twoCol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .aakriti-footer .footlogo img,
  .aakriti-footer .footer-social-media ul li a,
  .aakriti-footer ul.footer-nav li a,
  .aakriti-footer ul.footer-payment-options li a,
  .aakriti-footer ~ .floating-whatsapp a {
    transition: none !important;
    transform: none !important;
  }
}
