:root {
  --primary-color: #6b46c1;
  --primary-dark: #553399;
  --primary-light: #8b5cf6;
  --text-dark: #1a1a1a;
  --text-muted: #6c757d;
  --bg-light: #f8f9fa;
  --border-color: #e0e0e0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  max-height: 40px;
  width: auto;
  transition: opacity 0.3s ease;
}

.navbar-brand:hover img {
  opacity: 0.8;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

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

.nav-link.active {
  color: var(--primary-color);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 70, 193, 0.3);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.hero-overlay {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, rgba(107, 70, 193, 0.9), rgba(85, 51, 153, 0.85));
  width: 100%;
  padding: 5rem 0;
}

.page-hero {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  color: white;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.shadow {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.rounded {
  border-radius: 8px;
}

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

.principle-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
}

footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: white;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(107, 70, 193, 0.25);
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  color: white;
  padding: 1.5rem 0;
  z-index: 9999;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  display: none;
}

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

.cookie-consent .btn-light {
  background-color: white;
  color: var(--primary-color);
  border: none;
  font-weight: 600;
}

.cookie-consent .btn-light:hover {
  background-color: var(--bg-light);
}

.cookie-consent .btn-outline-light {
  color: white;
  border-color: white;
  font-weight: 600;
}

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

.accordion .btn-link {
  font-size: 1.1rem;
  font-weight: 600;
}

.accordion .btn-link:hover {
  text-decoration: none;
  color: var(--primary-color);
}

.text-warning {
  color: #ffc107;
}

.alert-info {
  background-color: #e3f2fd;
  border-color: #90caf9;
  color: #1565c0;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 500px;
  }

  .hero-overlay {
    padding: 3rem 0;
  }

  .display-4 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1rem;
  }

  .btn-lg {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .cookie-consent .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .cookie-consent .col-lg-4 {
    text-align: center;
  }
}
