/* Base CSS Variables */
:root {
  /* Neomorphic Triadic Color Scheme */
  --primary-color: #0055aa;
  --primary-dark: #003d7a;
  --primary-light: #2277cc;
  
  --secondary-color: #aa5500;
  --secondary-dark: #7a3d00;
  --secondary-light: #cc7722;
  
  --tertiary-color: #00aa55;
  --tertiary-dark: #007a3d;
  --tertiary-light: #22cc77;
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f5f7fa;
  --gray: #ced4da;
  --dark-gray: #495057;
  --black: #212529;
  
  /* Neomorphism */
  --nm-shadow-light: rgba(255, 255, 255, 0.7);
  --nm-shadow-dark: rgba(174, 174, 192, 0.2);
  --nm-bg-color: #f0f4f8;
  --nm-radius: 12px;
  
  /* Fonts */
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Rubik', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-normal: 0.5s ease;
  --transition-slow: 0.8s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  color: var(--black);
}

h1 {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
}

h2 {
  font-size: 2.5rem;
  position: relative;
  margin-bottom: var(--space-lg);
}

h2:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  position: absolute;
  bottom: -15px;
  left: 0;
}

h2.section-title {
  text-align: center;
}

h2.section-title:after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-sm);
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-sm);
}

/* Buttons */
.btn,
button,
input[type='submit'] {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--nm-radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 6px 6px 12px var(--nm-shadow-dark),
             -6px -6px 12px var(--nm-shadow-light);
}

.btn:hover,
button:hover,
input[type='submit']:hover {
  transform: translateY(-3px);
  box-shadow: 8px 8px 16px var(--nm-shadow-dark),
             -8px -8px 16px var(--nm-shadow-light);
}

.btn:active,
button:active,
input[type='submit']:active {
  transform: translateY(1px);
  box-shadow: 4px 4px 8px var(--nm-shadow-dark),
             -4px -4px 8px var(--nm-shadow-light);
}

.btn.primary,
button.primary,
input[type='submit'] {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn.primary:hover,
button.primary:hover,
input[type='submit']:hover {
  background-color: var(--primary-dark);
}

.btn.secondary,
button.secondary {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn.secondary:hover,
button.secondary:hover {
  background-color: var(--secondary-dark);
}

.btn.tertiary,
button.tertiary {
  background-color: var(--tertiary-color);
  color: var(--white);
}

.btn.tertiary:hover,
button.tertiary:hover {
  background-color: var(--tertiary-dark);
}

/* Header and Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: block;
}

.logo img {
  max-height: 60px;
}

.nav {
  display: flex;
  align-items: center;
}

.desktop-menu {
  display: flex;
}

.desktop-menu li {
  margin-left: var(--space-md);
}

.desktop-menu a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--dark-gray);
  position: relative;
}

.desktop-menu a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-fast);
}

.desktop-menu a:hover {
  color: var(--primary-color);
}

.desktop-menu a:hover:after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--dark-gray);
  transition: all var(--transition-fast);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--white);
  padding: var(--space-md) 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-menu li {
  margin-bottom: var(--space-sm);
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--dark-gray);
}

.mobile-menu a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  padding: var(--space-xl) 0;
  color: var(--white);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  margin-top: 80px; /* For fixed header */
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-md);
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: var(--space-md);
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--white);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.hero-buttons .btn {
  min-width: 150px;
}

/* About Section */
.about {
  padding: var(--space-xl) 0;
  background-color: var(--light-gray);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-lg);
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text p {
  margin-bottom: var(--space-md);
}

.about-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.about-image img {
  border-radius: var(--nm-radius);
  box-shadow: 10px 10px 20px var(--nm-shadow-dark),
             -10px -10px 20px var(--nm-shadow-light);
  object-fit: cover;
  width: 100%;
  max-width: 500px;
}

/* Process Section */
.process {
  padding: var(--space-xl) 0;
  background-color: var(--white);
}

