
/* GENERAL FOOTER STYLES */
.footer-section {
  font-family: "IBM Plex Sans", sans-serif;
  position: relative;
  /* Safe fallback for horizontal AOS element bounds */
  overflow: hidden; 
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top-bar {
  background-color: #0f2d5c; /* Deep Corporate Blue */
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cta-flex h2 {
  color: #ffffff;
  font-size: 22px;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-call {
  background: linear-gradient(135deg, #0d47a1, #1976d2, #42a5f5);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
}

.btn-call:hover {
  background: linear-gradient(135deg, #0b1f4d, #1565c0, #42a5f5);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 101, 192, 0.5);
}

.btn-enquire {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-enquire:hover {
  background-color: #ffffff;
  color: #0f2d5c;
}

.footer-main {
  padding: 60px 0;
  background-color: #05142b; /* Absolute Dark Blue Sub-Background */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1.1fr;
  gap: 40px;
}

.main-footer-logo {
  max-width: 200px;
  height: 80px;
  display: block;
  margin-bottom: 20px;
}

.footer-col h3 {
  font-size: 18px;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 25px;
  position: relative;
  font-weight: 700;
  padding-bottom: 8px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2.5px;
  background-color: #ff6a00;
}

.brand-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #dddddd; /* Muted Text color */
  margin-bottom: 25px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background-color: #0d47a1; /* Accent Royal Blue */
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #ff6a00;
  transform: translateY(-3px);
}

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

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

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14.5px;
  transition: all 0.3s ease;
  opacity: 0.85;
  display: inline-block;
}

.footer-links a:hover {
  color: #ff6a00;
  opacity: 1;
  transform: translateX(5px);
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 15px;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
  opacity: 0.85;
}

.contact-info li i {
  color: #ff6a00;
  font-size: 16px;
  margin-top: 2px;
  width: 20px;
  text-align: center;
}

.contact-info li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info li a:hover {
  color: #ff6a00;
}

.footer-map-container {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 15px;
}

.footer-bottom {
  background-color: #0f2d5c; /* Deep Corporate Blue Matching Top Bar */
  padding: 20px 0;
  color: #ffffff;
  font-size: 13.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.bottom-flex p {
  margin: 0;
  opacity: 0.9;
}

.dev-tag {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dev-tag span {
  opacity: 0.9;
}

.developer-logo {
  height: 25px; /* Developer logo uniform sizing */
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.dev-tag a:hover .developer-logo {
  transform: scale(1.08);
}

.floating-cta-group {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.floating-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: all 0.3s ease;
}

.btn-whatsapp-float {
  background-color: #25D366;
}

.btn-call-float {
  background: linear-gradient(135deg, #0b1f4d, #1565c0, #42a5f5);
  box-shadow: 0 10px 30px rgba(21, 101, 192, 0.4);
}

.floating-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  z-index: -1;
  animation: ctaPulse 2s infinite;
}

.btn-whatsapp-float::before {
  background-color: #25D366;
}

.btn-call-float::before {
  background: linear-gradient(135deg, #0b1f4d, #1565c0, #42a5f5);
}

.floating-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-call-float:hover {
  box-shadow: 0 15px 35px rgba(25, 118, 210, 0.5);
}

@keyframes ctaPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .cta-flex, .bottom-flex {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .footer-container {
    width: 94%;
  }
  .footer-top-bar {
    padding: 22px 0;
  }
  .cta-flex {
    gap: 18px;
  }
  .cta-flex h2 {
    font-size: 20px;
    line-height: 1.5;
  }
  .cta-buttons {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
  }
  .footer-btn {
    flex: 1;
    min-width: 0;
    padding: 12px 10px;
    font-size: 13px;
    justify-content: center;
    white-space: nowrap;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 18px;
  }
  .brand-col {
    grid-column: 1 / -1;
    text-align: center;
  }
  .main-footer-logo {
    margin: 0 auto 20px;
  }
  .brand-desc {
    max-width: 500px;
    margin: 0 auto 25px;
  }
  .footer-socials {
    justify-content: center;
  }
  .footer-grid .footer-col:nth-child(2) {
    grid-column: 1;
  }
  .footer-grid .footer-col:nth-child(3) {
    grid-column: 2;
  }
  .contact-col {
    grid-column: 1 / -1;
  }
  .floating-cta-group {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }
  .floating-btn {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    gap: 22px 15px;
  }
  .cta-flex h2 {
    font-size: 18px;
  }
  .footer-col h3 {
    font-size: 17px;
  }
  .footer-links a, .brand-desc, .contact-info li {
    font-size: 13px;
  }
  .developer-logo {
    height: 22px;
  }
}
