@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --background: hsl(40 20% 98%);
  --foreground: hsl(220 13% 13%);
  --border: hsl(40 10% 90%);
  --card: hsl(0 0% 100%);
  --card-foreground: hsl(220 13% 13%);
  --primary: hsl(271 78% 42%);
  --primary-foreground: hsl(0 0% 100%);
  --secondary: hsl(271 12% 92%);
  --secondary-foreground: hsl(271 12% 15%);
  --muted: hsl(40 10% 92%);
  --muted-foreground: hsl(220 9% 46%);
  --accent: hsl(38 92% 50%);
  --accent-foreground: hsl(38 92% 10%);
  --destructive: hsl(0 84% 48%);
  --radius: 0.5rem;
}

.dark {
  --background: hsl(222 47% 6%);
  --foreground: hsl(210 40% 98%);
  --border: hsl(222 30% 15%);
  --card: hsl(222 40% 8%);
  --card-foreground: hsl(210 40% 98%);
  --primary: hsl(271 78% 65%);
  --primary-foreground: hsl(0 0% 100%);
  --secondary: hsl(271 15% 18%);
  --secondary-foreground: hsl(271 15% 90%);
  --muted: hsl(222 30% 14%);
  --muted-foreground: hsl(215 20% 65%);
  --accent: hsl(43 96% 58%);
  --accent-foreground: hsl(43 96% 10%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: var(--muted);
}

.btn-ghost {
  background-color: transparent;
  color: var(--foreground);
}

.btn-ghost:hover {
  background-color: var(--muted);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--background);
  color: var(--foreground);
  font-size: 0.875rem;
  font-family: inherit;
}

.input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px hsla(271, 78%, 42%, 0.2);
}

.label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.badge-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.badge-accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.text-muted {
  color: var(--muted-foreground);
}

.text-primary {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
}

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

nav .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
}

nav .logo img {
  height: 2.5rem;
  width: auto;
}

nav .nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav .nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

nav .nav-links a:hover {
  color: var(--primary);
}

nav .nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-modern {
  min-height: 100vh;
  justify-content: flex-start;
  padding-top: 6rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
}

.hero-overlay-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,5,20,0.85) 0%, rgba(20,10,40,0.7) 50%, rgba(10,5,20,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.hero-content-left {
  text-align: left;
  padding: 4rem 2rem;
  max-width: 700px;
  margin-left: 5%;
}

.hero-tagline {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.dark .hero-tagline {
  color: var(--accent);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-modern h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  max-width: 42rem;
  margin: 0 auto 2rem;
}

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

.hero-content-left .hero-buttons {
  justify-content: flex-start;
  margin-bottom: 3rem;
}

.hero-btn {
  padding: 0.75rem 1.5rem;
}

.btn-outline-light {
  background-color: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
}

.btn-outline-light:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
}

.section {
  padding: 5rem 0;
}

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

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 1.5rem;
}

.service-card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.stats {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-item p {
  opacity: 0.9;
  font-size: 0.875rem;
}

.cta {
  background-color: var(--muted);
}

.cta-content {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

footer {
  background-color: var(--card);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 2.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-links h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.blog-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.blog-card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.blog-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

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

.about-hero img {
  width: 100%;
  border-radius: var(--radius);
}

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

.about-hero p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.value-card {
  padding: 1.5rem;
  text-align: center;
}

.value-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.value-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.team-card {
  text-align: center;
  padding: 1.5rem;
}

.team-avatar {
  width: 5rem;
  height: 5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 auto 1rem;
}

.team-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.team-card .role {
  color: var(--primary);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.team-card .bio {
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  padding: 2rem;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header img {
  height: 3rem;
  margin-bottom: 1rem;
}

.auth-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group input {
  width: 1rem;
  height: 1rem;
}

.form-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.form-footer a {
  color: var(--primary);
  font-weight: 500;
}

.select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--background);
  color: var(--foreground);
  font-size: 0.875rem;
  font-family: inherit;
  cursor: pointer;
}

.theme-toggle {
  padding: 0.5rem;
  border-radius: var(--radius);
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
}

.theme-toggle:hover {
  background-color: var(--muted);
}

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

.filter-active {
  background-color: var(--primary) !important;
  color: var(--primary-foreground) !important;
}

/* Privacy Policy Page */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-date {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.privacy-section {
  margin-bottom: 2.5rem;
}

.privacy-section h2 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.privacy-section p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.privacy-section ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--muted-foreground);
}

.privacy-section li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.privacy-section strong {
  color: var(--foreground);
}

.contact-info {
  background-color: var(--muted);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-top: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-info p:last-child {
  margin-bottom: 0;
}

/* Cookie Consent Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  z-index: 9999;
  display: flex;
  justify-content: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-popup-content {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cookie-popup-text {
  flex: 1;
}

.cookie-popup-text h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cookie-popup-text p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.cookie-link {
  font-size: 0.875rem;
  color: var(--primary);
  text-decoration: underline;
}

.cookie-link:hover {
  opacity: 0.8;
}

.cookie-popup-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-popup-buttons .btn {
  min-width: 130px;
}

@media (min-width: 768px) {
  .cookie-popup-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-modern h1 {
    font-size: 2.25rem;
  }

  .hero-content-left {
    margin-left: 0;
    padding: 2rem 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero-stat {
    flex-direction: row;
    align-items: baseline;
    gap: 0.75rem;
  }

  .hero-stat-number {
    font-size: 1.5rem;
  }
  
  .about-hero {
    grid-template-columns: 1fr;
  }
  
  nav .nav-links {
    display: none;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }

  .cookie-popup-buttons {
    flex-direction: column;
  }

  .cookie-popup-buttons .btn {
    width: 100%;
  }
}
