.footer {
  background-color: #182249;
  padding: 40px 0;
  font-family: Arial, sans-serif;
  color: #fff;
}

.page-container {
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 4vw;
  box-sizing: border-box;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1450px;
  margin: 0 auto;
  gap: 10px 40px;
  box-sizing: border-box;
}

.footer-col {
  flex: 1 1 250px;
  min-width: 180px;
}

.brand .logo {
  height: 40px;
}

.brand p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 380px;
  text-align: left;
  color: white;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.icon {
  width: 32px;
  height: 32px;
  background: #f5f5f5;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

.links .section-title,
.right-links .section-title {
  color: #FAAB1C;
  margin-bottom: 10px;
  font-size: 25px;
  margin-top: auto;
}

.link-group {
  margin-bottom: 20px;
}

.section-title {
  color: #FAAB1C;
  margin-top: 15px;
font-size: 20px;
  margin-bottom: 8px;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: white;
  font-size: 16px;
  margin: 8px 0;
}

.footer-col a:hover {
  text-decoration: underline;
}

.GIT p {
  line-height: 1.6;
}

.GIT h4 {
  color: #FAAB1C;
  font-size: 20px;
  margin-bottom: 5px;
  margin-top: 30px;
  font-weight: bold;
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: #4b4f64;
  width: 100%;
}

.footer-bottom p {
  margin: 0 auto;
  padding: 10px;
  color: white;
}

.footer-bottom a {
  color: #00a8a4;
  text-decoration: none;
  margin: 0 5px;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-divider {
  border: none;
  border-top: 1px solid white;
  width: 100%;
  height: 0;
  margin: 1px A 0;
}

.footer-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
  grid-template-columns: 1fr;

  opacity: 0;
  transform: scale(0.8);
  animation: zoomIn 0.8s ease-out forwards;
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


img.ad-banner {
  width: 100%;
  height: auto;
}

/* ========== Responsive Views ========== */

/* Mobile - Fix: Changed to max-width for mobile styles */
@media (min-width: 441px) and (max-width: 767px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px 25px;
  }

  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .footer-col {
    width: 100%;
  }

  .ad-banner {
    width: 100%;
    max-width: 100%;
  }

  .brand p {
    font-size: 14px;
    color: white;
  }

  .use-for-row {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .travelscqm-column,
  .recources {
    width: 100%;
    max-width: 100%;
  }
}

/* iPad */
@media (min-width: 768px) and (max-width: 1150px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .footer-col.brand {
    order: -1;
  }

  .brand p {
    font-size: 14px;
    line-height: 1.5;
    max-width: 300px;
  }

  .use-for-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;
  }


  .travelscqm-column,
  .recources {
    width: 48%;
    max-width: 48%;
  }

  .footer-col.right-links {
    width: 100%;
    max-width: 100%;
  }

  .ad-banner {
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
  }

  .section-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .footer-col a {
    font-size: 15px;
  }
}

/* Desktop */
@media (min-width: 1151px) {
  .footer-container {
    flex-direction: row;

  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
  }

  .footer-col {
    flex: 1 1 30%;
    max-width: none;
  }

  .footer-col.brand {
    max-width: none;
  }

  .footer-col.right-links {
    max-width: none;
  }

  .ad-banner {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .footer-col img.logo {
    width: 190px;
    height: auto;
  }

  .section-title {
    font-size: 20px;
    font-weight: 600;
    color: #FAAB1C;
    margin-bottom: 10px;
  }

  .link-group a,
  .right-links a {
    display: block;
    margin-bottom: 8px;
    color: white;
    text-decoration: none;
    font-size: 16px;
  }

  .link-group a:hover,
  .right-links a:hover {
    color: #facc15;
  }

  /* Fixed class naming for columns */
  .use-for-row {
    display: flex;
    gap: 40px;
    justify-content: space-between;
  }

  .travelscqm-column,
  .recources {
    max-width: none;
  }
}
