/* ============================================================
   MEDILO-STYLE PREMIUM FOOTER
   ============================================================ */

.site-footer {
  background: linear-gradient(rgba(11, 28, 43, 0.94), rgba(11, 28, 43, 0.94)), 
              url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  color: #a3b2c0; /* Soft gray-blue text */
  padding-top: 130px; /* Space for the rising blue card */
  margin-top: 80px; /* Offset to allow card to rise */
  font-size: 0.92rem;
  position: relative;
  overflow: visible; /* Crucial to let the blue card float above */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer a {
  color: #c2d1e0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.site-footer a:hover {
  color: #2ea3f2;
}

/* 4-column widgets container */
.footer-widgets {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr 1.15fr;
  gap: 50px;
  margin-bottom: 70px;
  position: relative;
  z-index: 2;
}

.footer-widget-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  text-transform: capitalize;
}

/* ══════════════════════════════════════
   COLUMN 1: Floating Bright Blue Card
   ══════════════════════════════════════ */
.footer-about {
  background: #2ea3f2;
  color: #ffffff;
  padding: 45px 35px;
  margin-top: -190px; /* Rise above the footer line */
  position: relative;
  z-index: 10;
  box-shadow: 0 15px 40px rgba(46, 163, 242, 0.25);
  display: flex;
  flex-direction: column;
}

/* Logo */
.footer-logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-brand img,
.footer-logo {
  max-height: 80px;
  max-width: 250px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  /* Already a white PNG — no filter needed */
}

.footer-logo-fallback-icon {
  font-size: 1.8rem;
  color: #ffffff;
  flex-shrink: 0;
}

/* Brand name hidden — logo already contains company name */
.footer-brand-name {
  display: none;
}

/* Divider Line */
.footer-info-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 25px;
}

/* Contact items with icons */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.footer-info-item i {
  font-size: 1.1rem;
  color: #ffffff;
  margin-top: 3px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.footer-info-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.5;
}

.footer-info-text strong {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  opacity: 0.85;
}

.footer-info-text span,
.footer-info-text a {
  font-size: 0.88rem;
  color: #ffffff !important;
  font-weight: 500;
  text-decoration: none;
}

/* Social circles */
.footer-social-links {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social-btn:hover {
  background: #ffffff;
  color: #2ea3f2 !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.15);
}

/* ══════════════════════════════════════
   COLUMNS 2 & 3: Menus (Service & Links)
   ══════════════════════════════════════ */
.footer-links ul, 
.footer-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a, 
.footer-services a {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  color: #a3b2c0;
}

.footer-links a::before, 
.footer-services a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2ea3f2;
  margin-right: 12px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.footer-links a:hover, 
.footer-services a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-links a:hover::before, 
.footer-services a:hover::before {
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
}

/* ══════════════════════════════════════
   COLUMN 4: Newsletter Form
   ══════════════════════════════════════ */
.footer-newsletter p {
  line-height: 1.7;
  color: #a3b2c0;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-form input {
  width: 100%;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.88rem;
  outline: none;
  transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
  color: rgba(163, 178, 192, 0.6);
}

.newsletter-form input:focus {
  border-color: #2ea3f2;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 10px rgba(46, 163, 242, 0.15);
}

.newsletter-form button {
  width: 100%;
  padding: 13px;
  border: none;
  background: #2ea3f2;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(46, 163, 242, 0.25);
}

.newsletter-form button:hover {
  background: #1a8dd4;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 163, 242, 0.35);
}

/* ══════════════════════════════════════
   FOOTER BOTTOM BAR
   ══════════════════════════════════════ */
.footer-bottom {
  background: #07121b; /* Very dark contrast bar */
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.site-info {
  font-size: 0.85rem;
  color: rgba(163, 178, 192, 0.6);
  line-height: 1.5;
}

.footer-credit-sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.15);
}

.site-info a {
  color: #2ea3f2;
  font-weight: 600;
}

.site-info a:hover {
  color: #ffffff;
}

/* Bottom Menu */
.footer-bottom-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom-menu a {
  font-size: 0.85rem;
  color: rgba(163, 178, 192, 0.7);
  font-weight: 500;
}

.footer-bottom-menu a:hover {
  color: #ffffff;
}

/* ══════════════════════════════════════
   RESPONSIVE MEDIA QUERIES
   ══════════════════════════════════════ */
@media (max-width: 1200px) {
  .footer-widgets {
    grid-template-columns: 1fr 0.8fr 0.8fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 991px) {
  .site-footer {
    padding-top: 60px;
    margin-top: 50px;
  }
  
  .footer-widgets {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .footer-about {
    margin-top: 0; /* Align flat normally on tablet/mobile */
    border-radius: 12px;
  }
}

@media (max-width: 650px) {
  .footer-widgets {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .footer-bottom-menu {
    justify-content: center;
    gap: 16px;
  }
}
