/* Base styles - using Tailwind-like classes but custom CSS */
footer {
  background: transparent;
  border: none;
  padding: 0;
}

.footer-bg-primary {
  background-color: #e03861 !important;
}

.footer-text-primary-foreground {
  color: white !important;
}

.footer-text-primary {
  color: #e03861 !important;
}

.footer-bg-secondary {
  background-color: #1664c1 !important;
  color: white !important;
}

.text-subtle {
  color: #1664c1;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-12 {
  gap: 3rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-2 {
  gap: 0.5rem;
}

.space-y-16 > * + * {
  margin-top: 4rem;
}

.space-y-12 > * + * {
  margin-top: 3rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

.space-y-5 > * + * {
  margin-top: 1.25rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.w-full {
  width: 100%;
}

.h-10 {
  height: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.h-12 {
  height: 3rem;
}

.rounded-b-xl {
  border-bottom-left-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-md {
  border-radius: 0.375rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pb-8 {
  padding-bottom: 2rem;
}

.pb-14 {
  padding-bottom: 3.5rem;
}

.pt-16 {
  padding-top: 4rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.p-0 {
  padding: 0;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.font-semibold {
  font-weight: 600;
}

.font-light {
  font-weight: 300;
}

.text-center {
  text-align: center;
}

.col-span-1 {
  grid-column: span 1 / span 1;
}

.hidden {
  display: none;
}

/* Button styles */
.inline-flex {
  display: inline-flex;
}

.cursor-pointer {
  cursor: pointer;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.transition-all {
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.shrink-0 {
  flex-shrink: 0;
}

.outline-none {
  outline: none;
}

.bg-white {
  background-color: white !important;
}

.shadow-xs {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.hover\:bg-white\/90:hover {
  background-color: rgba(255, 255, 255, 0.9) !important;
}

/* Specific button styling to ensure colors apply */
.bg-white.text-primary {
  background-color: white !important;
  color: #e03861 !important;
}

.bg-white.text-primary:hover {
  background-color: rgba(255, 255, 255, 0.9) !important;
  color: #e03861 !important;
}

/* Social icons */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

/* Links */
footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #5d68a3;
}

.ml-auto {
  margin-left: auto;
}

.flex-1 {
  flex: 1 1 0%;
}

.max-w-md {
  max-width: 28rem;
}

.pt-16 {
  padding-top: 4rem;
}

.pt-20 {
  padding-top: 5rem;
}

.pt-24 {
  padding-top: 6rem;
}

/* Medium screens and up */
@media (min-width: 768px) {
  .md\:block {
    display: block;
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .md\:col-start-2 {
    grid-column-start: 2;
  }
  
  .md\:col-end-4 {
    grid-column-end: 4;
  }
  
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:px-12 {
    padding-left: 3rem;
    padding-right: 3rem;
  }
  
  .md\:p-8 {
    padding: 2rem;
  }
  
  .container {
    padding: 0 3rem;
  }

  .md\:pt-20 {
    padding-top: 5rem;
  }

  .footer-attention-section {
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .footer-copyright-section {
    flex-direction: column !important;
    text-align: center !important;
  }

  .footer-text-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.25rem !important;
  }

  .municipality-text {
    display: block !important;
    font-weight: 600 !important;
  }

  .department-text {
    display: block !important;
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .container {
    padding: 0 1rem;
  }
    .md\:hidden {
    display: none;
  }
  
  .gap-12 {
    gap: 2rem;
  }
  
  .text-2xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .md\:pt-20 {
    padding-top: 5rem;
  }

   .footer-attention-section {
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .footer-copyright-section {
    flex-direction: column !important;
    text-align: center !important;
  }

  .footer-text-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.25rem !important;
  }

  .municipality-text {
    display: block !important;
    font-weight: 600 !important;
  }

  .department-text {
    display: block !important;
  }
}