/* Importing Google font - Open Sans */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

.footer {
    padding: 0 50px;
  max-width: 10000px;
  width: 100%;
  background: #FFFF;
  text-align: left;
}

.footer form{
    text-align: left;
    padding-top: 20px;
}

.footer .head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 20px 60px;
}

.footer .head > div {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer .head img {
  max-height: 220px;
  height: auto;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.footer .footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3.5rem;
  padding: 40px 60px;
}
.footer-row .footer-col h4 {
  font-size: 1.2rem;
  font-weight: 400;
}
.footer-col .links {
  margin-top: 20px;

}

.footer-col .links li {
  list-style: none;
  margin-bottom: 10px;
}
.footer-col .links li a {
  text-decoration: none;
}

.footer-col p {
  margin: 20px 0;
  max-width: 300px;
}
.footer-col form {
  display: flex;
  gap: 5px;
}
.footer-col input {
  height: 30px;
  border-radius: 20px;
  background: none;
  width: 100%;
  outline: none;
  border: 1px solid black ;
  padding-left: 10px;
  text-align: left;
}

 .footer-col form button {
  background: #D7D7D7;
  outline: none;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: 0.2s ease;
}
.footer-col form button:hover {
  background: #cecccc;
}
.footer-col .icons {
  display: flex;
  margin-top: 30px;
  gap: 30px;
  cursor: pointer;
}



.footer-col .form li {
  list-style: none;
  margin-bottom: 10px;
}



.footer .foot{
    text-align: center;
    padding: 20px;
}


@media (max-width: 768px) {
  .footer {
    position: relative;
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    border-radius: 0;
  }
  .footer .footer-row {
    padding: 20px;
    gap: 1rem;
  }
  .footer-col form {
    display: block;
  }
  .footer-col form :where(input, button) {
    width: 100%;
  }
  .footer-col form button {
    margin: 10px 0 0 0;
  }
}

.footer img{
  max-width: 100%;
  height: auto;
  width: clamp(60px, 10vw, 120px);
  object-fit: contain;
}

.footer .social a {
  font-size: 1.2rem;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.footer .social a:hover {
  transform: translateY(-3px);
}


/* Social Media Section Styles */
.footer .social {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 30px 20px;
  align-items: center;
  justify-content: center;
}

.footer .social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer .social-icon {
  font-size: 1.5rem; /* Slightly reduced from 1.8rem */
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none !important; /* Removes any underline */

}

.footer .social-icon:hover {
  transform: translateY(-5px);
}



/* Adjust the header section to center items better */
.footer .head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 3.5rem;
  padding: 0 60px;
}

@media (max-width: 768px) {
  .footer {
      padding: 0 20px;
  }
  
  .footer .head {
      padding: 20px;
      gap: 1.5rem;
      justify-content: center;
  }
  
  .footer .head > div {
      flex-direction: column;
      gap: 0.5rem;
  }
  
  .footer .head img {
      max-height: 60px;
      max-width: 120px;
  }
  
  .footer .social {
    gap: 12px;
    padding: 20px 10px;
  }
  
  .footer .social-icon {
    font-size: 1.2rem; /* Smaller icons on mobile */
    width: 36px;
    height: 36px;
  }
  
  .footer .social-name {
    font-size: 0.7rem; /* Smaller text labels */
  }
  
  .footer .social-item {
    gap: 4px;
  }
  
  .footer-row {
      flex-direction: column;
      gap: 2rem !important;
      padding: 20px !important;
  }
  
  .footer-col {
      width: 100%;
  }
  
  .footer-col h4 {
      margin-bottom: 15px;
  }
  
  hr {
      margin: 0 20px;
  }
}