
#blackportion {
  display: flex;
  justify-content: space-around;
  align-items: center;

  background-color: black;
  color: white;
}

#black1, #black2, #black3 {
  flex: 2;
  text-align: center;
  padding: 7px;
}


#black3 p{
  font-size: small;

}
#black1 > div{
  display: inline-block;
  width:30%;
  margin-bottom: 4%;
}
#black1{
  display: inline-block;
  margin-left:7%;
 
}



#black2 form input {
  padding: 7px;
  margin-right: 5px;
}

#black2 form button {
  padding: 6px 20px;
  background-color: pink;
  border: none;
  border-radius: 2px;

  cursor: pointer;
}

.footer-list-div ul {
  list-style: none;
  font-style: normal;
  font-size: small;
  padding: 0;
}

.footer-list-div ul li {
  margin: 5px 0;
}

.footer-layer-1 {
  display: flex;
  justify-content: space-around;
  padding: 20px;
  background-color: #f4f4f4;
}

.footer-layer-1 header {
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-layer-2 {
  height: 100px;
  width: 100%;
  padding: 1.625rem 1rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1.2fr;
  box-sizing: border-box;
  color: var(--primary-text-black);
}

.footer-activity {
  display: grid;
  grid-template-columns: 1fr 3fr;
}

.footer-layer-2 > div h4 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 20px;
}

.footer-layer-2 > div p {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

.footer-social-media {
  text-align: center;
}

.phone-social-media {
  display: none;
}

.footer-social-media > ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  padding: 0 50px;
}

.footer-social-media > span {
  font-size: 13px;
  font-weight: 400;
}

.footer-social-media li {
  color: var(--primary-background-black);
}

.footer-social-media a {
  font-size: 18px;
  text-decoration: none;
  color: var(--primary-background-black);
}

/*************/

.footer-layer-3 {
  height: 70px;
  background-color:#df3d8b;
  color: var(--primary-background);
}

.footer-layer-3 > div a {
  text-decoration: none;
  color: var(--primary-background);
}

.footer-layer-3 > div:first-child {
  display: flex;
  justify-content: center;
  gap: 29px;
  /* padding-top: -4px; */
  font-size: 13px;
  font-weight: 500;
  line-height: 49px;
}

.footer-credit {
  text-align: center;
  font-size: 12px;
 
}
/* 
/* responsive  */
/* Small Devices (Max Width: 768px) */
/* @media (max-width: 768px) {
  footer {
    display: flex;
    flex-direction: column; 
    align-items: center;
  }

  #blackportion {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
    text-align: center;
  }

  #black1, #black2, #black3 {
    flex: 1;
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
  }

  .footer-layer-1 {
    order: 1; 
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 10px;
    text-align: center;
    width: 100%;
  }

  .footer-layer-2 {
    order: 2; 
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    gap: 20px;
    text-align: center;
    width: 100%;
  }

  .footer-social-media {
    order: 3; 
    margin-top: 20px;
    text-align: center;
    width: 100%;
  }

  .footer-social-media > ul {
    display: flex;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
  }
}
   .footer-layer-3 {
    order: 4; 
    text-align: center;
    padding: 20px 10px;
    background-color: #ff1493; 
    color: white;
    width: 100%; 
  }

  .footer-layer-3 > div:first-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    line-height: 18px;
  } 
  .footer-credit {
    font-size: 12px;
    margin-top: 15px;
  } */


/* Extra Small Devices (Max Width: 576px) */
 /* @media (max-width: 576px) {
  footer {
    display: flex;
    flex-direction: column; 
    align-items: center;
  }

  #blackportion {
    flex-direction: column;
    align-items: center;
    padding: 15px;
    gap: 15px;
    text-align: center;
  }

  #black1, #black2, #black3 {
    flex: 1;
    width: 100%;
    margin-bottom: 15px;
    text-align: center;
  }

  .footer-layer-1 {
    order: 1;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 15px;
    text-align: center;
    width: 100%;
  }

  .footer-layer-2 {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 10px;
    width: 100%;
  }

  .footer-social-media {
    order: 3;
    margin-top: 15px;
    text-align: center;
    width: 100%;
  }

  .footer-social-media > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0;
    list-style: none;
  } 
}

   .footer-layer-3 {
    order: 4; 
    text-align: center;
    padding: 15px 10px;
    background-color: #ff1493; 
    color: white;
    width: 100%;
  }

  .footer-layer-3 > div:first-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    font-size: 10px;
    line-height: 16px;
  }  

  .footer-credit {
    font-size: 10px;
    margin-top: 10px;
  }


 */
/* ✅ Small Devices (Max Width: 768px) */
@media (max-width: 768px) {
  footer {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #blackportion {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
    text-align: center;
  }

  #black1, #black2, #black3 {
    flex: 1;
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
  }

  .footer-layer-1 {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 10px;
    text-align: center;
    width: 100%;
  }

  .footer-layer-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    gap: 20px;
    text-align: center;
    width: 100%;
  }

  .footer-social-media {
    margin-top: 20px;
    text-align: center;
    width: 100%;
  }

  .footer-social-media > ul {
    display: flex;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
  }

  /* ✅ Ensure footer-layer-3 is always at the bottom */
  .footer-layer-3 {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ff1493;
    color: white;
    text-align: center;
    padding: 15px 10px;
    z-index: 1000; /* Keeps it above other content */
  }

  .footer-layer-3 > div:first-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    line-height: 18px;
  }

  .footer-credit {
    font-size: 12px;
    margin-top: 15px;
  }
}

/* ✅ Extra Small Devices (Max Width: 576px) */
@media (max-width: 576px) {
  footer {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #blackportion {
    flex-direction: column;
    align-items: center;
    padding: 15px;
    gap: 15px;
    text-align: center;
  }

  #black1, #black2, #black3 {
    flex: 1;
    width: 100%;
    margin-bottom: 15px;
    text-align: center;
  }

  .footer-layer-1 {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 15px;
    text-align: center;
    width: 100%;
  }

  .footer-layer-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 10px;
    width: 100%;
  }

  .footer-social-media {
    margin-top: 15px;
    text-align: center;
    width: 100%;
  }

  .footer-social-media > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0;
    list-style: none;
  }

  /* ✅ Keep footer-layer-3 at the bottom */
  .footer-layer-3 {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ff1493;
    color: white;
    text-align: center;
    padding: 15px 10px;
    z-index: 1000;
  }

  .footer-layer-3 > div:first-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    font-size: 10px;
    line-height: 16px;
  }

  .footer-credit {
    font-size: 10px;
    margin-top: 10px;
  }
}
