.site-footer {
  background: #222;
  color: #fff;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
  border-top: 3px solid #08cb00;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Footer grid layout */
.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column h3 {
  color: #08cb00;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #08cb00;
}

/* Social Media Icons */
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #333;
  border: 2px solid #444;
  border-radius: 50%;
  overflow: hidden;
  transition: all 0.3s ease;
}

.social-icon img {
  width: 24px;   /* force image width */
  height: 24px;  /* force image height */
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  background: #08cb00;
  border-color: #08cb00;
}

.social-icon:hover img {
  transform: scale(1.2);
}

/* Contact Buttons */
.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  background: #df2e38;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 2px solid #df2e38;
}

.contact-btn:hover {
  background: transparent;
  color: #df2e38;
  transform: translateY(-2px);
}

.contact-btn.secondary {
  background: transparent;
  color: #08cb00;
  border-color: #08cb00;
}

.contact-btn.secondary:hover {
  background: #08cb00;
  color: #fff;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: #ccc;
  margin: 0;
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-nav a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  padding: 0.5rem;
}

.footer-nav a:hover {
  color: #08cb00;
}

/* Extra large devices (desktops, >1200px) */
@media (min-width: 1200px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .footer-column h3 {
    font-size: 1.2rem;
  }

  .footer-column ul li a {
    font-size: 1rem;
  }

  .social-icon {
    width: 45px;
    height: 45px;
  }

  .social-icon img {
    width: 26px;
    height: 26px;
  }

  .contact-btn {
    font-size: 1rem;
    padding: 0.9rem 1.4rem;
  }
}

/* Large devices (desktops, 1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-column h3 {
    font-size: 1.1rem;
  }

  .footer-column ul li a {
    font-size: 0.95rem;
  }
}

/* Medium devices (tablets, 768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-column h3 {
    font-size: 1rem;
  }

  .footer-column ul li a {
    font-size: 0.9rem;
  }

  .social-icons {
    justify-content: flex-start;
  }

  .contact-buttons {
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* Small devices (phones, 480px - 767px) */
@media (min-width: 480px) and (max-width: 767px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }

  .social-icons {
    justify-content: center;
  }

  .contact-buttons {
    align-items: center;
  }

  .footer-column h3 {
    font-size: 1rem;
  }

  .footer-column ul li a {
    font-size: 0.85rem;
  }
}

/* Extra small devices (phones, <480px) */
@media (max-width: 479px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.8rem;
  }

  .footer-column h3 {
    font-size: 0.95rem;
  }

  .footer-column ul li a {
    font-size: 0.8rem;
  }

  .social-icons {
    justify-content: center;
    gap: 0.5rem;
  }

  .social-icon {
    width: 35px;
    height: 35px;
  }

  .social-icon img {
    width: 20px;
    height: 20px;
  }

  .contact-btn {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* Ensure main content doesn't overlap footer */
.site-main {
  min-height: calc(100vh - 200px);
  padding: 2rem 0;
}
