/* ===== BOTTOM BANNER BUTTON ===== */
.bottom-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #9E1B1B 0%, #7a1515 100%);
  color: #fff;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 9999;
  max-width: 480px;
  width: calc(100% - 2rem);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.bottom-banner.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(100px);
  pointer-events: none;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1;
}

.banner-text {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.banner-button {
  background: #fff;
  color: #9E1B1B;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.banner-button:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.banner-close {
  background: transparent;
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
  opacity: 0.8;
}

.banner-close:hover {
  background: rgba(255, 255, 255, 0.15);
  opacity: 1;
}

@media (max-width: 600px) {
  .bottom-banner {
    bottom: 15.5rem;
    padding: 0.9rem 1rem;
    max-width: calc(100% - 2rem);
    flex-direction: column;
    align-items: stretch;
  }

  .banner-content {
    flex-direction: column;
    gap: 0.7rem;
    align-items: stretch;
  }

  .banner-text {
    font-size: 0.85rem;
    text-align: center;
  }

  .banner-button {
    width: 100%;
    padding: 0.7rem;
  }

  .banner-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
  }
}

/* ===== MOBILE SUBMENU STYLES ===== */
@media (max-width: 900px) {
  /* Mobile submenu toggle */
  nav ul > li.submenu-open > ul {
    display: block !important;
    animation: slideDown 0.3s ease;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      max-height: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      max-height: 500px;
      transform: translateY(0);
    }
  }
}

/* ===== INFO BANNER (Enrollment Banner) ===== */
.info-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #9E1B1B 0%, #7a1515 100%);
  color: #fff;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 9999;
  max-width: 480px;
  width: calc(100% - 2rem);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.info-banner .banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex: 1;
  width: 100%;
}

.info-banner .banner-text {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1.3;
  flex: 1;
}

.info-banner .banner-text a {
  color: #fff;
  text-decoration: underline;
  font-weight: bold;
}

.info-banner .banner-text a:hover {
  color: #ffd1d1;
}

.info-banner .banner-close {
  background: transparent;
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
  opacity: 0.8;
}

.info-banner .banner-close:hover {
  background: rgba(255, 255, 255, 0.15);
  opacity: 1;
}

@media (max-width: 600px) {
  .info-banner {
    bottom: 15.5rem;
    padding: 0.9rem 1rem;
    max-width: calc(100% - 2rem);
  }

  .info-banner .banner-content {
    flex-direction: row;
    gap: 0.7rem;
  }

  .info-banner .banner-text {
    font-size: 0.85rem;
  }

  .info-banner .banner-close {
    position: relative;
    top: auto;
    right: auto;
  }
}

/* ===== COMPACT CONTACT FORM MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.modal-header h2 {
  color: #9E1B1B;
  font-size: 1.4rem;
  margin: 0;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #666;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: #9E1B1B;
}

.modal-body form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group label {
  font-weight: bold;
  color: #333;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.6rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: 'Bree Serif', serif;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #9E1B1B;
}

.form-group textarea {
  resize: vertical;
  min-height: 70px;
}

.submit-btn {
  background: linear-gradient(135deg, #9E1B1B 0%, #7a1515 100%);
  color: #fff;
  padding: 0.7rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(158, 27, 27, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(158, 27, 27, 0.4);
}

.form-status {
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  display: none;
  text-align: center;
}

.form-status.success {
  background-color: #d4edda;
  color: #155724;
  display: block;
}

.form-status.error {
  background-color: #f8d7da;
  color: #721c24;
  display: block;
}

/* ===== MOBILE BOTTOM NAVIGATION ===== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #9E1B1B 0%, #7a1515 100%);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 10001;
  padding: 0.8rem 0;
}

.mobile-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  gap: 0.3rem;
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.mobile-nav-item i {
  font-size: 1.5rem;
}

.mobile-nav-item span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: block;
  }
  
  body {
    padding-bottom: 70px;
  }
  
  .whatsapp-icon img { width: 48px;} .whatsapp-icon,
  .call-icon {
    display: none !important;
  }
}

/* Responsive adjustments for modal */
@media (max-width: 600px) {
  .modal-content {
    padding: 1.2rem;
    width: 95%;
    max-width: 95%;
  }
  
  .modal-header h2 {
    font-size: 1.2rem;
  }
  
  .form-group label {
    font-size: 0.85rem;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
}
