.footer-section {
    display: flex;
    justify-content: center;
    color: white; 
    padding: 20px 0;
}

.footer-inner {
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    max-width: 1200px;
    margin-top: 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 10px;
}

.footer-description {
    margin: 0;
    font-size: 0.9rem;
}

.links h5 {
    color: #00ff00;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.links a {
    color: white;
    margin-bottom: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.links a:hover {
    color: #00ff00; 
}

.links img {
    height: 20px;
    width: 20px;
    margin-right: 10px;
}

.footer-links{
    display: flex;
    width: 80%;
    /* border:2px solid black; */
    justify-content: space-evenly;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links{
        display: flex;
        flex-direction: row;
        /* border:2px solid black; */
        width: 90%;
        justify-content: space-between;
    }
    .footer-logo, .links {
        margin-bottom: 20px;
    }

    .footer-logo img {
        margin-bottom: 10px;
    }

    .links a {
        margin-bottom: 10px;
    }
}

/* ===== Premium Footer (No Newsletter) ===== */
.site-footer {
  /* glassy black, same as navbar */
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  color: #ddd;
  padding: 3rem 1rem 1rem;
  font-family: sans-serif;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-block h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  border-bottom: 2px solid rgba(255,255,255,0.2);
  display: inline-block;
  padding-bottom: 0.25rem;
}

.footer-block.about .footer-logo img {
  height: 60px;
  margin-bottom: 1rem;
}

.footer-block.about p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-block.links ul {
  list-style: none;
  padding: 0;
}

.footer-block.links ul li {
  margin-bottom: 0.5rem;
}

.footer-block.links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-block.links ul li a:hover {
  color: #fff;
}

.footer-block.contact p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-block.contact a {
  color: #28a745;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-block.contact a:hover {
  color: #1e7e34;
}

/* Bottom bar */
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #aaa;
}

/* ===== Center footer on phones ===== */
@media only screen and (max-width: 768px) {
  /* Turn the grid into a vertical flex column, center everything */
  .footer-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.5rem;
  }

  /* Make each block shrink‑wrap its content */
  .footer-block {
    width: auto !important;
    max-width: 320px !important;
  }

  /* Center the UL and its list items */
  .footer-block.links ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  .footer-block.links ul li {
    width: 100%;
  }

  .footer-block.links ul li a {
    display: block !important;
    text-align: center !important;
  }
}
