
/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* Base layout: ensure footer sticks to bottom */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
}

#root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.footer {
  background: url('/images/footback.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  padding: 18px 14px 7px; /* ⬇ 30% */
  text-align: center;
  margin-top: auto;
}

.footer-section {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-block {
  flex: 1 1 30%;
  min-width: 250px;
  margin-bottom: 10px; /* ⬇ 30% */
}

.footer-block h4 {
  font-size: 10px; /* ⬇ 30% */
  margin-bottom: 7px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-block p {
  margin: 4px 0;
  font-size: 9px; /* ⬇ 30% */
  line-height: 1.6;
  font-weight: 400;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 11px; /* ⬇ 30% */
  margin-top: 7px;
  flex-wrap: wrap;
}

.social-icons i {
  font-size: 13px; /* ⬇ 30% */
  color: white;
  transition: transform 0.3s ease;
}

.social-icons i:hover {
  transform: scale(1.2);
  color: #00aced;
}

.footer-bottom {
  border-top: 1px solid #ccc;
  margin-top: 14px; /* ⬇ 30% */
  padding-top: 11px;
  font-size: 9px; /* ⬇ 30% */
  color: #bbb;
}

/* === Tablet and below === */
@media (max-width: 991px) {
  .footer-section {
    justify-content: center;
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .footer-block {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
    min-width: 160px;
    margin: 10px;
    text-align: center;
  }

  .footer-block h4 {
    font-size: 12px; /* ⬇ 15% */
    margin-bottom: 6px;
  }

  .footer-block p {
    font-size: 10.5px; /* ⬇ 15% */
  }

  .social-icons {
    gap: 13px;
  }

  .social-icons i {
    font-size: 15.5px;
  }

  .footer-bottom {
    margin-top: 18px;
    padding-top: 8.5px;
    font-size: 10.5px;
  }
}

/* === Extra Small Devices: Mobile Portrait (Up to 480px) === */
@media (max-width: 480px) {
  .footer-block {
    flex: 1 1 45%;
    max-width: 100%;
    min-width: unset;
    margin: 4px 0;
    text-align: center;
  }

  .footer-block h4 {
    font-size: 10.2px; /* ⬇ 15% */
    margin-bottom: 3.5px;
  }

  .footer-block p {
    font-size: 9.3px;
  }

  .social-icons {
    gap: 8.5px;
  }

  .social-icons i {
    font-size: 13.5px;
  }

  .footer-bottom {
    font-size: 9.7px;
  }
}

/* === Small Tablets: 600px - 767px === */
@media (min-width: 600px) and (max-width: 767px) {
  .footer-block {
    flex: 1 1 45%;
    max-width: 45%;
  }

  .footer-block h4 {
    font-size: 11px;
  }

  .footer-block p {
    font-size: 10.2px;
  }
}

/* === Large Desktops (1200px and up) === */
@media (min-width: 1200px) {
  .footer-block h4 {
    font-size: 12.6px;
  }

  .footer-block p {
    font-size: 11.2px;
  }

  .social-icons i {
    font-size: 15.4px;
  }

  .footer-bottom {
    font-size: 9.1px;
  }
}
