/* ===== PREMIUM FOOTER STYLES ===== */

.footer-5-column {
  padding-top: 4rem;
  padding-bottom: 1rem;
  margin-top: 4rem;
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative Background Pattern */
.footer-5-column::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #7c3aed, #d946ef, #2563eb);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.footer-5-column p {
  color: #d1d5db;
  line-height: 1.8;
}

.footer-5-column .footer-container {
  max-width: 1320px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* Footer Navigation Container */
.footer-5-column .footer-container .footer-navbar-container {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  gap: 2rem;
}

/* Company Details Section */
.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details {
  width: 50%;
  max-width: 100%;
  flex: 0 0 auto;
  padding-right: 2rem;
  line-height: 1.6;
}

.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-logo-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-logo-text
  img {
  height: 45px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-logo-text:hover
  img {
  transform: scale(1.05);
}

.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-content {
  margin-top: 1.5rem;
  font-size: 15px;
  line-height: 1.8;
  color: #9ca3af;
  padding-right: 1rem;
}

/* Social Icons */
.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-icons {
  margin-top: 2rem;
}

.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-icons
  ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
  gap: 12px;
}

.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-icons
  ul
  li {
  list-style: none;
}

.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-icons
  ul
  li
  a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: white;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.footer-5-column
  .footer-container
  .footer-navbar-container
  .footer-company-details
  .footer-icons
  ul
  li
  a:hover {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* Footer Navigation */
.footer-5-column .footer-navbar {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  flex-grow: 1;
  line-height: 1.6;
  gap: 3rem; /* Increased gap for better spacing */
}

.footer-5-column .footer-navbar > .footer-navbar-col {
  width: auto; /* Changed from 50% to auto for flexible width */
  flex: 1; /* Equal flex distribution */
  min-width: 150px; /* Minimum width to prevent squishing */
}

.footer-5-column .footer-navbar .footer-navbar-col h5 {
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 12px;
  text-align: justify;
}

.footer-5-column .footer-navbar .footer-navbar-col h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #d946ef);
  border-radius: 2px;
}

.footer-5-column .footer-navbar .footer-navbar-col ul {
  padding: 0;
  margin: 0;
  text-align: left;
}

.footer-5-column .footer-navbar .footer-navbar-col ul li {
  list-style: none;
  margin-bottom: 12px;
}

.footer-5-column .footer-navbar .footer-navbar-col ul li a {
  font-size: 15px;
  text-decoration: none;
  color: #d1d5db;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer-5-column .footer-navbar .footer-navbar-col ul li a::before {
  content: "→";
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
  color: #2563eb;
}

.footer-5-column .footer-navbar .footer-navbar-col ul li a:hover {
  color: #ffffff;
  padding-left: 20px;
  transform: translateX(5px);
}

.footer-5-column .footer-navbar .footer-navbar-col ul li a:hover::before {
  opacity: 1;
  left: 0;
}

/* Copyright Section */
.footer-5-column .footer-copyright {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  text-align: center;
}

.footer-5-column .footer-copyright p {
  font-size: 14px;
  margin-bottom: 0;
  color: #9ca3af;
  font-weight: 500;
}

.footer-5-column .footer-copyright p strong {
  background: linear-gradient(90deg, #2563eb, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Responsive Design */
@media all and (max-width: 1140px) {
  .footer-5-column .footer-container .footer-navbar-container,
  .footer-5-column .footer-navbar {
    row-gap: 3rem;
  }

  .footer-5-column
    .footer-container
    .footer-navbar-container
    .footer-company-details,
  .footer-5-column .footer-container .footer-navbar-container .footer-navbar {
    padding: 0;
    width: 100%;
  }
}

@media all and (max-width: 992px) {
  .footer-5-column .footer-navbar .footer-navbar-col {
    width: 50%;
  }
}

@media all and (max-width: 576px) {
  .footer-5-column {
    padding-top: 3rem;
  }

  .footer-5-column .footer-navbar .footer-navbar-col {
    width: 100%;
  }

  .footer-5-column
    .footer-container
    .footer-navbar-container
    .footer-company-details {
    padding-right: 0;
  }

  .footer-5-column .footer-navbar .footer-navbar-col h5 {
    font-size: 16px;
  }
}

/* Additional Styling */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  height: 28px;
  width: auto;
  white-space: nowrap;
}

.footer-text {
  font-size: 24px;
  white-space: nowrap;
  color: white;
  font-weight: 600;
}

/* Smooth Scroll to Top Button (if added) */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.5);
}
