/* ==========================================================================
   Sun Rise Sr. Sec. School - Footer Stylesheet
   Clean White Theme (#FFFFFF) with Navy (#001129) & Gold (#C9A24B) Accents
   ========================================================================== */

/* Main Site Footer */
.site-footer {
  width: 100%;
  background-color: #ffffff;
  color: #334155;
  padding-top: 1.15rem;
  padding-bottom: 0.75rem;
  border-top: 3px solid #C9A24B;
  box-shadow: 0 -4px 20px rgba(0, 17, 41, 0.04);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.footer-container {
  max-width: 90rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .footer-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1200px) {
  .footer-container {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* 4-Column Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.95fr 1fr 1.1fr;
    gap: 1.75rem;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Heading with Decorative Gold Underline */
.footer-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 0.925rem;
  font-weight: 700;
  color: #001129;
  margin: 0 0 0.25rem 0;
  position: relative;
  padding-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: #C9A24B;
  border-radius: 2px;
}

/* Quick Contact Blocks */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-contact-block {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-contact-icon-box {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #E5E2DA;
  background: #FAF9F5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C9A24B;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.footer-contact-block:hover .footer-contact-icon-box {
  background-color: #C9A24B;
  color: #ffffff;
  border-color: #C9A24B;
  transform: translateY(-2px);
}

.footer-school-name {
  color: #001129;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.25;
  margin-bottom: 0.1rem;
  display: block;
}

.footer-school-address {
  font-size: 0.775rem;
  color: #64748b;
  line-height: 1.35;
  margin: 0;
}

.footer-contact-phone {
  color: #001129;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  display: block;
  transition: color 0.18s ease;
}

.footer-contact-phone:hover {
  color: #C9A24B;
  text-decoration: underline;
}

.footer-contact-email {
  color: #64748b;
  font-size: 0.8125rem;
  text-decoration: none;
  display: block;
  margin-top: 0.15rem;
  transition: color 0.18s ease;
}

.footer-contact-email:hover {
  color: #C9A24B;
}

/* Links Lists with Chevron Arrows (>) */
.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-link {
  font-size: 0.775rem;
  color: #475569;
  transition: color 0.18s ease, transform 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.35;
}

.footer-chevron {
  color: #C9A24B;
  font-weight: 800;
  font-size: 0.7rem;
  transition: transform 0.18s ease;
}

.footer-link:hover {
  color: #001129;
  transform: translateX(3px);
}

.footer-link:hover .footer-chevron {
  color: #C9A24B;
  transform: translateX(2px);
}

/* Embedded Map Frame */
.footer-map-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(0, 17, 41, 0.04);
  background: #f8fafc;
}

.footer-map-frame iframe {
  width: 100%;
  height: 68px;
  display: block;
  border: 0;
  filter: contrast(1.02);
}

.footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #001129;
  font-size: 0.725rem;
  font-weight: 600;
  margin-top: 0.2rem;
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-map-link:hover {
  color: #C9A24B;
  text-decoration: underline;
}

.footer-map-link .material-symbols-outlined {
  color: #C9A24B;
}

/* Bottom Copyright Bar */
.footer-bottom-bar {
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  color: #64748b;
  font-size: 0.75rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom-bar {
    flex-direction: row;
    text-align: left;
  }
}

.footer-bottom-bar a {
  color: #64748b;
  transition: color 0.18s ease;
}

.footer-bottom-bar a:hover {
  color: #001129;
}

.footer-social-strip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-social-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #001129;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-social-icon:hover {
  background-color: #C9A24B;
  color: #ffffff;
  border-color: #C9A24B;
  transform: translateY(-2px);
}

/* Floating Action Contact Buttons (Chat & Call) */
.floating-action-group {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.floating-action-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  color: #ffffff;
  text-decoration: none;
}

.floating-action-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.floating-btn-chat {
  background-color: #059669; /* Emerald */
}

.floating-btn-chat:hover {
  background-color: #047857;
}

.floating-btn-call {
  background-color: #001129;
  border: 1px solid #C9A24B;
}

.floating-btn-call:hover {
  background-color: #0b2647;
}

@media (max-width: 640px) {
  .floating-action-group {
    bottom: 1rem;
    right: 1rem;
    gap: 0.5rem;
  }

  .floating-action-btn {
    width: 2.75rem;
    height: 2.75rem;
  }

  .floating-action-btn .material-symbols-outlined {
    font-size: 20px !important;
  }
}

/* ==========================================================================
   Footer Timings & Social Media Components
   ========================================================================== */
.footer-timing-info {
  font-size: 0.775rem;
  line-height: 1.35;
  color: #1e293b;
}

.footer-timing-heading {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  color: #001129;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.footer-timing-item {
  display: block;
  font-weight: 600;
  color: #1e293b;
  font-size: 0.775rem;
  line-height: 1.35;
}

.footer-timing-item strong {
  font-weight: 800;
  color: #001129;
}

/* Social Media Channels Row */
.footer-social-section {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.1rem;
  padding-top: 0.3rem;
  border-top: 1px dashed #E5E2DA;
}

.footer-social-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #001129;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.footer-social-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.footer-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 17, 41, 0.16);
  color: #ffffff;
}

.footer-social-btn:hover svg {
  transform: scale(1.1);
}

.footer-social-btn.social-facebook:hover {
  background-color: #1877F2;
  border-color: #1877F2;
}

.footer-social-btn.social-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: #d6249f;
}

.footer-social-btn.social-youtube:hover {
  background-color: #FF0000;
  border-color: #FF0000;
}

.footer-social-btn.social-whatsapp:hover {
  background-color: #25D366;
  border-color: #25D366;
}

.footer-social-btn.social-twitter:hover {
  background-color: #0f1419;
  border-color: #0f1419;
}
