:root {
  /* Color Palette - Complementary color scheme */
  --primary-color: #3a7bd5;
  --primary-light: #5a94e2;
  --primary-dark: #2b62b9;
  --secondary-color: #f39c12;
  --secondary-light: #f9b648;
  --secondary-dark: #d78500;
  --accent-color: #e74c3c;
  --accent-light: #f06e61;
  --accent-dark: #c0392b;
  --neutral-color: #ecf0f1;
  --neutral-dark: #bdc3c7;
  --text-color: #2c3e50;
  --text-color-light: #7f8c8d;
  --white: #ffffff;
  --black: #000000;
  
  /* Shadows for neuromorphic design */
  --nm-shadow-large: 10px 10px 20px rgba(0, 0, 0, 0.1), -10px -10px 20px rgba(255, 255, 255, 0.5);
  --nm-shadow-small: 5px 5px 10px rgba(0, 0, 0, 0.1), -5px -5px 10px rgba(255, 255, 255, 0.5);
  --nm-shadow-inset: inset 5px 5px 10px rgba(0, 0, 0, 0.1), inset -5px -5px 10px rgba(255, 255, 255, 0.5);
  
  /* Border radius */
  --border-radius-small: 8px;
  --border-radius-medium: 15px;
  --border-radius-large: 25px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Font families */
  --heading-font: 'Raleway', sans-serif;
  --body-font: 'Open Sans', sans-serif;
}

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

body {
  font-family: var(--body-font);
  color: var(--text-color);
  background-color: var(--neutral-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.title, .subtitle {
  font-family: var(--heading-font);
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

/* Container for images with fixed height */
.image-container {
  overflow: hidden;
  border-radius: var(--border-radius-medium);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

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

.image-container:hover img {
  transform: scale(1.03);
}

/* Neuromorphic elements */
.neomorph-box {
  border-radius: var(--border-radius-medium);
  background: var(--neutral-color);
  box-shadow: var(--nm-shadow-large);
  padding: 2rem;
  transition: box-shadow var(--transition-medium);
}

.neomorph-box:hover {
  box-shadow: var(--nm-shadow-small);
}

.neomorph-card {
  border-radius: var(--border-radius-medium);
  background: var(--neutral-color);
  box-shadow: var(--nm-shadow-large);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.neomorph-card:hover {
  transform: translateY(-5px);
  box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.1), -15px -15px 30px rgba(255, 255, 255, 0.5);
}

.neomorph-card .card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.neomorph-modal {
  border-radius: var(--border-radius-large);
  overflow: hidden;
}

.neomorph-button {
  border-radius: 50px;
  background: linear-gradient(145deg, var(--primary-color), var(--primary-dark));
  color: white;
  font-weight: 500;
  padding: 0.75em 1.5em;
  border: none;
  box-shadow: var(--nm-shadow-small);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.neomorph-button:hover {
  transform: translateY(-2px);
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1), -8px -8px 16px rgba(255, 255, 255, 0.5);
  background: linear-gradient(145deg, var(--primary-light), var(--primary-color));
  color: white;
}

.neomorph-button:active {
  transform: translateY(0);
  box-shadow: var(--nm-shadow-inset);
}

.neomorph-button-light {
  border-radius: 50px;
  background: linear-gradient(145deg, var(--white), var(--neutral-dark));
  color: var(--text-color);
  font-weight: 500;
  padding: 0.75em 1.5em;
  border: none;
  box-shadow: var(--nm-shadow-small);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.neomorph-button-light:hover {
  transform: translateY(-2px);
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1), -8px -8px 16px rgba(255, 255, 255, 0.5);
  background: linear-gradient(145deg, var(--white), var(--neutral-color));
  color: var(--text-color);
}

.neomorph-button-small {
  padding: 0.5em 1em;
  font-size: 0.85rem;
}

.neomorph-input, .neomorph-textarea, .neomorph-select select {
  border-radius: var(--border-radius-medium);
  background: var(--neutral-color);
  border: none;
  box-shadow: var(--nm-shadow-inset);
  padding: 1em;
  transition: box-shadow var(--transition-fast);
}

.neomorph-input:focus, .neomorph-textarea:focus, .neomorph-select select:focus {
  outline: none;
  box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.1), inset -3px -3px 6px rgba(255, 255, 255, 0.5);
}

/* Header and Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-item {
  font-family: var(--heading-font);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.navbar-item:hover {
  color: var(--primary-color);
  background-color: transparent !important;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background: url(./image/about-5.jpg);
  background-size: cover;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero .title, .hero .subtitle, .hero p {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* About Section */
#about .title {
  margin-bottom: 1.5rem;
}

#about .image-container {
  height: 400px;
  box-shadow: var(--nm-shadow-large);
}

/* Services Section */
#services .card {
  height: 100%;
}

#services .card-image .image-container {
  height: 200px;
}

#services .card-content h3 {
  margin-top: 0;
}

/* Mission Section */
#mission .image-container {
  height: 400px;
  box-shadow: var(--nm-shadow-large);
}

#mission .value-item {
  margin-bottom: 1.5rem;
}

