/* Yanai Calendar - Pastel Lavender Modern Footer CSS */

.main-footer {
  background: #801476;
  color: #ffffff;
  padding: 4.25rem 0 1.75rem 0;
  position: relative;
  border-top: none;
  overflow: hidden;
}

/* Radiant Cyan-to-Fuchsia Brand Accent Top Line */
.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #38bdf8;
  z-index: 2;
}

/* Ambient Radial Pink-Purple Glow */
.main-footer::after {
  display: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.25fr 1.55fr;
  gap: 2.75rem;
  margin-bottom: 2.75rem;
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand img {
  height: 68px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.footer-brand p {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.95;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  max-width: 320px;
}

.footer-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: var(--border-radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 0.65rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: #38bdf8;
  border-radius: 0;
  transition: width 0.3s ease;
}

.footer-col:hover h4::after {
  width: 52px;
  background: #38bdf8;
}

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

.footer-links a {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.95;
  transition: all var(--transition-fast);
  display: inline-block;
  text-decoration: none;
}

.footer-links a:hover {
  color: #38bdf8;
  opacity: 1;
  transform: translateX(4px);
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.footer-contact-info {
  font-style: normal;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-company-name {
  color: #ffffff !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.footer-contact-info p {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
  margin: 0;
  opacity: 0.95;
}

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

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #ffffff;
}

.footer-contact-list svg {
  color: #38bdf8;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.4));
}

.footer-contact-link {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.95;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-contact-link:hover {
  color: #38bdf8;
  opacity: 1;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.92rem;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #ffffff;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Keep footer content clear of the fixed WhatsApp/Call/Back-to-top
   floating buttons on mobile, so bottom links are never hidden behind
   them. The back-to-top button sits highest of the three, so padding
   must clear its top edge, not just the Call/WhatsApp buttons. */
@media (max-width: 768px) {
  .main-footer {
    padding-bottom: 9.5rem;
  }
}

@media (max-width: 480px) {
  .main-footer {
    padding-bottom: 8.5rem;
  }
}

/* Section-wise Daily Calendars in Footer */
.footer-section-group {
  margin-bottom: 0.9rem;
}

.footer-section-group:last-child {
  margin-bottom: 0;
}

.footer-group-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  margin-bottom: 0.35rem;
}

.footer-section-group .footer-links {
  gap: 0.35rem;
}

.footer-section-group .footer-links a {
  font-size: 0.9rem;
  color: #ffffff;
  font-weight: 500;
}

/* White background box for the footer logo */
.footer-brand img {
  background: #ffffff;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 6px;
  box-sizing: border-box;
}
