:root {
  --tina-primary: #FFD93D;
  --tina-light: #FFE382;
  --tina-dark: #000000;
  --tina-gray: #666666;
}

/* Form Styling */
.form-floating>.form-control-plaintext:focus, .form-floating>.form-control-plaintext:not(:placeholder-shown), .form-floating>.form-control:focus, .form-floating>.form-control:not(:placeholder-shown) {
  padding-top: 0.8rem !important;
}

.form-container {
  background: var(--bs-body-bg);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-floating {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-floating > .form-control {
  height: calc(3.5rem + 2px);
  padding: 1rem 0.75rem;
  font-size: 1rem;
  border: 2px solid #dee2e6;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.form-floating > .form-control:focus {
  border-color: var(--tina-primary);
  box-shadow: 0 0 0 0.25rem rgba(255, 217, 61, 0.25);
}

.form-floating > label {
  position: absolute;
  top: 0;
  left: 0;
  height: auto;
  padding: 1rem 0.75rem;
  pointer-events: none;
  transform-origin: 0 0;
  transition: opacity .15s ease-in-out, transform .15s ease-in-out;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
  background: white;
  padding: 0 0.5rem;
  height: auto;
  color: var(--tina-primary);
  border-radius: 40px;
}

.form-progress {
  height: 4px;
  background: rgba(0,0,0,0.1);
  border-radius: 2px;
  margin-bottom: 2rem;
}

.form-progress-bar {
  height: 100%;
  background: var(--tina-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.form-check {
  margin: 1.5rem 0;
}

.form-check-input:checked {
  background-color: var(--tina-primary);
  border-color: var(--tina-primary);
}

.btn-warning {
  background: var(--tina-primary);
  border: none;
  font-weight: 600;
  padding: 0.8rem 2rem;
  transition: all 0.3s ease;
}

.btn-warning:hover {
  background: var(--tina-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
  vertical-align: middle;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Coverage Cards */
.coverage-card {
  transform-origin: center;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: var(--bs-body-bg);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.coverage-card:hover {
  transform: translateY(-10px) rotate(2deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.coverage-icon {
  font-size: 2.5rem;
  color: var(--tina-primary);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.coverage-card:hover .coverage-icon {
  transform: scale(1.2) rotate(-10deg);
  color: var(--tina-light);
}

/* Contact Cards */
.contact-card {
  transform-origin: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-card .card-body {
  padding: 2rem;
  transition: all 0.3s ease;
}

.contact-card:hover .card-body {
  background-color: rgba(255, 217, 61, 0.1);
}

/* Footer */
.footer {
  background-color: var(--bs-dark);
  color: var(--bs-light);
  padding: 4rem 0 2rem;
}

.footer-section {
  margin-bottom: 2.5rem;
}

.footer h5 {
  color: var(--tina-primary);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer a {
  color: var(--bs-light);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 0.5rem 0;
}

.footer a:hover {
  color: var(--tina-primary);
  transform: translateX(10px);
}

.footer .social-icons {
  margin-top: 2rem;
}

.footer .social-icons a {
  color: var(--bs-light);
  margin: 0 15px;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
}

.footer .social-icons a:hover {
  color: var(--tina-primary);
  transform: translateY(-5px);
}

.footer-bottom {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

/* FAQ Accordion */
.accordion-button:not(.collapsed) {
  background-color: var(--tina-primary);
  color: var(--bs-dark);
}

.accordion-button:focus {
  border-color: var(--tina-light);
  box-shadow: 0 0 0 0.25rem rgba(255, 217, 61, 0.25);
}

/* Back to top button */
.back-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--tina-primary);
  color: var(--bs-dark);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Loading screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.5);
  opacity: 0;
  animation: loadingAppear 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.loading-logo {
  width: 120px;
  height: 120px;
  animation: logoPulse 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.loading-title {
  font-size: 3.5rem;
  font-weight: bold;
  color: var(--tina-secondary);
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(30px) scale(0.8);
  animation: titleAppear 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s forwards;
}

@keyframes loadingAppear {
  0% {
      transform: scale(0.5);
      opacity: 0;
  }
  100% {
      transform: scale(1);
      opacity: 1;
  }
}

@keyframes titleAppear {
  0% {
      opacity: 0;
      transform: translateY(30px) scale(0.8);
  }
  100% {
      opacity: 1;
      transform: translateY(0) scale(1);
  }
}

@keyframes logoPulse {
  0% {
      transform: scale(1) rotate(0deg);
  }
  50% {
      transform: scale(1.3) rotate(180deg);
  }
  100% {
      transform: scale(1) rotate(360deg);
  }
}
