/* === Footer Section === */
.footer_blk {
  background-color: transparent !important;
  padding: 1rem 0 0.5rem 0;
  overflow-x: hidden;
  /* prevent horizontal scroll on mobile */
}

.footer_blk .container {
  max-width: 1500px !important;
  width: 96% !important;
}

/* Redesigned Card Layout */
.footer_card {
  position: relative;
  background: url('/images/FooterBanner.png') no-repeat center center;
  background-size: 100% 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.footer_card_content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.8rem 2rem 0.2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Logo/Tagline Column styling */
.footer_logo_col {
  flex: 1.5;
  min-width: 300px;
}

.footer_logo_img {
  max-width: 160px;
  height: auto;
  display: block;
}

.footer-tagline {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2.5rem;
}

.footer-tagline-line {
  font-size: 2.1rem;
  font-weight: 700;
  background: linear-gradient(90deg, #97D0FF 64.9%, #00579D 98.08%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-transform: capitalize;
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;

  /* Initial state for reveal animation */
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.footer-tagline-line.animate-reveal {
  opacity: 1;
  transform: translateY(0);
}

.footer-tagline div:nth-child(2) .footer-tagline-line {
  transition-delay: 0.35s;
}

/* Columns container */
.footer_columns {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  min-width: 300px;
  margin-top: 0.5rem;
}

.footer_col {
  min-width: 150px;
}

/* Heading styling matching screenshot */
.footer_col h3 {
  color: #00A3FF;
  /* Bright neon blue matching the screenshot */
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  font-family: 'Montserrat', sans-serif !important;
}

/* Links Styling */
.footer_col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer_col ul li {
  margin-bottom: 0.3rem;
}

.footer_col ul a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  transition: all 0.2s ease-in-out;
  display: inline-block;
}

.footer_col ul a:hover {
  color: #00A3FF;
  transform: translateX(4px);
}

/* === Copyright / Reserved Notch Bar === */
.footer_bottom_bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  margin: 0 4rem 0.8rem 4rem;
  padding: 0.7rem 2.5rem 0.3rem 2.5rem;
  /* Notch indentation */
  color: #000000 !important;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.footer_bottom_left {
  display: flex;
  align-items: center;
}

.footer_bottom_right {
  font-weight: 600;
}

/* === Contact Info Bar === */
.footer_contact_bar {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.8rem 2.5rem;
  flex-wrap: nowrap;
  /* Prevent wrapping on desktop */
}

.contact_item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex: 1;
  padding: 0 1.5rem;
}

.contact_item:not(:first-child):not(.contact_website) {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

/* On desktop, hide website item and make address item wider */
.contact_item.contact_website {
  display: none;
}

.contact_item.contact_address {
  flex: 1.8;
}

.contact_label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  font-weight: 500;
}

.contact_value {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  /* Keep content in one line */
}

.contact_item.contact_address .contact_value {
  white-space: normal;
  line-height: 1.4;
  align-items: flex-start;
}

.contact_item.contact_address .contact_value i {
  margin-top: 3px;
}

.contact_value i {
  color: #ffffff;
  font-size: 0.95rem;
}

.social_icons {
  display: flex;
  gap: 8px;
}

.social_icons a {
  color: #ffffff;
  font-size: 0.95rem;
  transition: all 0.2s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-decoration: none;
}

.social_icons a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

@media (max-width: 991.98px) {
  .footer-wrapper {
    padding: 0 !important;
    margin-top: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer_blk {
    padding: 0 !important;
  }

  .footer_blk .container {
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .footer_card {
    border-radius: 0 !important;
    background-size: cover;
  }

  .footer_card_content {
    padding: 2rem 1rem 1.5rem !important;
    flex-direction: row;
    justify-content: flex-end;
    gap: 2.5rem;
  }

  .footer_logo_col {
    display: none;
  }

  .footer_columns {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    margin-top: 0;
    justify-content: space-between !important;
    gap: 1.5rem !important;
  }

  .footer_col {
    flex: 1 !important;
    min-width: 0 !important;
  }

  .footer_columns .footer_col:nth-child(2) {
    display: block;
    /* Show services column parallelly */
  }

  .footer_col ul li {
    margin-bottom: 0.3rem !important;
  }

  .footer_contact_bar {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr !important;
    padding: 1.2rem 1rem !important;
    gap: 1.2rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  }

  .contact_item {
    padding: 0 !important;
    align-items: flex-start !important;
    border: none !important;
  }

  .contact_item.contact_website {
    display: flex !important;
  }

  .contact_value {
    white-space: normal !important;
    word-break: break-word !important;
    font-size: 0.8rem !important;
  }

  .contact_item.contact_address {
    grid-column: span 2 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding-top: 1.2rem !important;
  }

  .contact_item:not(:first-child) {
    border-left: none !important;
    border-top: none !important;
    padding-top: 0 !important;
  }

  .footer_bottom_bar {
    background-color: #ffffff !important;
    border-radius: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    padding: 0.8rem 1.5rem !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    color: #1e293b !important;
    font-size: 0.7rem !important;
    gap: 0.5rem !important;
    text-align: left !important;
  }

  .footer_bottom_left,
  .footer_bottom_right {
    font-weight: 500 !important;
  }
}

@media (max-width: 575.98px) {
  .footer_blk {
    padding: 0 !important;
  }

  .footer_card {
    border-radius: 0 !important;
  }

  .footer_card_content {
    padding: 2rem 1rem 1.5rem !important;
    flex-direction: row !important;
    justify-content: space-between !important;
  }

  .footer_columns {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 1.5rem !important;
  }

  .footer_col h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
  }

  .footer_col ul li {
    margin-bottom: 0.25rem !important;
  }

  .footer_bottom_bar {
    margin: 0 !important;
    padding: 0.8rem 1rem !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    font-size: 0.65rem !important;
  }
}

/* Global Intro Badge overrides */
.intro-badge {
  max-width: 240px !important;
  padding: 20px 25px !important;
}