.process-steps {
  margin-top: var(--space-lg);
}

.step {
  display: flex;
  margin-bottom: var(--space-lg);
  align-items: flex-start;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  opacity: 0.3;
  margin-right: var(--space-md);
  line-height: 1;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin-bottom: var(--space-sm);
  color: var(--primary-color);
}

/* Insights Section */
.insights {
  padding: var(--space-xl) 0;
  background-color: var(--light-gray);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.card {
  background-color: var(--white);
  border-radius: var(--nm-radius);
  overflow: hidden;
  box-shadow: 8px 8px 16px var(--nm-shadow-dark),
             -8px -8px 16px var(--nm-shadow-light);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card:hover {
  transform: translateY(-10px);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

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

.card-content {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-content h3 {
  margin-bottom: var(--space-sm);
  color: var(--primary-color);
}

.card-content p {
  margin-bottom: var(--space-md);
}

/* Recursos Externos Section */
.recursos-externos {
  padding: var(--space-xl) 0;
  background-color: var(--white);
}

.recursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

/* Contact Section */
.contact {
  padding: var(--space-xl) 0;
  background-color: var(--light-gray);
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-details {
  margin-top: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.contact-item i {
  margin-right: var(--space-sm);
  color: var(--primary-color);
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background-color: var(--white);
  border-radius: var(--nm-radius);
  padding: var(--space-lg);
  box-shadow: 8px 8px 16px var(--nm-shadow-dark),
             -8px -8px 16px var(--nm-shadow-light);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--gray);
  border-radius: var(--nm-radius);
  background-color: var(--light-gray);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 85, 170, 0.2);
}

/* Webinars Section */
.webinars {
  padding: var(--space-xl) 0;
  background-color: var(--white);
}

.slider-container {
  position: relative;
  margin-top: var(--space-lg);
  overflow: hidden;
}

.custom-slider {
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform var(--transition-normal);
}

.slide {
  min-width: 100%;
  padding: 0 var(--space-md);
}

.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: var(--space-md);
}

.slider-controls button {
  background-color: transparent;
  border: none;
  font-size: 1.5rem;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--primary-color);
  margin: 0 var(--space-xs);
  transition: color var(--transition-fast);
  box-shadow: none;
}

.slider-controls button:hover {
  color: var(--primary-dark);
}

.slider-pagination {
  display: flex;
  justify-content: center;
  margin-top: var(--space-sm);
}

.slider-pagination-item {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--gray);
  margin: 0 var(--space-xs);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.slider-pagination-item.active {
  background-color: var(--primary-color);
}

/* Awards Section */
.awards {
  padding: var(--space-xl) 0;
  background-color: var(--light-gray);
}

.awards-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.award-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-md);
  background-color: var(--white);
  border-radius: var(--nm-radius);
  box-shadow: 8px 8px 16px var(--nm-shadow-dark),
             -8px -8px 16px var(--nm-shadow-light);
  transition: transform var(--transition-normal);
}

.award-item:hover {
  transform: translateY(-5px);
}

.award-icon {
  width: 120px;
  height: 120px;
  margin-bottom: var(--space-sm);
}

.award-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0 auto;
}

.award-info h3 {
  margin-bottom: var(--space-xs);
  color: var(--primary-color);
}

/* Accolades Section */
.accolades {
  padding: var(--space-xl) 0;
  background-color: var(--white);
}

.testimonials {
  margin-top: var(--space-lg);
}

.testimonial {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  background-color: var(--light-gray);
  border-radius: var(--nm-radius);
  box-shadow: 8px 8px 16px var(--nm-shadow-dark),
             -8px -8px 16px var(--nm-shadow-light);
}

.testimonial-image {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  margin-right: var(--space-md);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 4px 4px 8px var(--nm-shadow-dark),
             -4px -4px 8px var(--nm-shadow-light);
}

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

