/* ============================
   Typing animation (footer tagline)
   ============================ */
#typed-text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  line-height: 1.2;
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 1em;               /* match text height */
  animation: blink-cursor 0.75s step-end infinite;
  vertical-align: middle;    /* align with text baseline */
  background-color: white;
  margin-left: 2px;
}

@keyframes blink-cursor {
  from, to { background-color: transparent; }
  50% { background-color: white; }
}

/* ============================
   Footer base
   ============================ */
#footer-section {
  position: relative;
  padding: 4rem 0;
  color: white;
  overflow: hidden;
}

/* ============================
   Background media (lazy-loaded <picture>/<img>)
   ============================ */
.footer-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
}

.footer-media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark overlay for contrast */
.footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

/* ============================
   Content readability & interactions
   ============================ */
.ftco-heading-2,
.ftco-footer-social a,
.block-23 a,
.text {
  color: white !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Social icons */
.ftco-footer-social a {
  display: inline-block;
  margin: 0 0.75rem;
  transition: transform 0.2s ease, text-shadow 0.2s ease, opacity 0.2s ease;
  opacity: 0.95;
}

.ftco-footer-social a:hover {
  transform: translateY(-3px);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  opacity: 1;
}

/* Email pill link */
.block-23 a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  transition: background 0.3s ease, transform 0.2s ease, text-decoration-color 0.2s ease;
  text-decoration: none;
}

.block-23 a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* ============================
   Responsive tweaks
   ============================ */
@media (max-width: 768px) {
  #footer-section {
    padding: 3rem 0;
  }
  .ftco-footer-social a {
    margin: 0 0.5rem !important;
  }
}

/* Add this to your existing CSS */
.block-23 li {
  margin-bottom: 0.5rem;
}

.block-23 .icon-phone::before {
  content: "\f095"; /* Font Awesome phone icon */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

/* Ensure both email and phone have same styling */
.block-23 a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  transition: background 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  color: white !important;
  margin: 0.25rem 0;
}

.block-23 a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Phone icon spacing */
.block-23 .icon-phone {
  margin-right: 0.5rem;
}

/* Intense text glow effect */
.text-glow {
  position: relative;
  transition: all 0.3s ease;
  color: white; /* Ensure text is white for best glow */
}

.text-glow:hover {
  text-shadow: 
    0 0 5px #ff69b4,
    0 0 10px #ff69b4,
    0 0 15px #ff69b4,
    0 0 20px #ff69b4;
  transform: scale(1.05); /* Slight grow effect */
}

/* For an even more intense pulsing glow */
@keyframes intense-glow {
  0% { text-shadow: 0 0 5px #ff69b4, 0 0 10px #ff69b4; }
  50% { text-shadow: 0 0 15px #ff69b4, 0 0 25px #ff69b4, 0 0 35px #ff69b4; }
  100% { text-shadow: 0 0 5px #ff69b4, 0 0 10px #ff69b4; }
}

.text-glow:hover {
  animation: intense-glow 1.5s infinite;
}

/* Optional: Add a subtle background glow too */
.text-glow:hover::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: rgba(255, 105, 180, 0.1);
  border-radius: inherit;
  z-index: -1;
  filter: blur(5px);
}