/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-600: #16a34a;
  --green-800: #166534;
  --green-900: #14532d;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  background-color: #ffffff;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

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

/* Header Styles */
.header {
  background-color: #ffffff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background-color: var(--sky-500);
  color: #ffffff;
  padding: 0.5rem 0;
}

.header-top-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
}

.header-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
}

.header-contact a:hover {
  text-decoration: underline;
}

.header-location {
  font-size: 0.875rem;
}

.header-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 1.5rem;
  color: var(--sky-600);
  margin: 0;
}

.logo p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: 0;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-desktop a {
  color: var(--gray-700);
  transition: color 0.3s;
}

.nav-desktop a:hover {
  color: var(--sky-600);
}

.btn-primary {
  background-color: var(--sky-500);
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: var(--sky-600);
}

.mobile-menu-btn {
  display: block;
  background: none;
  padding: 0.5rem;
  color: var(--gray-700);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--gray-200);
  padding: 1rem 0;
}

.nav-mobile.active {
  display: block;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-mobile-links a {
  color: var(--gray-700);
  transition: color 0.3s;
}

.nav-mobile-links a:hover {
  color: var(--sky-600);
}

.nav-mobile-links .btn-primary {
  text-align: center;
  display: block;
}

/* Footer Styles */
.footer {
  background-color: var(--gray-900);
  color: #ffffff;
  padding: 3rem 0;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h3, .footer h4 {
  margin-bottom: 1rem;
}

.footer p {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul li a {
  color: var(--gray-400);
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer ul li a:hover {
  color: #ffffff;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--sky-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: var(--gray-400);
  transition: color 0.3s;
}

.footer-contact-item a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-400);
}

/* Remove hover effect from footer buttons */
.footer .btn-primary:hover {
  background-color: var(--sky-500);
}

/* Main Content */
main {
  min-height: calc(100vh - 400px);
}

/* Hero Section */
.hero {
  background: linear-gradient(to bottom right, var(--sky-50), #dbeafe);
  padding: 4rem 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--gray-700);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--sky-600);
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  border: 1px solid var(--gray-300);
  transition: all 0.3s;
}

.btn-secondary:hover {
  background-color: var(--gray-50);
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-gray {
  background-color: var(--gray-50);
}

.section-white {
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 800px;
  margin: 0 auto;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Card Styles */
.card {
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.card h3 {
  margin-bottom: 1rem;
}

.card p {
  color: var(--gray-600);
}

.card-icon {
  width: 64px;
  height: 64px;
  background-color: var(--sky-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  color: var(--sky-600);
}

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

/* Feature List */
.feature-list {
  list-style: none;
  margin: 1.5rem 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.feature-list li svg {
  width: 20px;
  height: 20px;
  color: var(--sky-600);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Contact Form */
.contact-form {
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  font-size: 1rem;
  background-color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sky-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.875rem;
  color: var(--gray-700);
  cursor: pointer;
  flex: 1;
}

.checkbox-group label a {
  color: var(--sky-600);
}

.checkbox-group label a:hover {
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  background-color: var(--sky-500);
  color: #ffffff;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.3s;
}

.form-submit:hover:not(:disabled) {
  background-color: var(--sky-600);
}

.form-submit:disabled {
  background-color: var(--gray-300);
  cursor: not-allowed;
}

.form-success {
  background-color: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  background-color: var(--green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.form-success-icon svg {
  width: 32px;
  height: 32px;
  color: var(--green-600);
}

.form-success h3 {
  color: var(--green-900);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--green-800);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 1001;
  display: none;
}

.cookie-consent.active {
  display: block;
}

.cookie-consent-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-consent p {
  margin: 0;
  color: var(--gray-700);
}

.cookie-consent-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-consent-buttons button {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.cookie-accept-all {
  background-color: var(--sky-500);
  color: #ffffff;
}

.cookie-reject {
  background-color: var(--gray-200);
  color: var(--gray-700);
}

.cookie-manage {
  background-color: transparent;
  color: var(--sky-600);
  border: 1px solid var(--sky-600);
}

/* Accordion */
.accordion-item {
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  background-color: #ffffff;
  padding: 1.5rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.accordion-header:hover {
  background-color: var(--gray-50);
}

.accordion-header h3 {
  margin: 0;
  font-size: 1.125rem;
}

.accordion-icon {
  flex-shrink: 0;
  transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-700);
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

/* Contact Box (for legal pages) */
.contact-box {
  background-color: var(--sky-50);
  border-radius: 0.5rem;
  padding: 2rem;
  margin-top: 3rem;
}

.contact-box h3 {
  margin-bottom: 1.5rem;
}

.contact-box-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-box-item svg {
  width: 20px;
  height: 20px;
  color: var(--sky-600);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-box-item a {
  color: var(--sky-600);
}

.contact-box-item a:hover {
  text-decoration: underline;
}

/* Service Item */
.service-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

.service-item img {
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.service-includes {
  background-color: var(--sky-50);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-includes h3 {
  margin-bottom: 1rem;
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.process-step {
  display: flex;
  gap: 1rem;
}

.process-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: var(--sky-500);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
}

.process-step-content h3 {
  margin-bottom: 0.5rem;
}

.process-step-content p {
  color: var(--gray-600);
  margin: 0;
}

/* Stats/Numbers */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

/* Legal Page Content */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content ul,
.legal-content ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (min-width: 640px) {
  .header-top-content {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .nav-desktop {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-item {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cookie-consent-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Utility Classes */
.hidden {
  display: none;
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

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

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

.text-gray-600 {
  color: var(--gray-600);
}

.text-gray-700 {
  color: var(--gray-700);
}
