/* ==========================================================================
   EDUCARE ACADEMY - FOOTER & CONTACT STYLES (footer.css)
   Footer Columns, Quick Links, Floating Action Buttons, Contact Info & Maps
   ========================================================================== */

.footer {
  background-color: #001B4B !important;
  background: #001B4B !important;
  color: #FFFFFF !important;
  padding: 5rem 0 2rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   EDUCARE ACADEMY - FOOTER & CONTACT STYLES (footer.css)
   Footer Columns, Quick Links, Floating Action Buttons, Contact Info & Maps
   ========================================================================== */

/* --------------------------------------------------------------------------
   14. MAP CONTAINER
   -------------------------------------------------------------------------- */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgb(15, 23, 42) !important;
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.map-placeholder-box i {
  font-size: 3rem;
  color: rgb(234, 88, 12);
  margin-bottom: 1rem;
}

.why-feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  background: rgba(234, 88, 12, 0.15);
  color: rgb(234, 88, 12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.why-feature-icon.navy-icon {
  background: rgba(15, 23, 42, 0.1);
  color: rgb(15, 23, 42);
}

.why-feature-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: rgb(15, 23, 42);
  margin-bottom: 0.25rem;
}

.why-feature-desc {
  font-family: var(--font-body);
  font-size: 0.925rem;
  line-height: 1.45;
  color: rgb(85, 85, 85);
}

/* --------------------------------------------------------------------------
   15. FOOTER & MODALS
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   15. FOOTER & MODALS (RICH BRAND NAVY #001B4B BACKGROUND)
   -------------------------------------------------------------------------- */
.footer {
  background-color: #001B4B !important;
  background: #001B4B !important;
  color: #FFFFFF !important;
  padding: 4.5rem 0 2.5rem 0;
  font-size: 0.925rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 3.25rem;
  margin-bottom: 3.5rem;
}

.footer-about .footer-logo-title {
  font-family: var(--font-heading);
  color: #FFFFFF !important;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.footer-about .footer-logo-sub,
.footer-logo-sub {
  font-family: var(--font-body);
  color: #EA580C !important;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.75) !important;
}

.footer-title {
  font-family: var(--font-heading);
  color: #FFFFFF !important;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.35rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: #EA580C;
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.8) !important;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  text-decoration: none;
}

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

.footer-contact-item {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  align-items: flex-start;
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
}

.footer-contact-item i {
  color: #EA580C !important;
  font-size: 15px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: #FFFFFF !important;
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 0.65rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 250ms ease;
}

.social-icon:hover {
  background: #EA580C !important;
  color: #FFFFFF !important;
  border-color: #EA580C !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.75rem;
  margin-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 14px;
  font-weight: 500;
}

/* ==========================================================================
   RESPONSIVE FOOTER MEDIA QUERIES (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 3.5rem 0 6rem 0; /* Bottom spacing so floating buttons don't block content */
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding-top: 1.5rem;
    margin-top: 1.75rem;
  }

  .footer-links a {
    padding: 3px 0;
  }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background-color: var(--color-white) !important;
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  position: relative;
  transform: translateY(20px);
  transition: var(--transition-normal);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-header {
  background: rgb(15, 23, 42) !important;
  color: var(--color-white);
  padding: 1.75rem 2rem;
  position: relative;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-white) !important;
  margin-bottom: 0.25rem;
}

.modal-subtitle {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgb(234, 88, 12) !important;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.8;
  transition: var(--transition-fast);
}

.modal-close:hover {
  opacity: 1;
  color: rgb(234, 88, 12);
}

.modal-body {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .form-group {
    margin-bottom: 0.95rem !important;
    width: 100% !important;
  }
  .form-label {
    font-size: 0.85rem !important;
    margin-bottom: 0.35rem !important;
    line-height: 1.3 !important;
  }
  .form-control, .form-select {
    width: 100% !important;
    font-size: 0.95rem !important;
    padding: 0.75rem 0.95rem !important;
    box-sizing: border-box !important;
  }
  .modal-card {
    width: 92% !important;
    max-width: 440px !important;
    margin: 1rem auto !important;
    border-radius: 20px !important;
  }
  .modal-header {
    padding: 1.35rem 1.25rem 1rem 1.25rem !important;
  }
  .modal-title {
    font-size: 1.2rem !important;
  }
  .modal-body {
    padding: 1.25rem !important;
  }
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgb(15, 23, 42);
  margin-bottom: 0.45rem;
}

.form-control, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  font-family: var(--font-body), 'Mona Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.95rem;
  color: rgb(15, 23, 42);
  background-color: #FFFFFF;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-control:focus, .form-select:focus {
  outline: none;
  border-color: rgb(245, 166, 35);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}


/* ==========================================================================
   BESPOKE CONTACT PAGE STYLES (UNIQUE TO CONTACT.HTML)
   ========================================================================== */
