/* Reset styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* footer section start */
.footer-wrapper {
  background: #0E0F10;
  padding: 60px 3rem 20px 3rem;
  height: auto;
  position: relative;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 30px;
}

/* Left Side */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.brand-identity {
  margin-bottom: 20px;
}
.company-logo {
  width: 80px;
  height: 80.53px;
  border-radius: 50%;
  margin-bottom: 15px;
}
.brand-description {
  color: white;
  line-height: 1.4;
  font-size: 16px;
  font-family: 'Lato';
  /* keep normal wrapping; the manual <br> in HTML will enforce two lines */
  white-space: normal;
}
.social-title {
  font-size: 18px;
  color: white;
  margin-bottom: 10px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}
.social-icons {
  display: flex;
  gap: 15px;
}
.social-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #0470D2;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  transition: all 0.3s ease;
}
.social-icon:hover {
  background-color: #007bff;
  color: white;
}

/* Middle Section */
.footer-links-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  font-family: 'Poppins', sans-serif;
}
.column-title {
  font-size: 16px;
  color: white;
  margin-bottom: 15px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list li {
  margin-bottom: 10px;
  font-size: 14px;
}
.footer-list a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-list a:hover {
  color: #007bff;
}

/* Right Side */
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-section {
  margin-bottom: 20px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li {
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 15px;
  color: white;
}
.contact-list li a {
  text-decoration: none;
  color: #f5f5f5;
}
.contact-list li a:hover {
  color: #007bff;
}
.contact-icon {
  color: black;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.contact-icon-wrapper {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0470D2;
  position: relative;
}

/* Subscribe Section */
.subscribe-section {
  margin-bottom: 20px;
}
.subscribe-title {
  font-size: 22px;
  color: white;
  margin-bottom: 15px;
  font-weight: 600;
  font-family: 'Poppins';
  line-height: 16px;
}
.input-group {
  display: flex;
  position: relative;
  width: 100%;
  max-width: 370px;
}
.subscribe-input {
  width: 100%;
  height: 48px;
  padding: 16px;
  border: 1px solid #D1D5DB;
  border-radius: 4px;
  background-color: #0E0F10;
  font-size: 14px;
  color: #4B5563;
  font-family: 'Work Sans';
}
.submit-btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  border: none;
  background-color: transparent;
  color: #333;
  cursor: pointer;
  margin-right: 10px;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.submit-btn:hover {
  color: #007bff;
}

/* Certificates Section */
.certificates-containerA {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.footer-certificate {
  border-radius: 50%;
  transition: transform 0.3s ease;
}
.footer-certificate:hover {
  transform: scale(1.05);
}
.certificate-A {
  width: 70px;
  height: 70px;
}
.certificate-B {
  width: 100px;
  height: 100px;
}
.certificate-C {
  width: 70px;
  height: 70px;
}

/* Footer Bottom */
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 20px;
  text-align: center;
}
.divider {
  height: 1px;
  background-color: #FFFFFF;
  opacity: 26%;
  margin-bottom: 20px;
}
.copyright-text {
  font-family: 'Lato';
  color: #FFFFFF;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  .footer-right {
    grid-column: 1 / -1;
    order: 3;
  }
  .footer-links-section {
    order: 2;
  }
  .footer-left {
    order: 1;
  }
  .certificates-containerA {
    justify-content: flex-start;
  }
}
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-links-section {
    grid-template-columns: repeat(3, 1fr);
  }
  .subscribe-section {
    max-width: 370px;
  }
}
@media (max-width: 768px) {
  .footer-wrapper {
    padding: 40px 2rem 20px 2rem;
  }
  .footer-links-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .certificates-containerA {
    justify-content: flex-start;
  }
}
@media (max-width: 576px) {
  .footer-links-section {
    grid-template-columns: 1fr;
  }
  .footer-content {
    padding: 0 10px;
  }
  .certificates-containerA {
    flex-wrap: wrap;
    gap: 15px;
  }
  .certificate-A,
  .certificate-C {
    width:80px;
    height: 80px;
  }
  .certificate-B{
    width: 100px;
    height: 100px;
  }
}
@media (max-width: 480px) {
  .footer-wrapper {
    padding: 30px 1rem 15px 1rem;
  }
  .social-icons {
    gap: 10px;
  }
  .social-icon {
    width: 30px;
    height: 30px;
  }
}