footer {
  background: linear-gradient(180deg, #1a1a1a, #111); /* subtle gradient */
  color: #ccc;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Columns */
.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  min-width: 250px; /* prevents items from shrinking too much */
}

/* Left Section */
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-left h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
}

.footer-quote {
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  color: #aaa;
}

/* Center Section */
.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
}

.footer-center h4 {
  font-size: 18px;
  color: #fff;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.circle-icon {
  width: 55px;
  height: 55px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #222;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.circle-icon:hover {
  background: #ff9800; /* accent color on hover */
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}

.circle-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

/* Right Section */
.footer-right {
  display: flex;
  flex-wrap: nowrap;   /* keep one line */
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.footer-right img {
  flex: 1 1 auto;       /* ✅ let logos grow/shrink */
  max-width: 100px;     /* upper limit */
  min-width: 50px;      /* lower limit to avoid being too tiny */
  height: auto;
  object-fit: contain;  /* keep proportions */
}




.footer-right p {
  font-size: 14px;
  color: #aaa;
}

/* Bottom Bar */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #333;
  font-size: 15px;
  color: #888;
}

.footer-bottom span {
  color: #ff9800;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-right {
    text-align: center;
  }
}

/* =========================
   RESPONSIVE FOOTER
========================= */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  /* ✅ stack sections vertically */
  .footer-left,
  .footer-center,
  .footer-right {
    min-width: unset; /* let them shrink naturally */
    width: 100%;
  }

  .footer-left {
    align-items: center;
  }

  .footer-right {
    flex-wrap: wrap;        /* allow wrapping */
    justify-content: center;
    gap: 20px;
  }

  .footer-left h3 {
    font-size: 1.3rem;
  }
  .footer-quote {
    font-size: 0.95rem;
  }
  .footer-center h4 {
    font-size: 1.2rem;
  }
}

/* Mobile (≤ 600px) */
@media (max-width: 600px) {
  footer {
    padding: 30px 15px;
  }

  .footer-left h3 {
    font-size: 1.1rem;
  }
  .footer-quote {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .footer-center h4 {
    font-size: 1rem;
  }

  .circle-icon {
    width: 45px;
    height: 45px;
  }
  .circle-icon svg {
    width: 18px;
    height: 18px;
  }

  .footer-right {
    gap: 10px;
  }
  .footer-right img {
    max-width: 70px;
    min-width: 40px;
  }

  .footer-bottom {
    font-size: 0.85rem;
  }
}