/* =========================================================
   SERVIZUP FOOTER
   ========================================================= */

.footer {
  width: 100%;
  padding: 72px 0 28px;
  background: #112c45;
  color: #a1b4c5;
}

/* Footer Container */
.footer > .container {
  width: min(1180px, calc(100% - 64px));
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}


/* =========================================================
   FOOTER GRID
   ========================================================= */

.footer-grid {
  width: 100%;
  display: grid;

  /* HTML এ বর্তমানে ৩টি section আছে */
  grid-template-columns: 2fr 1fr 1.4fr;

  gap: 50px;
  padding-bottom: 55px;

  align-items: start;
}


/* =========================================================
   BRAND
   ========================================================= */

.brand-light {
  color: #ffffff;
  text-decoration: none;
}

.footer-grid .brand {
  display: inline-flex;
  align-items: center;
}


/* =========================================================
   HEADINGS
   ========================================================= */

.footer-grid h3 {
  margin: 0 0 15px;

  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}


/* =========================================================
   FOOTER LINKS
   ========================================================= */

.footer-grid > div:not(:first-child) a {
  display: block;

  margin: 9px 0;

  color: #a1b4c5;
  font-size: 12px;
  line-height: 1.6;

  text-decoration: none;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-grid > div:not(:first-child) a:hover {
  color: #ffffff;
  transform: translateX(3px);
}


/* =========================================================
   SOCIAL ICONS
   ========================================================= */

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-top: 20px;
  padding-left: 0;
}

.footer-social a {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;

  color: #ffffff;
  font-size: 18px;

  text-decoration: none;

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.footer-social a:hover {
  transform: translateY(-3px);
}

/* Facebook */
.footer-social a:first-child:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #ffffff;
}

/* YouTube */
.footer-social a:last-child:hover {
  background: #FF0000;
  border-color: #FF0000;
  color: #ffffff;
}


/* =========================================================
   LOCATION
   ========================================================= */

.footer-location {
  text-align: left;
  justify-self: start;
}


/* =========================================================
   GOOGLE MAP
   ========================================================= */

.footer-map {
  width: 360px;
  max-width: 100%;
  height: 180px;

  margin-top: 18px;
  margin-left: 0;

  overflow: hidden;
  border-radius: 6px;

  background: #0d2438;
}

.footer-map iframe {
  width: 100%;
  height: 100%;

  display: block;

  border: 0;
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;

  padding-top: 22px;

  border-top: 1px solid rgba(205, 224, 239, 0.12);

  color: #8fa5b8;
  font-size: 11px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .footer > .container {
    width: calc(100% - 40px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-location {
    justify-self: start;
  }

  .footer-map {
    width: 100%;
    max-width: 320px;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .footer {
    padding: 55px 0 25px;
  }

  .footer > .container {
    width: calc(100% - 32px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;

    padding-bottom: 40px;
  }

  .footer-grid > div {
    width: 100%;
  }

  .footer-location {
    width: 100%;
    justify-self: start;
  }

  .footer-map {
    width: 100%;
    max-width: 100%;
    height: 200px;
  }

  .footer-social {
    justify-content: flex-start;
    padding-left: 0;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;

    gap: 8px;

    text-align: center;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

  .footer {
    padding: 45px 0 22px;
  }

  .footer > .container {
    width: calc(100% - 24px);
  }

  .footer-grid {
    gap: 30px;
  }

  .footer-map {
    height: 180px;
  }

  .footer-social a {
    width: 40px;
    height: 40px;

    font-size: 17px;
  }
}