:root {
  /* Tetrad color scheme */
  --primary-color: #2e86de;
  --primary-dark: #1c5b98;
  --primary-light: #5eaeff;
  
  --secondary-color: #de2e86;
  --secondary-dark: #9c1e5c;
  --secondary-light: #ff5eae;
  
  --tertiary-color: #86de2e;
  --tertiary-dark: #5b981c;
  --tertiary-light: #aeff5e;
  
  --quaternary-color: #de862e;
  --quaternary-dark: #9c5c1e;
  --quaternary-light: #ffae5e;
  
  /* Neutral colors */
  --dark: #333333;
  --medium-dark: #555555;
  --medium: #777777;
  --medium-light: #999999;
  --light: #f5f5f5;
  --white: #ffffff;
  
  /* Shadows for neomorphism */
  --shadow-light: rgba(255, 255, 255, 0.5);
  --shadow-dark: rgba(0, 0, 0, 0.15);
  
  /* Border radius */
  --border-radius-sm: 8px;
  --border-radius-md: 15px;
  --border-radius-lg: 25px;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo Black', sans-serif;
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
  color: var(--dark);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--medium);
  text-align: center;
  margin-bottom: 2.5rem;
}

.title-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.section-padding {
  padding: 5rem 0;
}

/* Neomorphic elements */
.neomorphic-card {
  background-color: var(--light);
  border-radius: var(--border-radius-md);
  box-shadow: 
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.neomorphic-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
}

