.text-container {
    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 2rem;
    font-weight: bold;
    background: black;
    padding: 10px;
    height: 13vh;
    color: white;
    white-space: nowrap; /* Ensures text stays in one line */
}

.highlight {
    color: #f16232;
    display: inline-block;
    position: relative;
    overflow: hidden;
    height: 1.2em;
    width: 18ch; /* Allow dynamic width */
    font-size: 2rem;
    margin-left: 15px; /* Reduce or remove margin */
    vertical-align: baseline; /* Ensures proper text alignment */
    line-height: 1; /* Ensures vertical alignment */
    vertical-align: middle; /* Keeps it aligned with normal text */
   margin-top: 8px;
}

.word {
    position: absolute;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    white-space: nowrap; /* Prevents word wrapping */
}

.word.active {
    opacity: 1;
    transform: translateY(0);
}

.word.exit {
    opacity: 0;
    transform: translateY(-100%);
}



@media (max-width: 768px) {
    .text-container {
        font-size: 1.5rem; /* Reduce text size on smaller screens */
        flex-direction: column; /* Stack text in smaller screens */
        text-align: center;
    }

    .highlight {
        font-size: 1.5rem; /* Adjust highlight text size */
        margin-left: 0; /* Remove left margin */
        margin-top: 5px; /* Add some space above */
    }
}

/* 📱 Extra Small Screens (Phones) */
@media (max-width: 480px) {
    .text-container {
        font-size: 1.2rem;
       
    }

    .highlight {
        font-size: 1.2rem;
        margin-bottom: 0.3em; /* Reduce margin for better spacing */
    }
}





  
  /* Mobile Responsiveness */
  @media (max-width: 768px) {
    .enquires {
      font-size: 1rem;
      padding: 12px 24px;
      width: 100%;
      max-width: 300px;
    }
  }
  



  .enquire-section {
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }
  
  .enquires {
    padding: 14px 36px;
    font-size: 1.1rem;
    font-weight: 500;
    background-color: #f16232;
    color: white;
    border: none;
    border-radius: 999px; /* ✅ perfect pill */
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    font-family: 'DM Sans', sans-serif;
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.4);
    white-space: nowrap; /* ✅ keeps text on one line */
  }
  
  .enquires:hover {
    background-color: #f47d54;
    transform: scale(1.05);
  }
  
  /* Mobile responsiveness */
  @media (max-width: 768px) {
    .enquires {
      font-size: 1rem;
      padding: 12px 24px;
      width: 100%;
      max-width: 280px;
      margin: 0 auto;
    }
  }
  