/* ========================================================
   SECTION: FOOTER, STICKY BARS & CAREER COUNSELING MODAL
   ======================================================== */
footer {
  background: var(--navy-dark);
  color: #FFFFFF;
  padding: 80px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.6fr;
  gap: 36px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 320px;
}

/* Footer Social App Icons */
.footer-social-wrap {
  margin-top: 22px;
}

.footer-social-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #CBD5E1;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s ease, filter 0.22s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  flex-shrink: 0;
  background: transparent;
}

.social-app-icon svg {
  width: 38px;
  height: 38px;
  display: block;
  border-radius: 9px;
}

.social-app-icon:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  filter: brightness(1.12);
}

.footer-col h4,
.footer-col .footer-col-title {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: var(--primary-cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13.5px;
  color: #64748B;
  flex-wrap: wrap;
  gap: 16px;
}

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

/* ========================================================
   STICKY BOTTOM FOOTER BAR (As per user attachment)
   ======================================================== */
.sticky-footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: linear-gradient(90deg, #0056D2 0%, #083EA7 100%);
  color: #FFFFFF;
  z-index: 990;
  box-shadow: 0 -4px 22px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.sticky-footer-inner {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-footer-btn {
  background: #FFFFFF;
  color: #0056D2;
  font-weight: 700;
  font-size: 13.5px;
  padding: 7px 16px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  text-decoration: none;
}

.sticky-footer-btn:hover {
  background: #E0F2FE;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sticky-footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.sticky-footer-link {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.sticky-footer-link:hover {
  opacity: 0.85;
  text-decoration: underline;
}

.sticky-footer-link svg {
  flex-shrink: 0;
}

@media (max-width: 860px) {
  body {
    padding-bottom: 56px;
  }
  .sticky-footer-bar {
    height: 52px;
  }
  .sticky-footer-inner {
    padding: 0 12px;
    gap: 8px;
  }
  .sticky-footer-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
  .sticky-footer-links {
    gap: 14px;
  }
  .sticky-email-link {
    display: none;
  }
  .sticky-footer-link {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .sticky-footer-btn .btn-text-full {
    display: none;
  }
  .sticky-footer-btn .btn-text-short {
    display: inline;
  }
  .sticky-footer-inner {
    justify-content: space-around;
  }
}

@media (min-width: 481px) {
  .sticky-footer-btn .btn-text-short {
    display: none;
  }
}

/* ========================================================
   FLOATING WHATSAPP STICKY BUTTON
   ======================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 68px;
  right: 22px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 995;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.6);
  color: #FFFFFF;
}

.floating-whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.8;
  animation: wa-ripple 2s infinite ease-out;
  pointer-events: none;
}

@keyframes wa-ripple {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (max-width: 768px) {
  .floating-whatsapp-btn {
    bottom: 64px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
  .floating-whatsapp-btn svg {
    width: 28px;
    height: 28px;
  }
}

/* ========================================================
   TAWK.TO CHATBOT WIDGET POSITIONING & SIZING (Matches WhatsApp Icon)
   ======================================================== */
#min-widget > iframe {
  transform: scale(0.9333) !important;
  transform-origin: center center !important;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

#min-widget > iframe:hover {
  transform: scale(1.0266) !important;
}

#tawk-bubble-container,
.tawk-min-container {
  bottom: 136px !important;
  right: 18px !important;
}

@media (max-width: 768px) {
  #min-widget > iframe {
    transform: scale(0.8333) !important;
    transform-origin: center center !important;
  }

  #min-widget > iframe:hover {
    transform: scale(0.9166) !important;
  }

  #tawk-bubble-container,
  .tawk-min-container {
    bottom: 124px !important;
    right: 9px !important;
  }
}

/* ========================================================
   CAREER COUNSELING POPUP MODAL (As per user attachment)
   ======================================================== */
.career-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 25, 47, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1005;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.career-modal-overlay.open {
  display: flex;
  opacity: 1;
}

.career-modal-dialog {
  background: #FFFFFF;
  border-radius: 16px;
  width: 100%;
  max-width: 780px;
  overflow: hidden;
  box-shadow: 0 25px 60px -10px rgba(10, 28, 71, 0.4);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  animation: modal-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-pop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2563EB;
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.modal-close-btn:hover {
  background: #1D4ED8;
  transform: scale(1.08);
}

.modal-photo-col {
  background: linear-gradient(180deg, #60A5FA 0%, #3B82F6 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.modal-student-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.modal-form-col {
  padding: 34px 32px 28px;
  display: flex;
  flex-direction: column;
}

.modal-aspirant-pill {
  background: #2563EB;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 4px;
  width: fit-content;
  margin: 0 auto 12px;
}

.modal-form-col h3 {
  font-size: 18px;
  font-weight: 800;
  color: #1E3A8A;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.35;
}

.modal-form-group {
  margin-bottom: 14px;
}

.modal-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 5px;
}

.modal-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.modal-input-icon {
  position: absolute;
  left: 12px;
  color: #94A3B8;
  pointer-events: none;
}

.modal-input, .modal-select {
  width: 100%;
  height: 42px;
  border: 1px solid #CBD5E1;
  background: #F8FAFC;
  border-radius: 6px;
  padding: 0 14px 0 38px;
  font-size: 13.5px;
  color: #1E293B;
  outline: none;
  transition: all 0.2s;
  font-family: inherit;
}

.modal-input:focus, .modal-select:focus {
  border-color: #2563EB;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.phone-input-row {
  display: flex;
  align-items: center;
  border: 1px solid #CBD5E1;
  background: #F8FAFC;
  border-radius: 6px;
  height: 42px;
  overflow: hidden;
  transition: all 0.2s;
}

.phone-input-row:focus-within {
  border-color: #2563EB;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.phone-prefix {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #F1F5F9;
  height: 100%;
  border-right: 1px solid #CBD5E1;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.phone-prefix-flag {
  font-size: 15px;
}

.phone-bare-input {
  border: none;
  background: transparent;
  padding: 0 12px;
  font-size: 13.5px;
  color: #1E293B;
  outline: none;
  width: 100%;
  height: 100%;
  font-family: inherit;
}

.modal-submit-btn {
  background: #1D63ED;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  margin-top: 6px;
  box-shadow: 0 4px 14px rgba(29, 99, 237, 0.35);
}

.modal-submit-btn:hover {
  background: #154ec2;
  box-shadow: 0 6px 18px rgba(29, 99, 237, 0.45);
}

.modal-disclaimer {
  font-size: 11.5px;
  color: #64748B;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0;
}

@media (max-width: 680px) {
  .career-modal-dialog {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }
  .modal-photo-col {
    display: none;
  }
  .modal-form-col {
    padding: 24px 20px 20px;
  }
}

