/* Header and Footer Essential Styles */

/* Tailwind CSS Reset and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

body {
  margin: 0;
  line-height: inherit;
  font-family: 'DM Sans', sans-serif;
  background-color: rgb(249 250 251);
  color: rgb(17 24 39);
}

button {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
  background-color: transparent;
  background-image: none;
  cursor: pointer;
}

svg {
  display: block;
  vertical-align: middle;
}

/* Layout Classes */
.flex {
  display: flex;
}

.hidden {
  display: none;
}

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

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

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

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

/* Spacing Classes */
.space-x-2 > :not([hidden]) ~ :not([hidden]) {
  margin-right: calc(0.5rem * 0);
  margin-left: calc(0.5rem * 1);
}

.space-x-6 > :not([hidden]) ~ :not([hidden]) {
  margin-right: calc(1.5rem * 0);
  margin-left: calc(1.5rem * 1);
}

.space-x-8 > :not([hidden]) ~ :not([hidden]) {
  margin-right: calc(2rem * 0);
  margin-left: calc(2rem * 1);
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  margin-top: calc(0.5rem * 1);
  margin-bottom: calc(0.5rem * 0);
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-4 {
  margin-bottom: 1rem;
}

/* Sizing Classes */
.w-5 {
  width: 1.25rem;
}

.w-8 {
  width: 2rem;
}

.h-5 {
  height: 1.25rem;
}

.h-8 {
  height: 2rem;
}

.h-16 {
  height: 4rem;
}

.max-w-7xl {
  max-width: 80rem;
}

/* Padding Classes */
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

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

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

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

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

/* Background Classes */
.bg-white {
  background-color: rgb(255 255 255);
}

.bg-purple-600 {
  background-color: rgb(147 51 234);
}

.bg-white\/80 {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Border Classes */
.border-t {
  border-top-width: 1px;
}

.border-gray-200 {
  border-color: rgb(229 231 235);
}

.rounded-lg {
  border-radius: 0.5rem;
}

/* Text Classes */
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.font-bold {
  font-weight: 700;
}

.text-white {
  color: rgb(255 255 255);
}

.text-gray-600 {
  color: rgb(75 85 99);
}

.text-gray-900 {
  color: rgb(17 24 39);
}

/* Position Classes */
.fixed {
  position: fixed;
}

.top-0 {
  top: 0;
}

.z-50 {
  z-index: 50;
}

/* Effects */
.backdrop-blur-lg {
  backdrop-filter: blur(16px);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.cursor-pointer {
  cursor: pointer;
}

/* Transitions */
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.15s;
}

/* Hover States */
.hover\:text-gray-900:hover {
  color: rgb(17 24 39);
}

/* Responsive Classes */
@media (min-width: 640px) {
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
  
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:mb-0 {
    margin-bottom: 0;
  }
  
  .md\:space-y-0 > :not([hidden]) ~ :not([hidden]) {
    margin-top: calc(0rem * 1);
    margin-bottom: calc(0rem * 0);
  }
  
  .md\:space-x-8 > :not([hidden]) ~ :not([hidden]) {
    margin-right: calc(2rem * 0);
    margin-left: calc(2rem * 1);
  }
}

@media (min-width: 1024px) {
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}