:root {
  /* Primary Colors */
  --primary-color: #3a5a97;
  --primary-light: #4b6cad;
  --primary-dark: #2a4880;
  --primary-gradient: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  
  /* Secondary Colors */
  --secondary-color: #5c7db6;
  --secondary-light: #8faae2;
  --secondary-dark: #4d6ca1;
  
  /* Neutral Colors */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #2c3e50;
  --border-color: #e0e0e0;
  
  /* Accent Colors */
  --accent-color: #4dd0e1;
  --accent-light: #80deea;
  --accent-dark: #26c6da;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
}

p {
  margin-bottom: var(--spacing-md);
}

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;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xl) 0;
}

/* Buttons */
.button {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.button:active {
  transform: translateY(-1px);
}

.button.is-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}

.button.is-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.button.is-light {
  background-color: var(--text-light);
  color: var(--primary-color);
  border-color: var(--text-light);
}

.button.is-light:hover {
  background-color: var(--bg-light);
  border-color: var(--primary-light);
  color: var(--primary-dark);
}

.button.is-rounded {
  border-radius: var(--radius-full);
}

.button.is-large {
  font-size: 1.125rem;
  padding: 0.875rem 1.75rem;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

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

.navbar-brand h1 {
  margin-bottom: 0;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.navbar-menu {
  display: flex;
}

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

.navbar-item {
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  font-weight: 500;
  position: relative;
  transition: color var(--transition-fast);
}

.navbar-item:hover {
  color: var(--primary-color);
}

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

.navbar-item:hover::after {
  width: 70%;
}

.navbar-burger {
  display: none;
  cursor: pointer;
  width: 3.25rem;
  height: 3.25rem;
  position: relative;
  background-color: transparent;
  border: none;
}

.navbar-burger span {
  display: block;
  position: absolute;
  left: 50%;
  margin-left: -10px;
  width: 20px;
  height: 2px;
  background-color: var(--text-dark);
  transition: all var(--transition-normal);
}

.navbar-burger span:nth-child(1) {
  top: 17px;
}

.navbar-burger span:nth-child(2) {
  top: 24px;
}

.navbar-burger span:nth-child(3) {
  top: 31px;
}

.navbar-burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
  position: relative;
  color: var(--text-light);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
  padding: 6rem 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

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

.hero .title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero .subtitle {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero-foot {
  position: relative;
  z-index: 2;
  padding-bottom: 2rem;
}

.hero-foot .icon {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* Features Section */
.features-section {
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(58, 90, 151, 0.05);
  z-index: 0;
}

.features-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: rgba(58, 90, 151, 0.03);
  z-index: 0;
}

.feature-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 240px;
}

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

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

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

.card-content .title {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Methodology Section */
.methodology-section {
  position: relative;
  color: var(--text-light);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.methodology-section .title,
.methodology-section p {
  color: var(--text-light);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  z-index: 2;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-light);
  border: 4px solid var(--text-light);
  z-index: 3;
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: auto;
  margin-left: 0;
}

.timeline-content h3 {
  margin-bottom: 0.75rem;
}

/* Webinars Section */
.webinars-section {
  position: relative;
  background-color: var(--bg-light);
  overflow: hidden;
}

.webinar-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.webinar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.webinar-card .media {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.webinar-card .media-content {
  flex-grow: 1;
}

.webinar-card .title {
  color: var(--primary-color);
}

.webinar-card .subtitle {
  color: var(--text-dark);
  opacity: 0.7;
  font-size: 0.9rem;
}

.webinar-card .content {
  flex-grow: 1;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.tag {
  display: inline-block;
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  background-color: var(--primary-light);
  color: var(--text-light);
}

/* Research Section */
.research-section {
  position: relative;
  background-color: #f5f5f5;
  overflow: hidden;
}

.research-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.research-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.research-card .title {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* External Resources Section */
.external-resources-section {
  background-color: #f9f9f9;
}

.resource-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.resource-card .title {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.resource-card a {
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

.resource-card a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Contact Section */
.contact-section {
  position: relative;
  background-color: var(--bg-light);
  overflow: hidden;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.info-item .icon {
  margin-right: 1rem;
  width: 20px;
  color: var(--primary-color);
}

.contact-form-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.field {
  margin-bottom: 1.5rem;
}

.label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.control {
  position: relative;
}

.input, .textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: 'Lato', sans-serif;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(58, 90, 151, 0.2);
}

.has-icons-left .input {
  padding-left: 2.5rem;
}

.icon.is-left {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  color: #aaa;
}

.checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.checkbox input {
  margin-right: 0.5rem;
}

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

.footer .title {
  color: var(--text-light);
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
}

.social-links {
  margin-top: 1rem;
}

.social-links a {
  color: var(--text-light);
  margin-right: 1rem;
  transition: color var(--transition-fast);
}

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

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

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

.newsletter-form .input {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-light);
}

.newsletter-form .input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .input:focus {
  border-color: var(--accent-light);
  background-color: rgba(255, 255, 255, 0.15);
}

.copyright {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

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

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

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

/* Terms & Privacy Pages */
.terms-page, .privacy-page {
  padding-top: 100px;
}

.terms-content, .privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

/* Cookie Consent */
#cookieConsent {
  transition: opacity var(--transition-normal);
}

#acceptCookies {
  transition: background-color var(--transition-fast);
}

#acceptCookies:hover {
  background-color: #45a049;
}

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

.has-text-white {
  color: var(--text-light) !important;
}

.mb-6 {
  margin-bottom: 3rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 2rem;
}

.mt-6 {
  margin-top: 3rem;
}

.ml-4 {
  margin-left: 1.5rem;
}

.is-fullwidth {
  width: 100%;
}

/* Columns Layout */
.columns {
  display: flex;
  flex-wrap: wrap;
  margin-left: -1rem;
  margin-right: -1rem;
}

.column {
  flex: 1;
  padding: 1rem;
}

.is-one-quarter {
  flex: 0 0 25%;
  max-width: 25%;
}

.is-one-third {
  flex: 0 0 33.33333%;
  max-width: 33.33333%;
}

.is-half {
  flex: 0 0 50%;
  max-width: 50%;
}

.is-two-thirds {
  flex: 0 0 66.66667%;
  max-width: 66.66667%;
}

.is-full {
  flex: 0 0 100%;
  max-width: 100%;
}

.is-multiline {
  flex-wrap: wrap;
}

/* Media Queries */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow-md);
    padding: 1rem;
  }
  
  .navbar-menu.is-active {
    display: block;
  }
  
  .navbar-end {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .navbar-item {
    width: 100%;
    padding: 0.75rem 0;
  }
  
  .navbar-burger {
    display: block;
  }
  
  .column.is-one-quarter,
  .column.is-one-third,
  .column.is-half {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .timeline::before {
    left: 0;
  }
  
  .timeline-marker {
    left: 0;
  }
  
  .timeline-content {
    width: 90%;
    margin-left: 2rem;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 2rem;
  }
}

@media screen and (max-width: 767px) {
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
  
  .column.is-one-quarter,
  .column.is-one-third,
  .column.is-half,
  .column.is-two-thirds {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .timeline-content {
    width: 85%;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

[data-aos="custom-fade-in"] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="custom-fade-in"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="custom-slide-left"] {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="custom-slide-left"].aos-animate {
  opacity: 1;
  transform: translateX(0);
}

[data-aos="custom-slide-right"] {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="custom-slide-right"].aos-animate {
  opacity: 1;
  transform: translateX(0);
}

[data-aos="custom-scale-in"] {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="custom-scale-in"].aos-animate {
  opacity: 1;
  transform: scale(1);
}