.testimonial-content {
  flex: 1;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: var(--space-sm);
}

.testimonial-content h4 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

.testimonial-content span {
  color: var(--dark-gray);
  font-size: 0.9rem;
}

/* Community Section */
.community {
  padding: var(--space-xl) 0;
  background-color: var(--light-gray);
}

.community-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  align-items: center;
}

.community-text {
  flex: 1;
  min-width: 300px;
}

.community-gallery {
  flex: 1;
  min-width: 300px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-sm);
}

.gallery-item {
  height: 200px;
  border-radius: var(--nm-radius);
  overflow: hidden;
  box-shadow: 6px 6px 12px var(--nm-shadow-dark),
             -6px -6px 12px var(--nm-shadow-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: var(--space-lg) 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-lg);
}

.footer-logo {
  flex: 1;
  min-width: 200px;
}

.footer-logo img {
  margin-bottom: var(--space-sm);
}

.footer-logo p {
  font-style: italic;
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-column {
  flex: 1;
  min-width: 150px;
}

.footer-column h3 {
  color: var(--white);
  margin-bottom: var(--space-md);
  position: relative;
}

.footer-column h3:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 30px;
  height: 3px;
  background-color: var(--secondary-color);
}

.footer-column ul li {
  margin-bottom: var(--space-xs);
}

.footer-column a {
  color: var(--light-gray);
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--secondary-light);
  text-decoration: underline;
}

.footer-column span {
  font-weight: bold;
  color: var(--secondary-light);
}

.footer-social {
  flex: 1;
  min-width: 200px;
}

.footer-social h3 {
  color: var(--white);
  margin-bottom: var(--space-md);
  position: relative;
}

.footer-social h3:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 30px;
  height: 3px;
  background-color: var(--secondary-color);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.social-links a {
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--nm-radius);
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
  font-weight: 500;
}

.social-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  color: var(--white);
  text-decoration: none;
}

.footer-bottom {
  margin-top: var(--space-lg);
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg);
  background-color: var(--light-gray);
}

.success-content {
  max-width: 600px;
  padding: var(--space-lg);
  background-color: var(--white);
  border-radius: var(--nm-radius);
  box-shadow: 10px 10px 20px var(--nm-shadow-dark),
             -10px -10px 20px var(--nm-shadow-light);
}

/* Terms and Privacy Pages */
.terms-page,
.privacy-page {
  padding-top: 180px;
  padding-bottom: var(--space-lg);
}

.terms-content,
.privacy-content {
  background-color: var(--white);
  border-radius: var(--nm-radius);
  padding: var(--space-lg);
  box-shadow: 8px 8px 16px var(--nm-shadow-dark),
             -8px -8px 16px var(--nm-shadow-light);
}

/* Progress Indicator */
.progress-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.2);
}

.progress-bar {
  height: 100%;
  background-color: var(--secondary-color);
  width: 0;
  transition: width 0.3s ease;
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

.slide-up {
  animation: slideUp 1s ease forwards;
}

.slide-left {
  animation: slideLeft 1s ease forwards;
}

.slide-right {
  animation: slideRight 1s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideLeft {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideRight {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Media Queries */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1.25rem;
  }
  
  .step {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: var(--space-sm);
  }
  
  .testimonial {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-image {
    margin-right: 0;
    margin-bottom: var(--space-md);
  }
}

@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .about-content,
  .contact-wrapper,
  .community-content {
    flex-direction: column;
  }
  
  .about-image,
  .community-gallery {
    order: -1;
    margin-bottom: var(--space-md);
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-logo,
  .footer-links,
  .footer-social {
    width: 100%;
    margin-bottom: var(--space-lg);
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .awards-grid,
  .community-gallery {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
  }
  
  .footer-column {
    width: 100%;
    margin-bottom: var(--space-md);
  }
}
.mobile-menu-toggle{
  display: none;
}