:root {
  --gi-footer-bg: #062f54;
  --gi-footer-bg-dark: #052a4b;
  --gi-footer-text: #edf4fb;
  --gi-footer-muted: #d7e1eb;
  --gi-footer-line: rgba(255, 255, 255, 0.2);
  --gi-footer-orange: #ff5200;
  --gi-footer-green: #20c96b;
  --gi-footer-blue: #1478ff;
}

* {
  box-sizing: border-box;
}

.gi-footer,
.gi-footer button,
.gi-footer input,
.gi-footer textarea {
  font-family: "Poppins", Arial, sans-serif;
}

.gi-footer {
  width: 100%;
  background: linear-gradient(115deg, var(--gi-footer-bg-dark), var(--gi-footer-bg));
  color: var(--gi-footer-text);
}

.gi-footer-container {
  width: min(1460px, calc(100% - 48px));
  margin: 0 auto;
  padding: 38px 0 22px;
}

.gi-footer a {
  color: inherit;
  text-decoration: none;
}

.gi-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gi-footer h2,
.gi-footer p {
  margin-top: 0;
}

.gi-footer-top {
  display: grid;
  grid-template-columns: 1fr 1.12fr 0.95fr 1.2fr;
  gap: clamp(30px, 5vw, 88px);
}

.gi-footer-column h2,
.gi-footer-social h2,
.gi-footer-contact h2,
.gi-service-areas h2 {
  margin-bottom: 17px;
  color: #fff;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
}

.gi-footer-column li + li {
  margin-top: 10px;
}

.gi-footer-column li a,
.gi-footer-address > a {
  display: inline-flex;
  color: var(--gi-footer-muted);
  font-size: 16px;
  line-height: 1.55;
  transition: color 0.25s ease, transform 0.25s ease;
}

.gi-footer-column li a:hover,
.gi-footer-column li a:focus-visible,
.gi-footer-address > a:hover,
.gi-footer-address > a:focus-visible {
  color: #ff7a3a;
  transform: translateX(4px);
}

.gi-footer-address > a {
  align-items: flex-start;
  gap: 10px;
}

/* Address location icon default white */
.gi-footer-address .fa-location-dot {
  margin-top: 5px;
  color: #ffffff;
  transition: color 0.25s ease;
}

/* Address पर hover होने के बाद icon orange */
.gi-footer-address > a:hover .fa-location-dot,
.gi-footer-address > a:focus-visible .fa-location-dot {
  color: var(--gi-footer-orange);
}

.gi-footer-divider {
  height: 1px;
  margin: 29px 0 24px;
  background: var(--gi-footer-line);
}

.gi-service-areas h2 {
  margin-bottom: 16px;
  text-align: center;
}

.gi-city-links {
  display: grid;
  grid-template-columns: repeat(7, minmax(100px, 1fr));
  gap: 12px 18px;
  text-align: center;
}

.gi-city-links a {
  position: relative;
  padding: 2px 10px;
  color: var(--gi-footer-muted);
  font-size: 15px;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.gi-city-links a:not(:nth-child(7n))::after {
  position: absolute;
  top: 50%;
  right: -9px;
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.5);
  content: "";
  transform: translateY(-50%);
}

.gi-city-links a:hover,
.gi-city-links a:focus-visible {
  color: #ff7a3a;
}

.gi-footer-utility {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 34px;
}

.gi-footer-social h2,
.gi-footer-contact h2 {
  margin-bottom: 11px;
  font-size: 18px;
}

.gi-social-links {
  display: flex;
  gap: 12px;
}

.gi-social-links a {
  display: grid;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 7px;
  place-items: center;
  font-size: 20px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.gi-social-links a:hover,
.gi-social-links a:focus-visible {
  border-color: var(--gi-footer-orange);
  background: var(--gi-footer-orange);
  transform: translateY(-3px);
}

.gi-footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  padding-bottom: 7px;
}

.gi-footer-contact h2 {
  margin: 0;
  white-space: nowrap;
}

.gi-footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  transition: color 0.25s ease;
}

.gi-footer-contact a + a {
  padding-left: 23px;
  border-left: 1px solid rgba(255, 255, 255, 0.6);
}