#mission .timeline {
  position: relative;
  margin-left: 20px;
}

#mission .timeline-item {
  display: flex;
  position: relative;
  margin-bottom: 1.5rem;
}

#mission .timeline-marker {
  position: absolute;
  top: 0;
  left: -20px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: var(--nm-shadow-small);
  z-index: 1;
}

#mission .timeline-content {
  margin-left: 15px;
}

#mission .timeline-content .heading {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

#mission .timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -13px;
  height: 100%;
  width: 2px;
  background: var(--primary-light);
}

/* Resources Section */
#resources .resource-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

/* Webinars Section */
#webinars .image-container {
  height: 350px;
}

#webinars .webinar-item {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--neutral-dark);
}

#webinars .webinar-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Pricing Section */
#pricing .pricing-card {
  position: relative;
  text-align: center;
}

#pricing .pricing-card.featured {
  transform: scale(1.05);
  z-index: 1;
}

#pricing .pricing-card.featured::before {
  content: 'DESTACADO';
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--secondary-color);
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-small);
  transform: rotate(15deg);
}

#pricing .pricing-card .card-image .image-container {
  height: 200px;
}

#pricing .price {
  color: var(--accent-color);
  font-weight: bold;
  margin-bottom: 1.5rem;
}

#pricing .features-list {
  list-style-type: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  text-align: left;
}

#pricing .features-list li {
  margin-bottom: 0.75rem;
  position: relative;
}

/* Events Section */
#events .events-container {
  margin-top: 2rem;
}

#events .event-card {
  display: flex;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}

#events .event-date {
  background: var(--primary-color);
  color: white;
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: var(--border-radius-small);
  margin-right: 1.5rem;
  flex-shrink: 0;
}

#events .event-date .day {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
}

#events .event-date .month {
  font-size: 0.9rem;
  text-transform: uppercase;
}

#events .event-content {
  flex-grow: 1;
}

/* Research Section */
#research .image-container {
  height: 400px;
}

#research .research-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#research .stat-item {
  text-align: center;
  padding: 1rem;
}

#research .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

#research .stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-color-light);
}

#research .research-papers {
  margin-top: 2rem;
}

#research .research-paper {
  margin-bottom: 1rem;
}

/* News Section */
#news .news-card {
  position: relative;
}

#news .news-date {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-small);
  font-size: 0.8rem;
  font-weight: 500;
}

#news .news-card .card-image .image-container {
  height: 200px;
}

/* Clientele Section */
#clientele .testimonial {
  margin-bottom: 2rem;
}

#clientele .testimonial-content {
  position: relative;
  padding: 1rem;
}

#clientele .testimonial-content p {
  font-style: italic;
}

#clientele .testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

#clientele .testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

#clientele .client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
}

#clientele .client-logos img {
  height: 60px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--transition-medium);
}

#clientele .client-logos img:hover {
  opacity: 1;
}

/* Contact Section */
#contact .contact-info {
  margin-top: 2rem;
}

#contact .contact-item {
  display: flex;
  margin-bottom: 1.5rem;
}

#contact .contact-item .icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: var(--primary-color);
}

#contact .contact-form {
  padding: 2rem;
}

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

.footer .title, .footer h4 {
  color: var(--white);
}

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

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

.footer-links a {
  color: var(--neutral-color);
  transition: color var(--transition-fast);
}

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

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

.social-links a {
  color: var(--neutral-color);
  padding: 0.5rem;
  transition: color var(--transition-fast);
}

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

.newsletter-form {
  margin-top: 1.5rem;
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.success-content {
  max-width: 600px;
}

/* Terms and Privacy Pages */
.terms-page, .privacy-page {
  padding-top: 100px;
  padding-bottom: 4rem;
}

/* Media Queries */
@media screen and (max-width: 768px) {
  h1.title.is-1 {
    font-size: 2.5rem;
  }
  
  h2.title.is-2 {
    font-size: 2rem;
  }
  
  #pricing .pricing-card.featured {
    transform: scale(1);
  }
  
  #events .event-card {
    flex-direction: column;
  }
  
  #events .event-date {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  #clientele .testimonial-author {
    flex-direction: column;
    text-align: center;
  }
  
  #clientele .testimonial-author img {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
  
  .footer {
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* Animations */
@keyframes bounceIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-bounce {
  animation: bounceIn 0.6s ease-out;
}

.animate-fade {
  animation: fadeInUp 0.5s ease-out;
}

/* Read More Links */
.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
  padding-right: 1.5rem;
  transition: padding var(--transition-fast);
}

.read-more::after {
  content: '→';
  position: absolute;
  right: 0;
  transition: transform var(--transition-medium);
}

.read-more:hover {
  padding-right: 2rem;
  color: var(--primary-dark);
}

.read-more:hover::after {
  transform: translateX(5px);
}

/* Accessibility */
.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;
}

/* Print styles */
@media print {
  .no-print {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .container {
    max-width: 100%;
    width: 100%;
  }
}
*{
  opacity: 1 !important;
}
img{
  transform: none !important;
}