/* Buttons */
.btn {
  border-radius: var(--border-radius-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  transition: all var(--transition-fast);
  border: none;
  box-shadow: 
    4px 4px 8px var(--shadow-dark),
    -4px -4px 8px var(--shadow-light);
}

.btn:hover, .btn:focus {
  transform: translateY(-3px);
  box-shadow: 
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: 
    2px 2px 4px var(--shadow-dark),
    -2px -2px 4px var(--shadow-light);
}

.btn-primary {
  background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
  color: var(--white);
}

.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline-light:hover, .btn-outline-light:focus {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

/* Header and Navigation */
header {
  background-color: var(--light);
  box-shadow: 0 2px 10px var(--shadow-dark);
  transition: all var(--transition-fast);
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.brand-text {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.8rem;
  color: var(--primary-color);
  line-height: 1;
}

.brand-subtext {
  font-size: 0.75rem;
  color: var(--medium-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.navbar-nav .nav-link {
  color: var(--medium-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  position: relative;
  transition: all var(--transition-fast);
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

.navbar-toggler {
  border: none;
  background: transparent;
  box-shadow: none !important;
}

.navbar-toggler:focus {
  outline: none;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: var(--white);
  padding-top: 80px;
}

.hero-section h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.progress-indicator {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-fast);
}

.progress-dot.active {
  background-color: var(--white);
  transform: scale(1.2);
}

/* History Section */
.statistics-widget {
  text-align: center;
}

.stat-item {
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  background-color: var(--white);
  box-shadow: 
    3px 3px 6px var(--shadow-dark),
    -3px -3px 6px var(--shadow-light);
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-item p {
  margin-bottom: 0;
  color: var(--medium-dark);
  font-size: 0.9rem;
}

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

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content {
  flex-grow: 1;
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.step-content p {
  margin-bottom: 0;
  color: var(--medium-dark);
}

/* Research Section */
.research-stats {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.stat-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.stat-number {
  font-family: 'Archivo Black', sans-serif;
  font-size: 2rem;
  color: var(--tertiary-color);
  margin-bottom: 0.5rem;
}

.stat-circle p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--medium-dark);
}

/* Resources Section */
.resource-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--border-radius-sm);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.resource-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.card-content p {
  margin-bottom: 1.5rem;
  color: var(--medium-dark);
  flex-grow: 1;
}

.card-content .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Testimonials Section */
.testimonial-carousel {
  position: relative;
  padding: 2rem 0;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.testimonial-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 
    4px 4px 8px var(--shadow-dark),
    -4px -4px 8px var(--shadow-light);
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.testimonial-content {
  flex-grow: 1;
}

.testimonial-rating {
  color: var(--quaternary-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--medium-dark);
}

.testimonial-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.testimonial-position {
  color: var(--medium);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.carousel-control {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light);
  box-shadow: 
    3px 3px 6px var(--shadow-dark),
    -3px -3px 6px var(--shadow-light);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.carousel-control:hover, .carousel-control:focus {
  transform: scale(1.1);
  box-shadow: 
    4px 4px 8px var(--shadow-dark),
    -4px -4px 8px var(--shadow-light);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--medium-light);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* Success Stories Section */
.success-story {
  height: 100%;
}

.success-story .image-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.success-story .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.success-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.success-name {
  color: var(--medium);
  font-style: italic;
  margin-bottom: 1rem;
}

.success-content p {
  margin-bottom: 1rem;
  color: var(--medium-dark);
}

.success-achievement {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.achievement-label {
  font-weight: bold;
  color: var(--dark);
}

.achievement-value {
  color: var(--secondary-color);
  font-weight: 500;
}

/* FAQ Section */
.faq-item {
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.faq-question h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
  color: var(--dark);
  flex-grow: 1;
}

.faq-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: all var(--transition-fast);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1rem 1rem;
}

.faq-answer p {
  margin-bottom: 0;
  color: var(--medium-dark);
}

/* Press Section */
.press-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.press-logo {
  height: 80px;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.press-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.press-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.press-content h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.press-quote {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--medium-dark);
  flex-grow: 1;
}

.press-source {
  color: var(--medium);
  font-size: 0.9rem;
  margin-top: auto;
}

/* Contact Section */
.contact-info {
  height: 100%;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

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

.contact-list i {
  font-size: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-list h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.contact-list p {
  margin-bottom: 0;
  color: var(--medium-dark);
}

.contact-map {
  width: 100%;
  height: 250px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  margin-top: 1.5rem;
}

.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form {
  height: 100%;
}

.contact-form h3 {
  margin-bottom: 1.5rem;
  color: var(--dark);
}

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

.form-control {
  border: none;
  border-radius: var(--border-radius-sm);
  padding: 0.75rem 1rem;
  background-color: var(--light);
  box-shadow: 
    inset 3px 3px 6px var(--shadow-dark),
    inset -3px -3px 6px var(--shadow-light);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  box-shadow: 
    inset 4px 4px 8px var(--shadow-dark),
    inset -4px -4px 8px var(--shadow-light);
}

.form-check-input {
  border: none;
  box-shadow: 
    inset 2px 2px 4px var(--shadow-dark),
    inset -2px -2px 4px var(--shadow-light);
}

/* Footer */
.footer-section {
  background-color: var(--dark);
  color: var(--light);
  padding: 4rem 0 2rem;
}

.footer-section h3, .footer-section h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-section p {
  color: var(--medium-light);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  color: var(--light);
  text-decoration: none;
  transition: all var(--transition-fast);
}

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

.footer-links {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  color: var(--medium-light);
  text-decoration: none;
  transition: all var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

.footer-bottom a {
  color: var(--medium-light);
  text-decoration: none;
  transition: all var(--transition-fast);
}

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

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.success-icon {
  font-size: 5rem;
  color: var(--tertiary-color);
  margin-bottom: 2rem;
}

/* Cookie Consent */
#cookieConsent {
  background-color: rgba(0, 0, 0, 0.85);
  color: var(--white);
  padding: 20px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  text-align: center;
}

#acceptCookies {
  background-color: var(--tertiary-color);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: var(--border-radius-sm);
  font-weight: bold;
  transition: all var(--transition-fast);
}

#acceptCookies:hover {
  background-color: var(--tertiary-dark);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

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

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

/* Animations */
@keyframes morphing {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

.image-container {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-image {
  animation: morphing 8s ease-in-out infinite;
}

/* Media Queries */
@media (max-width: 991.98px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .process-step {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: 1rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 500px;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .footer-section [class^="col-"] {
    margin-bottom: 2rem;
  }
}

/* Pages: Privacy, Terms, About, Contacts */
.page-content {
  padding-top: 100px;
  padding-bottom: 5rem;
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--dark);
}

/* Parallax effect */
.bg-parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}