/*------------------------ FOOTER PANEL ------------------------*/

/*--- FOOTER LAYOUT CONTAINING THE TOP AND BOTTOM PARTS ---*/
.footer {
  background-color: var(--background-grey-dark);
}

/*--- FOOTER TOP PANEL ---*/
/*
1. Footer branding contains the company logo, 
a brief descriptions and social links
*/
.footer__branding {
  padding-right: 8rem;
  display: flex;
  flex-direction: column;
}

@media only screen and (max-width: 27.5em) {
  .footer__branding {
    padding-right: 0;
  }
}

.footer__logo {
  width: 75%;
  margin-bottom: 4rem;
}

@media only screen and (max-width: 85.375em) {
  .footer__logo {
    width: 60%;
  }
}

.footer__logo-img {
  width: 100%;
}

/*--- HEADERS FOR COLUMNS WITHIN THE FOOTER ---*/
.footer__heading {
  color: var(--color-primary-light);
  letter-spacing: 3px;
  line-height: 2rem;
  text-transform: uppercase;
  margin-bottom: 3rem;
}

/*--- SOCIAL LINKS TO NAVIGATE TO THE RESPECTIVE SOCIAL PAGES ---*/
.footer__social-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer__social-link:link,
.footer__social-link:visited {
  cursor: pointer;
  width: 4.8rem;
  height: 4.8rem;
  border: 1px solid var(--color-primary-light);
  border-radius: 2px;
  transition: all 0.2s;

  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__social-link:hover,
.footer__social-link:focus {
  background-color: var(--color-primary-light);
}

.footer__social-link-icon {
  width: 2rem;
  height: 2rem;
  fill: var(--color-primary-light);
  transition: all 0.2s;
}

.footer__social-link:hover > .footer__social-link-icon,
.footer__social-link:focus > .footer__social-link-icon {
  fill: var(--color-secondary);
}

/*--- FOOTER NAVIGATION MENU ---*/
ul.footer__nav-list,
.footer__address-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer__nav-link:link,
.footer__nav-link:visited {
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-decoration: none;
  text-transform: capitalize;
  letter-spacing: 0.3px;
  color: var(--color-text-light);
  transition: all 0.2s;

  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
}

.footer__nav-link:hover,
.footer__nav-link:focus {
  color: var(--color-primary-light);
  text-decoration: underline;
}

.footer__nav-link-icon {
  width: 1.4rem;
  height: 1.4rem;
  fill: var(--color-text-light);
  transition: all 0.2s;
}

.footer__nav-link:hover > .footer__nav-link-icon,
.footer__nav-link:focus > .footer__nav-link-icon {
  fill: var(--color-primary-light);
}

/*--- COMPANY ADDRESS INFORMATION ---*/
.footer__address-info {
  font-size: inherit;
  font-weight: inherit;
  color: var(--color-text-light);
  line-height: 2rem;

  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer__address-icon {
  width: 4.8rem;
  height: 4.8rem;
  background-color: var(--color-primary-light);
  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.footer__address-icon-img {
  width: 2.4rem;
  height: 2.4rem;
  fill: var(--color-secondary);
}

/*--- FOOTER BOTTOM PANEL ---*/
/*
1. It shows the copyright and developer details
*/
.footer__paragraph {
  color: var(--color-text-light);
}

.highlighted-text {
  color: var(--color-white);
  font-weight: 600;
}

/*------------------------ FOOTER PANEL ------------------------*/
