/* ==========================================================================
   Kanailal Raha Seva Sadan - 100% Full-Width Hospital Mega Footer Styling
   ========================================================================== */

.site-footer {
  background: #041426;
  color: #cbd5e1;
  font-family: var(--font-nav, 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 0.95rem;
  margin-top: 4rem;
  border-top: 4px solid var(--logo-orange, #f58220);
  position: relative;
  width: 100%;
}

/* 100% Full Width Container with generous horizontal padding */
.footer-container-full {
  width: 100%;
  max-width: 100%;
  padding: 0 4rem;
  margin: 0 auto;
}

/* 1. Helpline Ribbon Bar */
.footer-helpline-bar {
  background: #0b3b74;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
}

.helpline-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.helpline-text {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.helpline-icon {
  width: 50px;
  height: 50px;
  background-color: #dc2626;
  color: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
  flex-shrink: 0;
}

.helpline-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-nav, 'Inter', sans-serif);
}

.helpline-subtitle {
  font-size: 0.9rem;
  color: #a7f3d0;
  margin-top: 0.15rem;
}

.helpline-numbers {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.phone-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff !important;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: var(--font-nav, 'Inter', sans-serif);
}

.emergency-btn {
  background-color: var(--logo-orange, #f58220);
  box-shadow: 0 4px 12px rgba(245, 130, 32, 0.35);
}

.emergency-btn:hover {
  background-color: #e07114;
  transform: translateY(-2px);
}

.ambulance-btn {
  background-color: #047857;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.35);
}

.ambulance-btn:hover {
  background-color: #059669;
  transform: translateY(-2px);
}

/* 2. Main Mega Multi-Column Navigation Grid */
.footer-main {
  padding: 3.25rem 0 2.75rem 0;
  width: 100%;
}

.footer-mega-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.5rem;
}

.footer-col-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-nav, 'Inter', sans-serif);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background-color: var(--logo-orange, #f58220);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  font-family: var(--font-nav, 'Inter', sans-serif);
  transition: all 0.2s ease;
  display: inline-block;
  line-height: 1.55;
  font-weight: 500;
}

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

/* Hospital Contact Details Column */
.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  font-size: 0.9rem;
  color: #cbd5e1;
  font-family: var(--font-nav, 'Inter', sans-serif);
}

.contact-block-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  line-height: 1.55;
}

.contact-block-item svg {
  color: var(--logo-orange, #f58220);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.contact-block-item strong {
  color: #ffffff;
}

.contact-block-item a {
  color: #a7f3d0;
  text-decoration: none;
  font-weight: 600;
}

.contact-block-item a:hover {
  text-decoration: underline;
}

/* 3. Accreditation Badges & Social Media Ribbon */
.footer-middle-bar {
  margin-top: 2.5rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-accreditation-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.6rem 1.15rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.footer-badge-logo {
  height: 42px;
  width: auto;
}

.badge-text-title {
  font-weight: 700;
  color: #0b3b74;
  font-size: 0.95rem;
  font-family: var(--font-nav, 'Inter', sans-serif);
}

.badge-text-sub {
  font-size: 0.775rem;
  color: #475569;
}

.cert-chips-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cert-chip {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-nav, 'Inter', sans-serif);
}

/* Footer Social Middle Section */
.footer-social-middle {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.6rem 1.35rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-middle-label {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-nav, 'Inter', sans-serif);
}

.social-icons-row {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.social-icon {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-icon:hover {
  background: var(--logo-orange, #f58220);
  color: #ffffff;
  transform: translateY(-2px);
}

/* 4. Sub-Navigation Policy Links Row */
.footer-policy-row {
  padding: 1.35rem 0 0.85rem 0;
  text-align: center;
}

.policy-links-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #64748b;
  font-family: var(--font-nav, 'Inter', sans-serif);
}

.policy-links-list a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.policy-links-list a:hover {
  color: #ffffff;
}

/* 5. About Kanailal Raha Seva Sadan Summary Box */
.footer-about-hospital-box {
  background: rgba(11, 56, 40, 0.45);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 1.35rem 1.6rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.about-box-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #a7f3d0;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-family: var(--font-nav, 'Inter', sans-serif);
}

.footer-about-hospital-box p {
  margin: 0;
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.7;
  font-family: var(--font-nav, 'Inter', sans-serif);
}

.footer-about-hospital-box strong {
  color: #ffffff;
}

/* 6. Copyright & Credit Bottom Bar */
.footer-bottom {
  background-color: #020906;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: #94a3b8;
  margin-top: 1.85rem;
  width: 100%;
  font-family: var(--font-nav, 'Inter', sans-serif);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-inner strong {
  color: #ffffff;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex-wrap: wrap;
}

.footer-bottom-right a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.credit-link {
  color: var(--logo-orange, #f58220) !important;
  font-weight: 700;
}

.credit-link:hover {
  text-decoration: underline;
}

.divider {
  color: rgba(255, 255, 255, 0.2);
}

/* Responsive Breakpoints */
@media (max-width: 1400px) {
  .footer-container-full {
    padding: 0 2.5rem;
  }
}

@media (max-width: 1200px) {
  .footer-mega-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .footer-container-full {
    padding: 0 1.5rem;
  }
  .footer-mega-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-middle-bar {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 600px) {
  .footer-mega-grid {
    grid-template-columns: 1fr;
  }
  .helpline-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
