/* DaisyUI Custom CSS */

/* DaisyUI theme variables */
:root {
  --p: 251 84% 58%; /* #4B3EE8 */
  --pf: 251 84% 45%; /* Darker primary for focus/hover */
  --pc: 0 0% 100%; /* White text on primary */
  
  --s: 355 83% 57%; /* #EA3238 */
  --sf: 355 83% 45%; /* Darker secondary for focus/hover */
  --sc: 0 0% 100%; /* White text on secondary */
  
  --n: 0 0% 0%; /* #000000 */
  --nf: 0 0% 10%; /* Slightly lighter neutral for focus/hover */
  --nc: 0 0% 100%; /* White text on neutral */
  
  --b1: 0 0% 100%; /* White background */
  --b2: 0 0% 95%; /* Light gray background */
  --b3: 0 0% 90%; /* Medium gray background */
  --bc: 0 0% 0%; /* Black text on background */
}

/* Basic reset */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: hsl(var(--bc));
  background-color: hsl(var(--b1));
  margin: 0;
  padding: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: hsl(var(--b1));
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar-start {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex: 1;
}

.navbar-end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.menu-horizontal {
  flex-direction: row;
}

.menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: hsl(var(--bc));
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu li a:hover {
  color: hsl(var(--p));
}

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: hsl(var(--b1));
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1;
  border-radius: 0.5rem;
  padding: 0.5rem;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: block;
}

/* Hero */
.hero {
  background-color: hsl(var(--p));
  color: hsl(var(--pc));
  padding: 4rem 1rem;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  background-color: hsl(var(--p));
  color: hsl(var(--pc));
}

.btn:hover {
  background-color: hsl(var(--pf));
}

.btn-primary {
  background-color: hsl(var(--p));
  color: hsl(var(--pc));
}

.btn-primary:hover {
  background-color: hsl(var(--pf));
}

.btn-secondary {
  background-color: hsl(var(--s));
  color: hsl(var(--sc));
}

.btn-secondary:hover {
  background-color: hsl(var(--sf));
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

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

/* Card */
.card {
  background-color: hsl(var(--b1));
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.badge-primary {
  background-color: hsl(var(--p));
  color: hsl(var(--pc));
}

.badge-lg {
  padding: 0.5rem 1rem;
  font-size: 1rem;
}

/* Collapse */
.collapse {
  border-radius: 1rem;
  border: 1px solid hsl(var(--b3));
  background-color: hsl(var(--b1));
}

.collapse-title {
  padding: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.collapse-content {
  padding: 0 1rem 1rem;
}

.collapse-arrow .collapse-title:after {
  content: '▼';
  position: absolute;
  right: 1rem;
  transition: transform 0.3s ease;
}

.collapse-open .collapse-title:after {
  transform: rotate(180deg);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background-color: hsl(var(--b1));
  border-radius: 1rem;
  padding: 2rem;
  max-width: 32rem;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-action {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

/* Form */
.form-control {
  margin-bottom: 1rem;
}

.label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.input, .textarea, .select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid hsl(var(--b3));
  border-radius: 0.5rem;
  background-color: hsl(var(--b1));
  color: hsl(var(--bc));
}

.input:focus, .textarea:focus, .select:focus {
  outline: 2px solid hsl(var(--p));
  outline-offset: 2px;
}

.input-bordered, .textarea-bordered, .select-bordered {
  border-color: hsl(var(--b3));
}

/* Grid */
.grid {
  display: grid;
  gap: 1rem;
}

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

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Flex */
.flex {
  display: flex;
}

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

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

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

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

.justify-end {
  justify-content: flex-end;
}

.gap-4 {
  gap: 1rem;
}

.flex-wrap {
  flex-wrap: wrap;
}

/* Spacing */
.p-4 {
  padding: 1rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

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

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.mt-4 {
  margin-top: 1rem;
}

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

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

/* Typography */
.text-center {
  text-align: center;
}

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

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

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

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

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

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

/* Colors */
.text-primary {
  color: hsl(var(--p));
}

.text-white {
  color: white;
}

.bg-primary {
  background-color: hsl(var(--p));
}

.bg-secondary {
  background-color: hsl(var(--s));
}

.bg-base-100 {
  background-color: hsl(var(--b1));
}

.bg-base-200 {
  background-color: hsl(var(--b2));
}

/* Shadows */
.shadow-sm {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.shadow {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.shadow-md {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
}

/* Responsive utilities */
@media (max-width: 640px) {
  .hidden {
    display: none;
  }
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
  
  .md\:hidden {
    display: none;
  }
}

@media (min-width: 1024px) {
  .lg\:flex {
    display: flex;
  }
  
  .lg\:hidden {
    display: none;
  }
}

/* Steps */
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  counter-reset: step;
  margin-bottom: 2rem;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  counter-increment: step;
}

.step:before {
  content: '';
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: hsl(var(--b3));
  color: hsl(var(--bc));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step:not(:last-child):after {
  content: '';
  position: absolute;
  left: 50%;
  top: 1rem;
  width: 100%;
  height: 2px;
  background-color: hsl(var(--b3));
  transform: translateY(-50%);
  z-index: -1;
}

.step-primary:before {
  background-color: hsl(var(--p));
  color: hsl(var(--pc));
}

.steps-vertical {
  flex-direction: column;
}

.steps-vertical .step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.steps-vertical .step:after {
  left: 1rem;
  top: 1.5rem;
  width: 2px;
  height: 100%;
  transform: none;
}

@media (min-width: 1024px) {
  .lg\:steps-horizontal {
    flex-direction: row;
  }
  
  .lg\:steps-horizontal .step {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .lg\:steps-horizontal .step:after {
    left: 50%;
    top: 1rem;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
  }
}

/* Links */
.link {
  text-decoration: underline;
  color: hsl(var(--p));
}

.link:hover {
  color: hsl(var(--pf));
}

.link-hover:hover {
  text-decoration: underline;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: hsl(var(--p));
  color: hsl(var(--pc));
  padding: 8px;
  z-index: 1001;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}


.contact.shadow-sm{
  margin:2rem 0;
}

#resources .card-body{
  padding: .7rem;

}