.footer {
    background-color: #7e1500;
    padding: 40px 60px;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 25px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

/* Logo & Title Section */
.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 220px;
}

.footer-logo {
    height: 100px;
    width: 100px;
    margin-bottom: 10px;
}

.footer-title h2 {
    margin: 2px 0;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 600;
}

/* Link Columns */
.footer-links {
    display: flex;
    gap: 60px;
    flex: 1;
    justify-content: center;
}

.footer-links h3 {
    font-size: 18px;
    margin-bottom: 10px;
    border-bottom: 2px solid white;
    display: inline-block;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

/* App Download Section */
.footer-media {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
}

.footer-bottom-container {
    display: flex;
    flex-direction: column; /* <-- key change for vertical layout */
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0 auto;
}

.app-button img {
    width: 170px;
    height: auto;
}

@media (max-width: 768px) {
    .footer {
      padding: 30px 20px;
    }
  
    .footer-container {
      flex-direction: column;
      align-items: flex-start;
      gap: 30px;
    }
  
    .footer-logo-section {
      align-items: flex-start;
      width: 100%;
    }
  
    .footer-title h2 {
      font-size: 20px;
    }
  
    .footer-links {
      flex-direction: column;
      align-items: flex-start;
      gap: 30px;
      width: 100%;
    }
  
    .footer-links div {
      width: 100%;
    }
  
    .footer-links h3 {
      font-size: 16px;
      margin-bottom: 8px;
    }
  
    .footer-links a {
      font-size: 14px;
    }
  
    .footer-bottom {
      padding: 20px 0;
      width: 100%;
      justify-content: flex-start;
    }
  
    .footer-bottom-container {
      flex-direction: row;
      gap: 15px;
    }
  
    .app-button {
      width: 150px;
      height: 60px;
    }
  
    .app-button img {
      width: 100%;
      height: 100%;
    }
  
    .footer-bottom + div {
      flex-direction: column;
      padding: 10px;
      font-size: 13px;
      text-align: center;
    }
  }
  