.contact-metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 2rem;
}

.contact-metric-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.contact-metric-card:hover {
  background: #FFFFFF;
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(6, 39, 95, 0.08);
}

.contact-metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #FFF4EE;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-map-card {
  background: linear-gradient(135deg, #001B4B 0%, #00297C 60%, #0045A5 100%);
  color: #FFFFFF;
  border-radius: 24px;
  padding: 3.5rem 3rem;
  margin: 3.5rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 27, 75, 0.22);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .contact-metric-strip { grid-template-columns: 1fr; }
  .contact-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .lab-spotlight-box, .about-founders-card, .contact-map-card {
    padding: 2.5rem 1.75rem !important;
  }
}

@media (max-width: 768px) {
  .contact-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .lab-grid-3 { grid-template-columns: 1fr; gap: 1rem; }
  .about-pillars-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-metric-card { padding: 16px 18px; }
  
  .program-tag.featured, .program-tag.gold-tag, .program-tag {
    white-space: normal;
    word-break: break-word;
  }
}




.contact-metric-token-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  backdrop-filter: blur(10px);
  text-align: left;
  transition: transform 300ms ease, border-color 300ms ease;
}

.contact-metric-token-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
}

.contact-form-token-card {
  background: #FFFFFF;
  border: 1px solid #E6EAF0;
  border-radius: 16px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

@media (max-width: 640px) {
  .contact-form-token-card {
    padding: 1.75rem 1.25rem;
  }
}

.contact-info-token-card {
  background: #FFFFFF;
  border: 1px solid #E6EAF0;
  border-radius: 16px;
  padding: 2.25rem 2rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
  .contact-info-token-card {
    padding: 1.75rem 1.25rem;
  }
}

.btn-whatsapp-token,
.btn-whatsapp,
.btn-whatsapp-universal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.65rem;
  background-color: #25D366 !important;
  border: 1.5px solid #20BA5C !important;
  border-radius: 14px;
  color: #FFFFFF !important;
  font-family: var(--font-body), 'Mona Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 250ms ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  cursor: pointer;
}

.btn-whatsapp-token:hover,
.btn-whatsapp:hover,
.btn-whatsapp-universal:hover {
  background-color: #1EBE5B !important;
  border-color: #1EBE5B !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.btn-call,
.btn-call-token,
.btn-call-universal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.65rem;
  background-color: #15803D !important;
  border: 1.5px solid #166534 !important;
  border-radius: 14px;
  color: #FFFFFF !important;
  font-family: var(--font-body), 'Mona Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 250ms ease;
  box-shadow: 0 4px 14px rgba(21, 128, 61, 0.35);
  cursor: pointer;
}

.btn-call:hover,
.btn-call-token:hover,
.btn-call-universal:hover {
  background-color: #166534 !important;
  border-color: #14532D !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21, 128, 61, 0.55);
}

/* Floating Quick Contact Buttons: Phone on Left, WhatsApp on Right */
.floating-btn-call-wrapper {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
}

.floating-btn-whatsapp-wrapper {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
}

.floating-contact-btn {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: #FFFFFF !important;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 250ms ease;
  position: relative;
}

.floating-contact-btn i {
  color: #FFFFFF !important;
  font-size: 1.45rem;
  line-height: 1;
}

.floating-contact-btn:hover {
  transform: scale(1.12) translateY(-2px);
}

.floating-btn-whatsapp {
  background-color: #25D366;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.floating-btn-whatsapp:hover {
  background-color: #1EBE5B;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.65);
}

.floating-btn-call {
  background-color: #15803D;
  border: 1px solid #166534;
  box-shadow: 0 6px 20px rgba(21, 128, 61, 0.45);
}

.floating-btn-call:hover {
  background-color: #166534;
  box-shadow: 0 8px 26px rgba(21, 128, 61, 0.65);
}

.floating-btn-whatsapp .floating-contact-tooltip {
  position: absolute;
  right: 64px;
  background: #001B4B;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  transform: translateX(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.floating-btn-call .floating-contact-tooltip {
  position: absolute;
  left: 64px;
  background: #001B4B;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  transform: translateX(-10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.floating-contact-btn:hover .floating-contact-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 640px) {
  .floating-btn-call-wrapper {
    bottom: 18px;
    left: 18px;
  }
  .floating-btn-whatsapp-wrapper {
    bottom: 18px;
    right: 18px;
  }
  .floating-contact-btn {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
  .floating-contact-tooltip {
    display: none;
  }
}


.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.footer-logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}
.footer-links a i {
  color: var(--color-primary);
  font-size: 0.75rem;
}
.footer-contact-item i {
  color: var(--color-primary);
  font-size: 15px;
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-contact-item a {
  color: inherit;
  text-decoration: none;
}
