/* Website Enhancement Styles */

/* Play to Learn Section Spacing */
.last-card.last-image {
  margin-top: 40px !important;
}

/* Additional spacing for card sections */
.cards-wrapper {
  margin-bottom: 60px;
}

/* Location Section with Animations */
.location-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.animated-location {
  position: relative;
}

.location-background-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.location-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.location-shape.shape-1 {
  width: 120px;
  height: 120px;
  background: #FF7162;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.location-shape.shape-2 {
  width: 80px;
  height: 80px;
  background: #253B70;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.location-shape.shape-3 {
  width: 60px;
  height: 60px;
  background: #FF7162;
  bottom: 20%;
  left: 15%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.location-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 900;
  color: #253b70;
  margin-bottom: 3rem;
  font-family: 'Mplusrounded1c', 'Plus Jakarta Sans', sans-serif;
}

.location-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.map-container {
  position: relative;
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.5s forwards;
}

.animated-map-pin {
  position: absolute;
  top: -10px;
  right: 20px;
  z-index: 10;
  animation: pinDrop 2s ease-out 1s forwards;
  transform: translateY(-100px);
  opacity: 0;
}

.pin-icon {
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

@keyframes pinDrop {
  0% { transform: translateY(-100px); opacity: 0; }
  50% { transform: translateY(10px); opacity: 1; }
  100% { transform: translateY(0px); opacity: 1; }
}

.map-frame {
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.map-frame:hover {
  transform: scale(1.02);
}

.location-info {
  transform: translateX(20px);
  opacity: 0;
  animation: fadeInRight 1s ease-out 0.8s forwards;
}

.location-info h3 {
  color: #253b70;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: 'Mplusrounded1c', 'Plus Jakarta Sans', sans-serif;
}

.location-address {
  font-size: 1.1rem;
  color: #4a5568;
  margin-bottom: 1rem;
  font-weight: 600;
}

.location-description {
  color: #718096;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.nearby-schools h4 {
  color: #ff7162;
  margin-bottom: 0.5rem;
  font-family: 'Mplusrounded1c', 'Plus Jakarta Sans', sans-serif;
}

.nearby-schools ul {
  list-style: none;
  padding: 0;
}

.nearby-schools li {
  padding: 0.5rem 0;
  color: #4a5568;
  position: relative;
  padding-left: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
}

.nearby-schools li:nth-child(1) { animation-delay: 1.5s; }
.nearby-schools li:nth-child(2) { animation-delay: 1.7s; }
.nearby-schools li:nth-child(3) { animation-delay: 1.9s; }

.nearby-schools li::before {
  content: "📍";
  position: absolute;
  left: 0;
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Programs Section */
.programs-section {
  background: white;
  padding: 80px 0;
}

.programs-content {
  max-width: 1200px;
  margin: 0 auto;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.program-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.program-icon {
  margin-bottom: 1.5rem;
}

.program-card h3 {
  color: #253b70;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-family: 'Mplusrounded1c', 'Plus Jakarta Sans', sans-serif;
}

.program-card p {
  color: #718096;
  line-height: 1.6;
}

/* Compressed Modern Footer */
.modern-footer {
  background: #253b70;
  color: white;
  padding: 2rem 0 1rem;
  position: relative;
  overflow: hidden;
}

.modern-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #1a2b5c 0%, #253b70 50%, #1a2b5c 100%);
  z-index: 1;
}

.modern-footer .base-container {
  position: relative;
  z-index: 2;
}

.modern-footer .footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-brand-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand img {
  height: 50px;
  filter: brightness(1.2) contrast(1.1);
}

.footer-info {
  line-height: 1.4;
}

.footer-address {
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: #ffffff;
  font-size: 0.9rem;
}

.footer-phone {
  color: #ff7162;
  font-weight: 600;
  font-size: 1rem;
}

.footer-email {
  color: #ffffff;
  font-weight: 500;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.footer-social-section {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 113, 98, 0.2);
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-social-link:hover {
  background: #ff7162;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 113, 98, 0.4);
  border-color: #ff7162;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0;
}

/* Nearby Schools Map */
.nearby-schools-map {
  margin-top: 1.5rem;
}

.nearby-schools-map h4 {
  color: #253b70;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-family: 'Mplusrounded1c', 'Plus Jakarta Sans', sans-serif;
}

.schools-map-image {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.schools-map-image:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* View Full Map Button */
.view-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #ff7162 0%, #ff8c42 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 113, 98, 0.3);
  margin-top: 1rem;
}

.view-map-btn:hover {
  background: linear-gradient(135deg, #ff5722 0%, #ff6f00 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 113, 98, 0.4);
}

.view-map-btn svg {
  width: 20px;
  height: 20px;
}

/* Map Modal Styles */
.map-modal {
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
}

.map-modal-content {
  position: relative;
  width: 95vw;
  height: 95vh;
  max-width: 1200px;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.map-modal-header {
  background: linear-gradient(135deg, #253b70 0%, #1a2b5c 100%);
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.map-modal-header h2 {
  font-family: 'Mplusrounded1c', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  margin: 0;
}

.map-modal-header .modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.map-modal-header .modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.full-map-container {
  flex: 1;
  position: relative;
  min-height: 400px;
}

.full-map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-modal-info {
  background: #f8f9fa;
  padding: 1.5rem;
  border-top: 1px solid #e9ecef;
  flex-shrink: 0;
}

.map-info-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.map-info-content h3 {
  font-family: 'Mplusrounded1c', 'Plus Jakarta Sans', sans-serif;
  color: #253b70;
  font-size: 1.3rem;
  margin: 0 0 0.5rem 0;
}

.map-address {
  color: #6c757d;
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.map-phone {
  color: #ff7162;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0;
}

.map-actions {
  display: flex;
  gap: 1rem;
}

.map-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #253b70 0%, #1a2b5c 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 59, 112, 0.3);
}

.map-action-btn:hover {
  background: linear-gradient(135deg, #1a2b5c 0%, #253b70 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 59, 112, 0.4);
  color: white;
}

.map-action-btn svg {
  width: 16px;
  height: 16px;
}

/* Mobile Responsive for Map Modal */
@media (max-width: 768px) {
  .map-modal-content {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
  
  .map-modal-header {
    padding: 1rem;
  }
  
  .map-modal-header h2 {
    font-size: 1.2rem;
  }
  
  .map-modal-info {
    padding: 1rem;
  }
  
  .map-info-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .map-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .map-action-btn {
    justify-content: center;
    width: 100%;
  }
}

/* Tour Form Modal System */
.modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.6) !important;
  z-index: 2147483647 !important;
  backdrop-filter: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 2rem !important;
  padding-top: 7rem !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

.modal-content {
  background: white !important;
  width: 100% !important;
  max-width: 550px !important;
  max-height: 80vh !important;
  height: auto !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4) !important;
  transform: scale(0.8) translateY(30px) !important;
  opacity: 0 !important;
  animation: popupModal 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
  margin: auto !important;
  z-index: 2147483647 !important;
}

@keyframes popupModal {
  from {
    transform: scale(0.8) translateY(30px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes mobilePopupModal {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  background: linear-gradient(135deg, #253b70 0%, #1a2b5c 100%);
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

.modal-header h2 {
  font-family: 'Mplusrounded1c', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  margin: 0;
  font-weight: 600;
  color: white !important;
}

.modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.modal-body {
  flex: 1;
  padding: 1.5rem 2rem 2rem 2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-height: calc(80vh - 120px);
  min-height: 0;
}

.tour-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #253b70;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-family: 'Mplusrounded1c', 'Plus Jakarta Sans', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  background: white;
  min-height: 50px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff7162;
  box-shadow: 0 0 0 3px rgba(255, 113, 98, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  background: linear-gradient(135deg, #ff7162 0%, #ff5a47 100%);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Mplusrounded1c', 'Plus Jakarta Sans', sans-serif;
  margin-top: 1.5rem;
  width: 100%;
  min-height: 50px;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(255, 113, 98, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  /* Ensure body and html don't interfere with modal */
  html.modal-open,
  body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
  }
  
  /* Override any conflicting styles from other elements */
  .modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 2147483647 !important;
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
  }
  
  .modal-content {
    position: relative !important;
    z-index: 2147483647 !important;
    width: 100% !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    margin: auto !important;
    background: white !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
    transform: none !important;
    animation: mobilePopupModal 0.3s ease-out forwards !important;
  }
  
  .modal-header {
    position: relative !important;
    z-index: 2147483647 !important;
    background: linear-gradient(135deg, #253b70 0%, #1a2b5c 100%) !important;
    color: white !important;
    padding: 1rem !important;
    flex-shrink: 0 !important;
  }
  
  .modal-header h2 {
    color: white !important;
    font-size: 1.1rem !important;
    margin: 0 !important;
    z-index: 2147483647 !important;
  }
  
  .modal-body {
    position: relative !important;
    z-index: 2147483647 !important;
    padding: 1rem !important;
    overflow-y: auto !important;
    max-height: calc(90vh - 80px) !important;
  }
  
  .modal-close {
    position: relative !important;
    z-index: 2147483647 !important;
  }
  
  /* Force all modal child elements to highest z-index */
  .tour-form,
  .form-group,
  .submit-btn,
  .form-group input,
  .form-group select,
  .form-group textarea,
  .form-group label {
    z-index: 2147483647 !important;
    position: relative !important;
  }
  
  .location-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .location-shape.shape-1 {
    width: 80px;
    height: 80px;
  }
  
  .location-shape.shape-2 {
    width: 60px;
    height: 60px;
  }
  
  .location-shape.shape-3 {
    width: 40px;
    height: 40px;
  }
  
  .modal-header {
    padding: 1rem;
    flex-shrink: 0;
  }
  
  .modal-header h2 {
    font-size: 1.125rem;
  }
  
  .modal-body {
    padding: 1rem;
    max-height: calc(85vh - 80px);
    overflow-y: auto;
  }
  
  .tour-form {
    gap: 0.875rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
    padding: 0.75rem;
    min-height: 48px;
  }
  
  .submit-btn {
    font-size: 16px;
    padding: 0.875rem;
    min-height: 48px;
  }
  
  .modern-footer {
    padding: 1.5rem 0 0.75rem;
  }
  
  .modern-footer .footer-wrapper {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .footer-brand-section {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-bottom {
    padding-top: 1rem;
  }
}

/* Chatbot Styles */
.chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff7162 0%, #ff8c42 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  box-shadow: 0 5px 15px rgba(255, 113, 98, 0.3);
  transition: transform 0.3s ease;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
}

.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 500px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chatbot-header {
  background: linear-gradient(135deg, #253b70 0%, #1a2b5c 100%);
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h3 {
  margin: 0;
  font-family: 'Mplusrounded1c', 'Plus Jakarta Sans', sans-serif;
}

.chatbot-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.chatbot-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  background: #f8fafc;
  max-height: 350px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e0 #f8fafc;
}

.chatbot-messages::-webkit-scrollbar {
  width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
  background: #f8fafc;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}

.chatbot-message {
  margin-bottom: 1rem;
}

.chatbot-message p {
  background: white;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.bot-message p {
  background: #e2e8f0;
  color: #4a5568;
}

.user-message {
  text-align: right;
}

.user-message p {
  background: #ff7162;
  color: white;
}

.chatbot-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.chatbot-option {
  background: #ff7162;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.chatbot-option:hover {
  background: #ff8c42;
}

.chatbot-input {
  display: flex;
  padding: 1rem;
  border-top: 1px solid #e2e8f0;
}

.chatbot-input input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  margin-right: 0.5rem;
}

.chatbot-input button {
  background: #ff7162;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }
  
  .modern-footer .footer-wrapper {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-brand-section {
    flex-direction: column;
    gap: 1rem;
  }
  
  .chatbot-window {
    width: 300px;
    height: 400px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .modal-overlay {
    padding: 0 !important;
  }
  
  .modal-content {
    width: calc(100% - 1.5rem) !important;
    max-width: 350px !important;
    margin: 0.75rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .modal-header {
    padding: 0.875rem;
    flex-shrink: 0;
  }
  
  .modal-header h2 {
    font-size: 1rem;
  }
  
  .modal-body {
    padding: 0.875rem;
    max-height: calc(80vh - 70px);
    overflow-y: auto;
  }
  
  .tour-form {
    gap: 0.75rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.625rem;
    font-size: 16px;
    min-height: 44px;
  }
  
  .submit-btn {
    padding: 0.75rem;
    font-size: 16px;
    min-height: 44px;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .modal-overlay {
    padding: 0 !important;
  }
  
  .modal-content {
    width: calc(100% - 1rem) !important;
    max-width: 300px !important;
    margin: 0.5rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }
  
  .modal-header {
    padding: 0.75rem;
    flex-shrink: 0;
  }
  
  .modal-header h2 {
    font-size: 0.9rem;
  }
  
  .modal-body {
    padding: 0.75rem;
    max-height: calc(75vh - 60px);
    overflow-y: auto;
  }
  
  .tour-form {
    gap: 0.5rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.5rem;
    font-size: 16px;
    min-height: 40px;
  }
  
  .submit-btn {
    padding: 0.625rem;
    font-size: 16px;
    min-height: 40px;
  }
}



/* Colorful Neighborhood Map Modal Styles */
.colorful-map-modal {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
  backdrop-filter: none;
  animation: modalFadeIn 0.6s ease-out;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1rem;
}

.colorful-map-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255, 113, 98, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(37, 59, 112, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.colorful-map-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid rgba(255, 113, 98, 0.2);
  border-radius: 20px;
  max-width: 95vw;
  max-height: 95vh;
  overflow: visible;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: modalSlideUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  margin: 0 auto;
}

.colorful-map-modal .map-modal-header {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  color: #253b70;
  padding: 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid #e2e8f0;
}

.colorful-map-modal .map-modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

.colorful-map-modal .map-modal-header h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
  font-family: 'Mplusrounded1c', 'Plus Jakarta Sans', sans-serif;
  text-shadow: none;
  animation: titleBounce 1s ease-out;
  color: #253b70;
}

.rainbow-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(255, 113, 98, 0.1);
  border: 2px solid rgba(255, 113, 98, 0.3);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 1.2rem;
  color: #253b70;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rainbow-close:hover {
  background: rgba(255, 113, 98, 0.2);
  transform: rotate(90deg) scale(1.1);
}

.colorful-map-container {
  position: relative;
  padding: 1rem;
  background: linear-gradient(45deg, rgba(248, 250, 252, 0.8) 0%, rgba(255, 113, 98, 0.05) 50%, rgba(248, 250, 252, 0.8) 100%);
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.colorful-map-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 15% 25%, rgba(255, 113, 98, 0.3) 8px, transparent 8px),
    radial-gradient(circle at 85% 15%, rgba(255, 113, 98, 0.2) 12px, transparent 12px),
    radial-gradient(circle at 25% 75%, rgba(37, 59, 112, 0.3) 6px, transparent 6px),
    radial-gradient(circle at 75% 85%, rgba(255, 113, 98, 0.25) 10px, transparent 10px),
    radial-gradient(circle at 50% 10%, rgba(37, 59, 112, 0.2) 14px, transparent 14px),
    radial-gradient(circle at 90% 60%, rgba(255, 113, 98, 0.3) 7px, transparent 7px),
    radial-gradient(circle at 10% 80%, rgba(37, 59, 112, 0.25) 9px, transparent 9px);
  background-size: 200px 200px, 180px 180px, 160px 160px, 220px 220px, 190px 190px, 170px 170px, 210px 210px;
  animation: floatingCircles 8s ease-in-out infinite;
  pointer-events: none;
}

.colorful-map-container::after {
  content: '✦ ✧ ★ ✦ ✧ ★ ✦ ✧ ★ ✦ ✧ ★ ✦ ✧ ★ ✦ ✧ ★';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: rgba(255, 113, 98, 0.4);
  font-size: 1.2rem;
  line-height: 2;
  text-align: left;
  word-spacing: 2rem;
  animation: floatingStars 12s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.map-animation-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  animation: mapZoomIn 1s ease-out;
}

.colorful-map-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.colorful-map-image:hover {
  transform: scale(1.05);
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-sun {
  position: absolute;
  top: 10%;
  right: 15%;
  font-size: 3rem;
  animation: sunRotate 4s linear infinite;
}

.floating-cloud {
  position: absolute;
  font-size: 2rem;
  animation: cloudFloat 6s ease-in-out infinite;
}

.cloud-1 {
  top: 15%;
  left: 20%;
  animation-delay: 0s;
}

.cloud-2 {
  top: 25%;
  right: 30%;
  animation-delay: 2s;
}

.cloud-3 {
  top: 35%;
  left: 60%;
  animation-delay: 4s;
}

.floating-butterfly {
  position: absolute;
  top: 40%;
  right: 20%;
  font-size: 1.5rem;
  animation: butterflyFly 3s ease-in-out infinite;
}

.floating-bird {
  position: absolute;
  top: 20%;
  left: 40%;
  font-size: 1.2rem;
  animation: birdFly 4s ease-in-out infinite;
}

.sparkle {
  position: absolute;
  font-size: 1.5rem;
  animation: sparkleShine 2s ease-in-out infinite;
}

.sparkle-1 {
  top: 30%;
  left: 25%;
  animation-delay: 0s;
}

.sparkle-2 {
  top: 60%;
  right: 35%;
  animation-delay: 0.5s;
}

.sparkle-3 {
  top: 45%;
  left: 70%;
  animation-delay: 1s;
}

.sparkle-4 {
  top: 70%;
  left: 45%;
  animation-delay: 1.5s;
}

.colorful-map-info {
  background: linear-gradient(135deg, #253b70 0%, #1e3a5f 100%);
  padding: 2rem;
  text-align: center;
  animation: infoSlideUp 1s ease-out 0.5s both;
  position: relative;
  overflow: hidden;
}

.colorful-map-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 113, 98, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 113, 98, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.colorful-map-info h3 {
  font-size: 1.8rem;
  color: #ff7162;
  margin-bottom: 1rem;
  font-family: 'Mplusrounded1c', 'Plus Jakarta Sans', sans-serif;
  animation: textPop 0.8s ease-out 0.7s both;
  position: relative;
  z-index: 2;
}

.colorful-map-info .map-address,
.colorful-map-info .map-phone {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  animation: textSlide 0.6s ease-out 0.9s both;
  position: relative;
  z-index: 2;
}

.colorful-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  animation: buttonsSlideUp 0.8s ease-out 1.1s both;
}

.colorful-action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: 'Mplusrounded1c', 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.directions-btn {
  background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
  color: white;
}

.directions-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.call-btn {
  background: linear-gradient(135deg, #4ECDC4 0%, #45B7D1 100%);
  color: white;
}

.call-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

.btn-icon {
  font-size: 1.2rem;
  animation: iconBounce 2s ease-in-out infinite;
}

/* Keyframe Animations */
@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalSlideUp {
  from {
    transform: translateY(100px) scale(0.8);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes titleBounce {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes rainbow-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 0, 150, 0.5);
  }
  25% {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 255, 0, 0.5);
  }
  75% {
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
  }
}

@keyframes mapZoomIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes sunRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes cloudFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes butterflyFly {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(-5deg);
  }
  50% {
    transform: translateY(-10px) rotate(0deg);
  }
  75% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes birdFly {
  0%, 100% {
    transform: translateX(0px) translateY(0px);
  }
  25% {
    transform: translateX(-10px) translateY(-5px);
  }
  50% {
    transform: translateX(-5px) translateY(-10px);
  }
  75% {
    transform: translateX(-15px) translateY(-3px);
  }
}

@keyframes sparkleShine {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes infoSlideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes textPop {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes textSlide {
  from {
    transform: translateX(-30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes buttonsSlideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes iconBounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

@keyframes floatingCircles {
  0%, 100% {
    transform: translateY(0px);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px);
    opacity: 1;
  }
}

@keyframes floatingStars {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

/* Interactive Bubbles Styles */
.school-bubble,
.daycare-bubble,
.interactive-element {
  position: absolute;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  animation: bubblePulse 2s infinite;
}

.school-bubble {
  width: 130px;
  height: 70px;
  background: linear-gradient(135deg, #ff7162 0%, #ff9a56 100%);
  border: 2px solid #ffffff;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 113, 98, 0.3);
  transition: all 0.3s ease;
}

.daycare-bubble {
  width: 150px;
  height: 80px;
  background: linear-gradient(135deg, #253b70 0%, #1e3a5f 100%);
  border: 2px solid #ff7162;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 59, 112, 0.3);
  transition: all 0.3s ease;
}

.interactive-element {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
  border: 2px solid #ff7162;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(255, 113, 98, 0.2);
  transition: all 0.3s ease;
}

.bubble-content {
  text-align: center;
  color: white;
  font-family: 'Mplusrounded1c', 'Plus Jakarta Sans', sans-serif;
}

.daycare-bubble .bubble-content {
  color: #ff7162;
}

.bubble-icon {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.element-icon {
  font-size: 2rem;
}

.bubble-name {
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.1;
}

.bubble-distance,
.bubble-address {
  font-size: 0.6rem;
  opacity: 0.9;
  margin-top: 0.1rem;
}

.bubble-tooltip,
.element-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  color: #253b70;
  padding: 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  min-width: 160px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 20;
  border: 2px solid #ff7162;
}

.bubble-tooltip::after,
.element-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #ff7162;
}

.bubble-tooltip h4,
.element-tooltip h4 {
  margin: 0 0 0.5rem 0;
  color: #ff7162;
  font-size: 0.9rem;
  font-weight: 700;
}

.bubble-tooltip p,
.element-tooltip p {
  margin: 0 0 0.3rem 0;
  font-size: 0.75rem;
  line-height: 1.3;
}

.bubble-tooltip p:last-child,
.element-tooltip p:last-child {
  margin-bottom: 0;
}

/* Positioning for each school bubble */
.bubble-nottingham {
  top: 20%;
  left: 15%;
}

.bubble-stephen {
  top: 15%;
  right: 20%;
}

.bubble-richter {
  bottom: 35%;
  left: 10%;
}

.bubble-colbert {
  bottom: 20%;
  left: 40%;
}

.bubble-brown {
  bottom: 25%;
  right: 15%;
}

.daycare-bubble {
  top: 45%;
  left: 50%;
  transform: translateX(-50%);
}

.sun-element {
  top: 10%;
  right: 15%;
}

.nature-element {
  top: 35%;
  left: 25%;
}

.rabbit {
  bottom: 45%;
  left: 20%;
}

.duck {
  bottom: 35%;
  right: 30%;
}

/* Hover effects */
.school-bubble:hover,
.daycare-bubble:hover,
.interactive-element:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(255, 113, 98, 0.6);
  animation: none;
}

.school-bubble:hover .bubble-tooltip,
.daycare-bubble:hover .bubble-tooltip,
.interactive-element:hover .element-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px);
}

/* Bubble animations */
@keyframes bubblePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Mobile Responsive for Colorful Map Modal */
@media (max-width: 768px) {
  .colorful-map-modal {
    padding: 0.5rem;
  }
  
  .colorful-map-content {
    max-width: 98vw;
    max-height: 98vh;
    border-radius: 15px;
  }
  
  .colorful-map-modal .map-modal-header {
    padding: 0.8rem;
  }
  
  .colorful-map-modal .map-modal-header h2 {
    font-size: 1.3rem;
  }
  
  .colorful-map-container {
    padding: 0.5rem;
    min-height: 300px;
  }
  
  .colorful-map-image {
    max-width: 100%;
    height: auto;
  }
  
  .floating-sun {
    font-size: 1.8rem;
  }
  
  .floating-cloud {
    font-size: 1.2rem;
  }
  
  .colorful-actions {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .colorful-action-btn {
    width: 100%;
    justify-content: center;
    padding: 0.6rem 1rem;
  }
  
  .school-bubble,
  .daycare-bubble {
    width: 85px;
    height: 50px;
    border-radius: 12px;
  }
  
  .daycare-bubble {
    width: 95px;
    height: 55px;
  }
  
  .bubble-name {
    font-size: 0.55rem;
    line-height: 1.2;
  }
  
  .bubble-distance,
  .bubble-address {
    font-size: 0.45rem;
  }
  
  .interactive-element {
    width: 35px;
    height: 35px;
  }
  
  .element-icon {
    font-size: 1.3rem;
  }
  
  .bubble-tooltip,
  .element-tooltip {
    min-width: 140px;
    font-size: 0.65rem;
    padding: 0.5rem;
  }
  
  .rainbow-close {
    width: 30px;
    height: 30px;
    font-size: 1rem;
    top: 0.3rem;
    right: 0.3rem;
  }
}

/* Ripple Effect Styles */
.bubble-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  width: 20px;
  height: 20px;
  animation: ripple 0.6s ease-out;
  pointer-events: none;
  z-index: 15;
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

/* Floating Text Styles */
.floating-text {
  position: absolute;
  color: #253b70;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Mplusrounded1c', 'Plus Jakarta Sans', sans-serif;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
  animation: floatingTextAnimation 3s ease-out forwards;
  pointer-events: none;
  z-index: 15;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(248, 250, 252, 0.8));
  padding: 0.3rem 0.6rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 113, 98, 0.3);
}

@keyframes floatingTextAnimation {
  0% {
    transform: translateY(0px) scale(0.8);
    opacity: 0;
  }
  20% {
    transform: translateY(-20px) scale(1.1);
    opacity: 1;
  }
  80% {
    transform: translateY(-40px) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-60px) scale(0.9);
    opacity: 0;
  }
}

/* Special Animation Keyframes */
@keyframes daycareSpecial {
  0% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 8px 20px rgba(37, 59, 112, 0.4);
  }
  25% {
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 15px 35px rgba(255, 113, 98, 0.8);
  }
  50% {
    transform: scale(1.3) rotate(-5deg);
    box-shadow: 0 20px 40px rgba(37, 59, 112, 0.8);
  }
  75% {
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 15px 35px rgba(255, 113, 98, 0.8);
  }
  100% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 8px 20px rgba(37, 59, 112, 0.4);
  }
}

@keyframes schoolBounce {
  0% {
    transform: scale(1) translateY(0px);
  }
  30% {
    transform: scale(1.2) translateY(-10px);
  }
  60% {
    transform: scale(1.1) translateY(-5px);
  }
  100% {
    transform: scale(1) translateY(0px);
  }
}

@keyframes elementSpin {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.3) rotate(180deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
  }
}

/* Enhanced Bubble Pulse with Color Changes */
@keyframes bubblePulse {
  0%, 100% {
    transform: scale(1);
    filter: hue-rotate(0deg);
  }
  50% {
    transform: scale(1.05);
    filter: hue-rotate(10deg);
  }
}

/* Add sparkle trail effect */
.school-bubble::before,
.daycare-bubble::before,
.interactive-element::before {
  content: '✨';
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 1.2rem;
  animation: sparkleTrail 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sparkleTrail {
  0%, 100% {
    opacity: 0;
    transform: scale(0.8) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(180deg);
  }
}

/* Add glow effect on hover */
.school-bubble:hover::after,
.daycare-bubble:hover::after,
.interactive-element:hover::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(45deg, #ff7162, #253b70, #ff7162);
  border-radius: inherit;
  z-index: -1;
  animation: glowPulse 1s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}