/* 🌟 Global Reset & Base */
html, body {
  height: 100%;
  margin: 0;
  padding: top 35px;;
  background: #ffffff;
  color: #333;
  font-family: "Poppins", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Montserrat', sans-serif !important;
}

:root {
  --bs-body-font-family: 'Montserrat', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700;
}

p, span, a, button {
  font-family: 'Montserrat', sans-serif !important;
}

/* ✅ Navbar */
.navbar {
  padding: 12px 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* 📌 Hero Section */
.card {
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 35px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.card:hover {
  transform: scale(1.02);
}

/* ✅ Text Input Box */
#text-input {
  border-radius: 10px;
  font-size: 16px;
  padding: 12px;
  border: 1px solid #ccc;
  transition: border 0.2s ease-in-out;
}

#text-input:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

/* ✅ Character Counter & Limit Warning */
.character-counter {
  font-size: 14px;
  color: #666;
  text-align: right;
}

.character-warning {
  font-size: 14px;
  color: red;
  font-weight: bold;
  text-align: center;
}

/* ✅ Floating Labels for Select Fields */
.select-container {
  position: relative;
}

.select-container select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: white;
  transition: border 0.2s ease-in-out;
  appearance: none;
  font-size: 16px;
}

.select-container select:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

/* ✅ Floating Labels */
.select-container label {
  position: absolute;
  left: 12px;
  top: 14px;
  font-size: 14px;
  color: #666;
  transition: all 0.3s ease-in-out;
  pointer-events: none;
}

.select-container select:focus + label,
.select-container select:not(:placeholder-shown) + label {
  top: -10px;
  left: 10px;
  font-size: 12px;
  color: #007bff;
  background: white;
  padding: 0 5px;
}

/* 🎙 Buttons - Smoother Hover & Click Effects */
.btn-primary {
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 14px;
  transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: scale(0.96);
}

/* ✅ Loading Indicator */
#loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.spinner-border {
  width: 30px;
  height: 30px;
}

/* 🎵 Audio Player & Download Button */
#audio-controls {
  text-align: center;
  margin-top: 15px;
}

audio {
  width: 100%;
  border-radius: 8px;
}

.download-btn-container {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

#download-btn {
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 6px;
  display: inline-block;
  text-align: center;
}

/* ✅ Accordion (FAQ Section) */
.accordion-button {
  background: #f8f9fa;
  font-weight: bold;
  color: #333;
  transition: background 0.2s ease-in-out;
}

.accordion-button:hover {
  background: rgba(0, 123, 255, 0.1);
}

.accordion-button:focus {
  box-shadow: none;
}

/* ✅ Footer */
footer {
  text-align: center;
  padding: 16px 0;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
  background: #212529;
  color: white;
}

/* Example: Make the .fas.fa-bars icon white and larger */
.navbar-toggler i.fas.fa-bars {
  color: #fff;
  font-size: 1.4rem;
}

.gradient-text {
  background: linear-gradient(45deg, #3b71ca, #14a44d);  /* Define gradient */
  background-clip: text;
  -webkit-background-clip: text;  /* Required for Safari & Chrome */
  -webkit-text-fill-color: transparent;  /* Hide solid color */
  color: transparent;  /* Fallback for browsers that don't support it */
  font-weight: bold;
}



/* ✅ Responsive Adjustments */
@media (max-width: 768px) {
  .btn-primary {
    font-size: 14px;
    padding: 12px;
  }

  .card {
    padding: 25px;
  }

  navbar-toggler i.fas.fa-bars {
    color: #000; /* or any color */
    font-size: 1.2rem; /* adjust size if you wish */
  }

}