.gi-footer-contact i {
  color: var(--gi-footer-orange);
  font-size: 21px;
}

.gi-footer-contact a:hover,
.gi-footer-contact a:focus-visible {
  color: #ff7a3a;
}

.gi-footer-quote-btn {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 25px;
  border-radius: 8px;
  background: var(--gi-footer-orange);
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.25s ease;
}

.gi-footer-quote-btn:hover,
.gi-footer-quote-btn:focus-visible {
  background: #e74900;
  transform: translateY(-2px);
}

.gi-footer-copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font-size: 15px;
}

.gi-footer-copyright p {
  margin: 0;
}

.gi-footer-copyright > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gi-footer-copyright a {
  transition: color 0.25s ease;
}

.gi-footer-copyright a:hover,
.gi-footer-copyright a:focus-visible {
  color: #ff7a3a;
}

.gi-floating-contact {
  position: fixed;
  z-index: 9998;
  bottom: 24px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gi-float-btn,
.gi-back-to-top {
  display: grid;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  place-items: center;
  font-size: 23px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.gi-whatsapp-btn,
.gi-phone-btn {
  background: var(--gi-footer-green);
}

.gi-float-btn:hover,
.gi-float-btn:focus-visible,
.gi-back-to-top:hover,
.gi-back-to-top:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-3px);
}

.gi-back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 9998;
  visibility: hidden;
  border-radius: 10px;
  background: var(--gi-footer-blue);
  opacity: 0;
  transform: translateY(16px);
}

.gi-back-to-top.gi-show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* Laptop and small desktop */
@media (max-width: 1200px) {
  .gi-footer-container {
    width: min(100% - 40px, 1100px);
  }

  .gi-footer-top {
    gap: 34px;
  }

  .gi-city-links {
    grid-template-columns: repeat(5, minmax(110px, 1fr));
  }

  .gi-city-links a::after {
    display: none;
  }

  .gi-footer-utility {
    grid-template-columns: auto 1fr;
  }

  .gi-footer-quote-btn {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .gi-footer-container {
    width: min(100% - 34px, 760px);
    padding-top: 32px;
  }

  .gi-footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 50px;
  }

  .gi-city-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gi-footer-utility {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .gi-footer-contact {
    flex-wrap: wrap;
  }

  .gi-footer-quote-btn {
    grid-column: auto;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .gi-footer-container {
    width: min(100% - 28px, 480px);
    padding: 28px 0 20px;
  }

  .gi-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }

  .gi-footer-column h2,
  .gi-service-areas h2 {
    margin-bottom: 13px;
    font-size: 18px;
  }

  .gi-footer-column li + li {
    margin-top: 8px;
  }

  .gi-footer-column li a,
  .gi-footer-address > a {
    font-size: 14px;
  }

  .gi-footer-divider {
    margin: 23px 0 20px;
  }

  .gi-city-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 8px;
  }

  .gi-city-links a {
    overflow-wrap: anywhere;
    padding: 3px;
    font-size: 13px;
    white-space: normal;
  }

  .gi-social-links {
    gap: 9px;
  }

  .gi-social-links a {
    width: 43px;
    height: 43px;
    font-size: 18px;
  }

  .gi-footer-contact {
    flex-direction: column;
    gap: 12px;
  }

  .gi-footer-contact a + a {
    padding-left: 0;
    border-left: 0;
  }

  .gi-footer-contact a {
    font-size: 14px;
  }

  .gi-footer-copyright {
    flex-direction: column;
    text-align: center;
    font-size: 13px;
  }

  .gi-footer-copyright > div {
    gap: 9px;
  }

  .gi-floating-contact {
    bottom: 14px;
    left: 10px;
  }

  .gi-float-btn,
  .gi-back-to-top {
    width: 48px;
    height: 48px;
    font-size: 19px;
  }

  .gi-back-to-top {
    right: 10px;
    bottom: 14px;
  }
}

/* Very small mobiles */
@media (max-width: 390px) {
  .gi-footer-top {
    grid-template-columns: 1fr;
  }

  .gi-city-links {
    grid-template-columns: 1fr 1fr;
  }

  .gi-footer-quote-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gi-footer *,
  .gi-floating-contact *,
  .gi-back-to-top {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}